code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/visibility_controller.h"
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/test_window_delegate.h"
#include "ui/aura/test/test_windows.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/visibility_controller_unittest.cc | C++ | unknown | 4,602 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/window_animations.h"
#include <math.h>
#include <memory>
#include "base/check_op.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_animations.cc | C++ | unknown | 26,957 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_CORE_WINDOW_ANIMATIONS_H_
#define UI_WM_CORE_WINDOW_ANIMATIONS_H_
#include "base/component_export.h"
#include "base/memory/raw_ptr.h"
#include "ui/compositor/sco... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_animations.h | C++ | unknown | 4,014 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/window_animations.h"
#include <memory>
#include "base/containers/contains.h"
#include "base/ranges/algorithm.h"
#include "base/time/time.h"
#include "ui/... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_animations_unittest.cc | C++ | unknown | 13,697 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/window_modality_controller.h"
#include <stddef.h>
#include <queue>
#include "base/ranges/algorithm.h"
#include "ui/aura/client/aura_constants.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_modality_controller.cc | C++ | unknown | 8,378 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_CORE_WINDOW_MODALITY_CONTROLLER_H_
#define UI_WM_CORE_WINDOW_MODALITY_CONTROLLER_H_
#include <vector>
#include "base/component_export.h"
#include "base/memory/r... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_modality_controller.h | C++ | unknown | 2,961 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/window_properties.h"
#include "ui/wm/core/window_animations.h"
DEFINE_EXPORTED_UI_CLASS_PROPERTY_TYPE(COMPONENT_EXPORT(UI_WM),
... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_properties.cc | C++ | unknown | 1,282 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_CORE_WINDOW_PROPERTIES_H_
#define UI_WM_CORE_WINDOW_PROPERTIES_H_
#include "base/component_export.h"
#include "base/time/time.h"
#include "ui/base/class_property... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_properties.h | C++ | unknown | 1,898 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/window_util.h"
#include "base/functional/bind.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/compositor/layer.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_util.cc | C++ | unknown | 9,020 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_CORE_WINDOW_UTIL_H_
#define UI_WM_CORE_WINDOW_UTIL_H_
#include <memory>
#include <utility>
#include <vector>
#include "base/component_export.h"
#include "base/f... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_util.h | C++ | unknown | 5,080 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/window_util.h"
#include <memory>
#include "base/functional/bind.h"
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/test_windows.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/window_util_unittest.cc | C++ | unknown | 3,661 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/wm_core_switches.h"
#include "base/command_line.h"
namespace wm {
namespace switches {
// If present animations are disabled.
const char kWindowAnimatio... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/wm_core_switches.cc | C++ | unknown | 413 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_CORE_WM_CORE_SWITCHES_H_
#define UI_WM_CORE_WM_CORE_SWITCHES_H_
#include "base/component_export.h"
#include "build/build_config.h"
namespace wm {
namespace swit... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/wm_core_switches.h | C++ | unknown | 719 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/core/wm_state.h"
#include "ui/events/platform/platform_event_source.h"
#include "ui/wm/core/capture_controller.h"
#include "ui/wm/core/transient_window_control... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/wm_state.cc | C++ | unknown | 1,083 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_CORE_WM_STATE_H_
#define UI_WM_CORE_WM_STATE_H_
#include <memory>
#include "base/component_export.h"
namespace wm {
class CaptureController;
class TransientWi... | Zhao-PengFei35/chromium_src_4 | ui/wm/core/wm_state.h | C++ | unknown | 900 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/public/activation_change_observer.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(wm::ActivationChangeObserve... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/activation_change_observer.cc | C++ | unknown | 952 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_ACTIVATION_CHANGE_OBSERVER_H_
#define UI_WM_PUBLIC_ACTIVATION_CHANGE_OBSERVER_H_
#include "base/observer_list_types.h"
#include "ui/wm/public/wm_public_ex... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/activation_change_observer.h | C++ | unknown | 2,812 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/public/activation_client.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(wm::ActivationClient*)
namespace wm... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/activation_client.cc | C++ | unknown | 1,316 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_ACTIVATION_CLIENT_H_
#define UI_WM_PUBLIC_ACTIVATION_CLIENT_H_
#include "ui/wm/public/wm_public_export.h"
namespace aura {
class Window;
}
namespace wm ... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/activation_client.h | C++ | unknown | 3,167 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/public/activation_delegate.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(wm::ActivationDelegate*)
namespac... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/activation_delegate.cc | C++ | unknown | 759 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_ACTIVATION_DELEGATE_H_
#define UI_WM_PUBLIC_ACTIVATION_DELEGATE_H_
#include "ui/wm/public/wm_public_export.h"
namespace aura {
class Window;
}
namespace... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/activation_delegate.h | C++ | unknown | 1,019 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/public/animation_host.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(wm::AnimationHost*)
namespace wm {
DE... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/animation_host.cc | C++ | unknown | 720 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_ANIMATION_HOST_H_
#define UI_WM_PUBLIC_ANIMATION_HOST_H_
#include "ui/wm/public/wm_public_export.h"
namespace aura {
class Window;
}
namespace gfx {
cla... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/animation_host.h | C++ | unknown | 1,487 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/public/scoped_tooltip_disabler.h"
#include "ui/aura/window.h"
#include "ui/wm/public/tooltip_client.h"
namespace wm {
ScopedTooltipDisabler::ScopedTooltipDis... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/scoped_tooltip_disabler.cc | C++ | unknown | 983 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_SCOPED_TOOLTIP_DISABLER_H_
#define UI_WM_PUBLIC_SCOPED_TOOLTIP_DISABLER_H_
#include "base/memory/raw_ptr.h"
#include "ui/aura/window_observer.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/scoped_tooltip_disabler.h | C++ | unknown | 1,350 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/public/tooltip_client.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
DEFINE_EXPORTED_UI_CLASS_PROPERTY_TYPE(WM_PUBLIC_EXPORT, wm::TooltipC... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/tooltip_client.cc | C++ | unknown | 1,613 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_TOOLTIP_CLIENT_H_
#define UI_WM_PUBLIC_TOOLTIP_CLIENT_H_
#include "ui/aura/window.h"
#include "ui/gfx/font.h"
#include "ui/wm/public/wm_public_export.h"
... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/tooltip_client.h | C++ | unknown | 2,819 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_TOOLTIP_OBSERVER_H_
#define UI_WM_PUBLIC_TOOLTIP_OBSERVER_H_
#include <string>
#include "base/observer_list_types.h"
#include "ui/wm/public/wm_public_exp... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/tooltip_observer.h | C++ | unknown | 1,331 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/public/window_move_client.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"
DEFINE_UI_CLASS_PROPERTY_TYPE(wm::WindowMoveClient*)
namespace w... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/window_move_client.cc | C++ | unknown | 735 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_
#define UI_WM_PUBLIC_WINDOW_MOVE_CLIENT_H_
#include "ui/gfx/geometry/vector2d.h"
#include "ui/wm/public/wm_public_export.h"
namespa... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/window_move_client.h | C++ | unknown | 1,644 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_PUBLIC_WM_PUBLIC_EXPORT_H_
#define UI_WM_PUBLIC_WM_PUBLIC_EXPORT_H_
// Defines WM_PUBLIC_EXPORT so that functionality implemented by the wm_public
// module can ... | Zhao-PengFei35/chromium_src_4 | ui/wm/public/wm_public_export.h | C | unknown | 865 |
include_rules = [
"+ui/aura",
"+ui/base/resource/resource_bundle.h",
"+ui/base/ui_base_paths.h",
"+ui/gl",
"+ui/platform_window",
"+ui/views",
]
specific_include_rules = {
"run_all_unittests\.cc": [
"+mojo/core/embedder",
]
}
| Zhao-PengFei35/chromium_src_4 | ui/wm/test/DEPS | Python | unknown | 247 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/path_service.h"
#include "base/test/la... | Zhao-PengFei35/chromium_src_4 | ui/wm/test/run_all_unittests.cc | C++ | unknown | 2,254 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/test/testing_cursor_client_observer.h"
namespace wm {
TestingCursorClientObserver::TestingCursorClientObserver()
: cursor_visibility_(false),
did_vi... | Zhao-PengFei35/chromium_src_4 | ui/wm/test/testing_cursor_client_observer.cc | C++ | unknown | 935 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_TEST_TESTING_CURSOR_CLIENT_OBSERVER_H_
#define UI_WM_TEST_TESTING_CURSOR_CLIENT_OBSERVER_H_
#include "ui/aura/client/cursor_client_observer.h"
#include "ui/base/... | Zhao-PengFei35/chromium_src_4 | ui/wm/test/testing_cursor_client_observer.h | C++ | unknown | 1,412 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/wm/test/wm_test_helper.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "build/build_config.h"
#include "ui/aura/client/default... | Zhao-PengFei35/chromium_src_4 | ui/wm/test/wm_test_helper.cc | C++ | unknown | 1,908 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WM_TEST_WM_TEST_HELPER_H_
#define UI_WM_TEST_WM_TEST_HELPER_H_
#include <memory>
#include "base/run_loop.h"
#include "ui/aura/client/window_parenting_client.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/wm/test/wm_test_helper.h | C++ | unknown | 1,684 |
include_rules = [
# Limit files that can depend on icu.
"-base/i18n",
"-third_party/icu",
]
specific_include_rules = {
"gurl_fuzzer.cc": [
"+base/i18n",
],
"url_(canon|idna)_icu(\.cc|_unittest\.cc)": [
"+base/i18n",
"+third_party/icu",
],
"run_all_unittests\.cc": [
"+mojo/core/embedder"... | Zhao-PengFei35/chromium_src_4 | url/DEPS | Python | unknown | 329 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/android/gurl_android.h"
#include <jni.h>
#include <cstdint>
#include <string>
#include <vector>
#include "base/android/jni_android.h"
#include "base/android/jn... | Zhao-PengFei35/chromium_src_4 | url/android/gurl_android.cc | C++ | unknown | 5,514 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_ANDROID_GURL_ANDROID_H_
#define URL_ANDROID_GURL_ANDROID_H_
#include <memory>
#include "base/android/scoped_java_ref.h"
#include "base/containers/span.h"
#include... | Zhao-PengFei35/chromium_src_4 | url/android/gurl_android.h | C++ | unknown | 1,065 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/test/icu_test_util.h"
#include "url/android/gurl_android.h"
#incl... | Zhao-PengFei35/chromium_src_4 | url/android/gurl_java_test_helper.cc | C++ | unknown | 2,503 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import android.os.SystemClock;
import android.text.TextUtils;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
im... | Zhao-PengFei35/chromium_src_4 | url/android/java/src/org/chromium/url/GURL.java | Java | unknown | 14,533 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import java.net.IDN;
/**
* This class is u... | Zhao-PengFei35/chromium_src_4 | url/android/java/src/org/chromium/url/IDNStringUtil.java | Java | unknown | 989 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.NativeMe... | Zhao-PengFei35/chromium_src_4 | url/android/java/src/org/chromium/url/Origin.java | Java | unknown | 3,576 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.NativeMe... | Zhao-PengFei35/chromium_src_4 | url/android/java/src/org/chromium/url/Parsed.java | Java | unknown | 6,785 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import java.net.URISyntaxException;
/**
* An API shim around GURL that mostly matches the java.net.URI API.
*
* @deprecated Please use GURL direc... | Zhao-PengFei35/chromium_src_4 | url/android/java/src/org/chromium/url/URI.java | Java | unknown | 1,556 |
include_rules = [
"+content/public/test/android",
]
| Zhao-PengFei35/chromium_src_4 | url/android/javatests/DEPS | Python | unknown | 54 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doThrow;
import androidx.test.filters.SmallTest;
import org.junit... | Zhao-PengFei35/chromium_src_4 | url/android/javatests/src/org/chromium/url/GURLJavaTest.java | Java | unknown | 12,628 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.NativeMe... | Zhao-PengFei35/chromium_src_4 | url/android/javatests/src/org/chromium/url/GURLJavaTestHelper.java | Java | unknown | 903 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doThrow;
import androidx.test.filters.SmallTest;
import org.junit... | Zhao-PengFei35/chromium_src_4 | url/android/javatests/src/org/chromium/url/JUnitTestGURLsTest.java | Java | unknown | 2,351 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import androidx.test.filters.SmallTest;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
i... | Zhao-PengFei35/chromium_src_4 | url/android/javatests/src/org/chromium/url/OriginJavaTest.java | Java | unknown | 3,181 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.NativeMethods;
/**
* Helpers for OriginJavaTest that need t... | Zhao-PengFei35/chromium_src_4 | url/android/javatests/src/org/chromium/url/OriginJavaTestHelper.java | Java | unknown | 614 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.annotation.Config;
import org.chromium.base.... | Zhao-PengFei35/chromium_src_4 | url/android/junit/src/org/chromium/url/ShadowGURLTest.java | Java | unknown | 2,672 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/origin.h"
#include <cstdint>
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/android/scoped_java_ref.h"
#include "base... | Zhao-PengFei35/chromium_src_4 | url/android/origin_android.cc | C++ | unknown | 3,234 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "url/gurl.h"
#include "url/j_test_jni_headers/OriginJavaTestHelper_jni.... | Zhao-PengFei35/chromium_src_4 | url/android/origin_java_test_helper.cc | C++ | unknown | 1,160 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/android/parsed_android.h"
#include <jni.h>
#include "base/android/jni_android.h"
#include "url/gurl_jni_headers/Parsed_jni.h"
using base::android::AttachCurren... | Zhao-PengFei35/chromium_src_4 | url/android/parsed_android.cc | C++ | unknown | 3,772 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_ANDROID_PARSED_ANDROID_H_
#define URL_ANDROID_PARSED_ANDROID_H_
#include "base/android/scoped_java_ref.h"
#include "url/third_party/mozilla/url_parse.h"
namespace... | Zhao-PengFei35/chromium_src_4 | url/android/parsed_android.h | C++ | unknown | 541 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <jni.h>
#include "base/android/base_jni_onload.h"
#include "base/android/jni_android.h"
extern "C" JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
base::an... | Zhao-PengFei35/chromium_src_4 | url/android/robolectric_test_main.cc | C++ | unknown | 500 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* A Helper class for JUnit tests to be able to use GURLs without ... | Zhao-PengFei35/chromium_src_4 | url/android/test/java/src/org/chromium/url/JUnitTestGURLs.java | Java | unknown | 9,900 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.url;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.chromium.url.GURL.Natives;
/**
* Shadow... | Zhao-PengFei35/chromium_src_4 | url/android/test/java/src/org/chromium/url/ShadowGURL.java | Java | unknown | 2,055 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/gurl.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include <ostream>
#include <utility>
#include "base/check_op.h"
#include "base/no_destructo... | Zhao-PengFei35/chromium_src_4 | url/gurl.cc | C++ | unknown | 17,725 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_GURL_H_
#define URL_GURL_H_
#include <stddef.h>
#include <iosfwd>
#include <memory>
#include <string>
#include "base/component_export.h"
#include "base/debug/ali... | Zhao-PengFei35/chromium_src_4 | url/gurl.h | C++ | unknown | 22,574 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_GURL_ABSTRACT_TESTS_H_
#define URL_GURL_ABSTRACT_TESTS_H_
// Test suite for tests that cover both url::Url and blink::SecurityUrl.
//
// AbstractUrlTest below abst... | Zhao-PengFei35/chromium_src_4 | url/gurl_abstract_tests.h | C++ | unknown | 5,351 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/at_exit.h"
#include "base/check_op.h"
#include "base/i18n/icu_util.h"
#include "base/no_destructor.h"
#include "url/gurl.h"
struct TestCase {
TestCase() { CHE... | Zhao-PengFei35/chromium_src_4 | url/gurl_fuzzer.cc | C++ | unknown | 3,155 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/gurl.h"
#include <stddef.h>
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include... | Zhao-PengFei35/chromium_src_4 | url/gurl_unittest.cc | C++ | unknown | 44,432 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_IPC_URL_IPC_EXPORT_H_
#define URL_IPC_URL_IPC_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(URL_IPC_IMPLEMENTATION)
#define URL_IPC_EXPORT... | Zhao-PengFei35/chromium_src_4 | url/ipc/url_ipc_export.h | C | unknown | 708 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/ipc/url_param_traits.h"
#include <string>
#include "base/pickle.h"
#include "url/gurl.h"
#include "url/url_constants.h"
namespace IPC {
void ParamTraits<GURL>... | Zhao-PengFei35/chromium_src_4 | url/ipc/url_param_traits.cc | C++ | unknown | 1,526 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_IPC_URL_PARAM_TRAITS_H_
#define URL_IPC_URL_PARAM_TRAITS_H_
#include <string>
#include "ipc/ipc_param_traits.h"
#include "url/gurl.h"
#include "url/ipc/url_ipc_ex... | Zhao-PengFei35/chromium_src_4 | url/ipc/url_param_traits.h | C++ | unknown | 805 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "ipc/ipc_message.h"
#include "ipc/ipc_message_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/ipc/url_pa... | Zhao-PengFei35/chromium_src_4 | url/ipc/url_param_traits_unittest.cc | C++ | unknown | 5,981 |
include_rules = [
"+mojo/public/cpp",
]
| Zhao-PengFei35/chromium_src_4 | url/mojom/DEPS | Python | unknown | 42 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/mojom/origin_mojom_traits.h"
#include "base/strings/string_piece.h"
namespace mojo {
// static
bool StructTraits<url::mojom::OriginDataView, url::Origin>::Read... | Zhao-PengFei35/chromium_src_4 | url/mojom/origin_mojom_traits.cc | C++ | unknown | 1,070 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_MOJOM_ORIGIN_MOJOM_TRAITS_H_
#define URL_MOJOM_ORIGIN_MOJOM_TRAITS_H_
#include "base/component_export.h"
#include "base/unguessable_token.h"
#include "mojo/public/... | Zhao-PengFei35/chromium_src_4 | url/mojom/origin_mojom_traits.h | C++ | unknown | 1,347 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/mojom/scheme_host_port_mojom_traits.h"
#include "base/strings/string_piece.h"
#include "url/mojom/scheme_host_port.mojom-shared.h"
#include "url/scheme_host_port... | Zhao-PengFei35/chromium_src_4 | url/mojom/scheme_host_port_mojom_traits.cc | C++ | unknown | 902 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_MOJOM_SCHEME_HOST_PORT_MOJOM_TRAITS_H_
#define URL_MOJOM_SCHEME_HOST_PORT_MOJOM_TRAITS_H_
#include "base/component_export.h"
#include "url/mojom/scheme_host_port.m... | Zhao-PengFei35/chromium_src_4 | url/mojom/scheme_host_port_mojom_traits.h | C++ | unknown | 962 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/mojom/scheme_host_port_mojom_traits.h"
#include <string>
#include "mojo/public/cpp/test_support/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#in... | Zhao-PengFei35/chromium_src_4 | url/mojom/scheme_host_port_mojom_traits_unittest.cc | C++ | unknown | 1,055 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/mojom/url_gurl_mojom_traits.h"
#include "url/url_constants.h"
namespace mojo {
// static
base::StringPiece StructTraits<url::mojom::UrlDataView, GURL>::url(
... | Zhao-PengFei35/chromium_src_4 | url/mojom/url_gurl_mojom_traits.cc | C++ | unknown | 986 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_MOJOM_URL_GURL_MOJOM_TRAITS_H_
#define URL_MOJOM_URL_GURL_MOJOM_TRAITS_H_
#include "base/component_export.h"
#include "base/strings/string_piece.h"
#include "mojo/... | Zhao-PengFei35/chromium_src_4 | url/mojom/url_gurl_mojom_traits.h | C++ | unknown | 722 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <utility>
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo... | Zhao-PengFei35/chromium_src_4 | url/mojom/url_gurl_mojom_traits_unittest.cc | C++ | unknown | 7,623 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/origin.h"
#include <stdint.h>
#include <algorithm>
#include <ostream>
#include <string>
#include <tuple>
#include <utility>
#include "base/base64.h"
#include "... | Zhao-PengFei35/chromium_src_4 | url/origin.cc | C++ | unknown | 15,884 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_ORIGIN_H_
#define URL_ORIGIN_H_
#include <stdint.h>
#include <memory>
#include <string>
#include "base/component_export.h"
#include "base/debug/alias.h"
#include... | Zhao-PengFei35/chromium_src_4 | url/origin.h | C++ | unknown | 20,880 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/origin_abstract_tests.h"
namespace url {
void ExpectParsedUrlsEqual(const GURL& a, const GURL& b) {
EXPECT_EQ(a, b);
const Parsed& a_parsed = a.parsed_for_p... | Zhao-PengFei35/chromium_src_4 | url/origin_abstract_tests.cc | C++ | unknown | 3,126 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_ORIGIN_ABSTRACT_TESTS_H_
#define URL_ORIGIN_ABSTRACT_TESTS_H_
#include <string>
#include <type_traits>
#include "base/containers/contains.h"
#include "base/string... | Zhao-PengFei35/chromium_src_4 | url/origin_abstract_tests.h | C++ | unknown | 20,948 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <stdint.h>
#include "base/memory/raw_ptr.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include... | Zhao-PengFei35/chromium_src_4 | url/origin_unittest.cc | C++ | unknown | 32,354 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/functional/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/perf_test_suite.h"
int main(int argc, char** argv) {
base::PerfTestS... | Zhao-PengFei35/chromium_src_4 | url/run_all_perftests.cc | C++ | unknown | 486 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "base/functional/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_io_thread.h"
#include "base/test/test_suite.h"
... | Zhao-PengFei35/chromium_src_4 | url/run_all_unittests.cc | C++ | unknown | 698 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/scheme_host_port.h"
#include <stdint.h>
#include <string.h>
#include <ostream>
#include <tuple>
#include "base/check_op.h"
#include "base/containers/contains.h... | Zhao-PengFei35/chromium_src_4 | url/scheme_host_port.cc | C++ | unknown | 8,811 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_SCHEME_HOST_PORT_H_
#define URL_SCHEME_HOST_PORT_H_
#include <stdint.h>
#include <string>
#include "base/component_export.h"
#include "base/strings/string_piece.... | Zhao-PengFei35/chromium_src_4 | url/scheme_host_port.h | C++ | unknown | 6,824 |
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/scheme_host_port.h"
#include <stddef.h>
#include <stdint.h>
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/url_util.h"
name... | Zhao-PengFei35/chromium_src_4 | url/scheme_host_port_unittest.cc | C++ | unknown | 11,119 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/url_canon.h"
#include "base/component_export.h"
namespace url {
template class EXPORT_TEMPLATE_DEFINE(COMPONENT_EXPORT(URL)) CanonOutputT<char>;
template class... | Zhao-PengFei35/chromium_src_4 | url/url_canon.cc | C++ | unknown | 416 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_URL_CANON_H_
#define URL_URL_CANON_H_
#include <stdlib.h>
#include <string.h>
#include "base/component_export.h"
#include "base/export_template.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | url/url_canon.h | C++ | unknown | 43,514 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Canonicalizers for random bits that aren't big enough for their own files.
#include <string.h>
#include "url/url_canon.h"
#include "url/url_canon_internal.h"
namespace ur... | Zhao-PengFei35/chromium_src_4 | url/url_canon_etc.cc | C++ | unknown | 17,142 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Functions for canonicalizing "filesystem:file:" URLs.
#include "url/url_canon.h"
#include "url/url_canon_internal.h"
#include "url/url_file.h"
#include "url/url_parse_inter... | Zhao-PengFei35/chromium_src_4 | url/url_canon_filesystemurl.cc | C++ | unknown | 5,458 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Functions for canonicalizing "file:" URLs.
#include "base/strings/string_piece.h"
#include "base/strings/string_util.h"
#include "url/url_canon.h"
#include "url/url_canon_i... | Zhao-PengFei35/chromium_src_4 | url/url_canon_fileurl.cc | C++ | unknown | 9,164 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/check.h"
#include "base/cpu_reduction_experiment.h"
#include "url/url_canon.h"
#include "url/url_canon_internal.h"
namespace url {
namespace {
// For referenc... | Zhao-PengFei35/chromium_src_4 | url/url_canon_host.cc | C++ | unknown | 19,247 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ICU-based character set converter.
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/memo... | Zhao-PengFei35/chromium_src_4 | url/url_canon_icu.cc | C++ | unknown | 4,042 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_URL_CANON_ICU_H_
#define URL_URL_CANON_ICU_H_
// ICU integration functions.
#include "base/compiler_specific.h"
#include "base/component_export.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | url/url_canon_icu.h | C++ | unknown | 1,241 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/url_canon_icu.h"
#include <stddef.h>
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_p... | Zhao-PengFei35/chromium_src_4 | url/url_canon_icu_unittest.cc | C++ | unknown | 5,265 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/url_canon_internal.h"
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#ifdef __SSE2__
#include <immintrin.h>
#elif defined(__aarch64__)
#include <arm_... | Zhao-PengFei35/chromium_src_4 | url/url_canon_internal.cc | C++ | unknown | 21,436 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_URL_CANON_INTERNAL_H_
#define URL_URL_CANON_INTERNAL_H_
// This file is intended to be included in another C++ file where the character
// types are defined. This ... | Zhao-PengFei35/chromium_src_4 | url/url_canon_internal.h | C++ | unknown | 20,268 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef URL_URL_CANON_INTERNAL_FILE_H_
#define URL_URL_CANON_INTERNAL_FILE_H_
// As with url_canon_internal.h, this file is intended to be included in
// another C++ file wher... | Zhao-PengFei35/chromium_src_4 | url/url_canon_internal_file.h | C++ | unknown | 5,582 |