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 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.ui.dragdrop; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import android...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/dragdrop/DragAndDropDelegateImplUnitTest.java
Java
unknown
26,269
// Copyright 2023 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.ui.dragdrop; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import st...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/dragdrop/DragEventDispatchHelperUnitTest.java
Java
unknown
8,278
// 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.ui.dragdrop; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.ch...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/dragdrop/DropDataAndroidUnitTest.java
Java
unknown
3,187
// 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.ui.dragdrop; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.verify; import android.net.Uri; import android.os.Bu...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/dragdrop/DropDataContentProviderTest.java
Java
unknown
2,800
// 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.ui.dragdrop; import static org.robolectric.Shadows.shadowOf; import android.database.Cursor; import android.net.Uri; import android.provider.OpenableColu...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/dragdrop/DropDataProviderImplTest.java
Java
unknown
11,426
// 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.ui.drawable; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import android.g...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/drawable/AnimationLooperTest.java
Java
unknown
2,639
// 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. package org.chromium.ui.drawable; import static org.junit.Assert.assertEquals; import static org.robolectric.Shadows.shadowOf; import android.graphics.drawable.AnimatedStateL...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/drawable/StateListDrawableBuilderTest.java
Java
unknown
1,949
// 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. package org.chromium.ui.modaldialog; import static junit.framework.Assert.assertFalse; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull;...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modaldialog/ModalDialogManagerTest.java
Java
unknown
27,746
// 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.ui.modaldialog; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modaldialog/PendingDialogContainerTest.java
Java
unknown
11,995
// 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. package org.chromium.ui.modelutil; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertThat; import static...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/LazyConstructionPropertyMcpTest.java
Java
unknown
6,434
// 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.ui.modelutil; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import s...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/ListModelBaseTest.java
Java
unknown
6,210
// 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.ui.modelutil; import android.text.TextUtils; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget.L...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/ModelListAdapterTest.java
Java
unknown
15,404
// 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.ui.modelutil; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.annotation.Config; import org.chrom...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/ModelListPropertyChangeFilterTest.java
Java
unknown
3,566
// 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.ui.modelutil; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import androidx.annotation.Nullable; imp...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/PropertyListModelTest.java
Java
unknown
7,612
// 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. package org.chromium.ui.modelutil; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.hamcrest.Matc...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/PropertyModelTest.java
Java
unknown
13,449
// 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. package org.chromium.ui.modelutil; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.verify; import stat...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/SimpleListObservableTest.java
Java
unknown
3,845
// 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.ui.modelutil; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import android.app.Activity; import android.view.View; ...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/modelutil/SimpleRecyclerViewAdapterTest.java
Java
unknown
6,066
// 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.ui.permissions; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/permissions/ActivityAndroidPermissionDelegateTest.java
Java
unknown
14,171
// 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.ui.resources.dynamics; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue;...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/resources/dynamics/BitmapDynamicResourceTest.java
Java
unknown
3,648
// 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.ui.resources.dynamics; import static org.junit.Assert.assertNotNull; import android.graphics.Bitmap; import android.graphics.Rect; import org.chromium.b...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/resources/dynamics/DynamicResourceTestUtils.java
Java
unknown
1,940
// 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.ui.resources.dynamics; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEq...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/resources/dynamics/ViewResourceAdapterTest.java
Java
unknown
10,305
// 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. package org.chromium.ui.shadows; import android.graphics.drawable.AnimatedStateListDrawable; import android.graphics.drawable.Drawable; import org.robolectric.annotation.Impl...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/shadows/ShadowAnimatedStateListDrawable.java
Java
unknown
630
// 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. package org.chromium.ui.shadows; import android.content.Context; import android.content.res.ColorStateList; import android.graphics.drawable.Drawable; import androidx.annotat...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/shadows/ShadowAppCompatResources.java
Java
unknown
1,240
// 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. package org.chromium.ui.shadows; import static org.junit.Assert.assertEquals; import static org.robolectric.Shadows.shadowOf; import android.graphics.drawable.Drawable; impo...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/shadows/ShadowAppCompatResourcesTest.java
Java
unknown
1,123
// 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. package org.chromium.ui.shadows; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx....
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/shadows/ShadowAsyncLayoutInflater.java
Java
unknown
1,404
// 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.ui.shadows; import android.content.Context; import org.robolectric.annotation.Implementation; import org.robolectric.annotation.Implements; import org.c...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/shadows/ShadowColorUtils.java
Java
unknown
630
// 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.ui.text; import android.text.SpannableString; import android.text.style.BulletSpan; import android.text.style.QuoteSpan; import android.text.style.ScaleXS...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/text/SpanApplierTest.java
Java
unknown
8,191
// 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. package org.chromium.ui.util; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.clearInvocations; import...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/util/TokenHolderTest.java
Java
unknown
2,054
// 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. package org.chromium.ui.widget; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import stat...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/widget/AnchoredPopupWindowTest.java
Java
unknown
35,191
// 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.ui.widget; import android.app.Activity; import android.view.View; import android.widget.FrameLayout; import androidx.test.filters.SmallTest; import org....
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/widget/LoadingViewTest.java
Java
unknown
6,038
// Copyright 2023 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.ui.widget; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.mockito.Mockito.clearInvocations; im...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/widget/ToastManagerTest.java
Java
unknown
8,325
// Copyright 2023 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.ui.widget; import static org.junit.Assert.assertEquals; import android.content.Context; import androidx.test.core.app.ApplicationProvider; import org.j...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/widget/ToastTest.java
Java
unknown
1,313
// 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.ui.widget; import static org.junit.Assert.assertEquals; import android.content.Context; import android.view.View; import android.view.ViewGroup; import a...
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/widget/ViewLookupCachingFrameLayoutTest.java
Java
unknown
5,981
// 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.ui.widget; import android.app.Activity; import android.graphics.Rect; import android.view.View; import android.view.View.MeasureSpec; import android.view....
Zhao-PengFei35/chromium_src_4
ui/android/junit/src/org/chromium/ui/widget/ViewRectProviderTest.java
Java
unknown
6,818
// 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/android/overscroll_glow.h" #include <stddef.h> #include "cc/slim/layer.h" #include "ui/android/edge_effect.h" #include "ui/android/window_android_compositor.h" ...
Zhao-PengFei35/chromium_src_4
ui/android/overscroll_glow.cc
C++
unknown
8,364
// 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_ANDROID_OVERSCROLL_GLOW_H_ #define UI_ANDROID_OVERSCROLL_GLOW_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "base/memory/scoped_refptr.h" #include...
Zhao-PengFei35/chromium_src_4
ui/android/overscroll_glow.h
C++
unknown
4,110
// 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/android/overscroll_refresh.h" #include <ostream> #include "base/check.h" #include "base/notreached.h" #include "cc/input/overscroll_behavior.h" #include "ui/andr...
Zhao-PengFei35/chromium_src_4
ui/android/overscroll_refresh.cc
C++
unknown
5,245
// 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_ANDROID_OVERSCROLL_REFRESH_H_ #define UI_ANDROID_OVERSCROLL_REFRESH_H_ #include "base/memory/raw_ptr.h" #include "ui/android/ui_android_export.h" #include "ui/gfx/g...
Zhao-PengFei35/chromium_src_4
ui/android/overscroll_refresh.h
C++
unknown
3,994
// 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/android/overscroll_refresh_handler.h" #include "base/android/jni_android.h" #include "ui/android/ui_android_jni_headers/OverscrollRefreshHandler_jni.h" using bas...
Zhao-PengFei35/chromium_src_4
ui/android/overscroll_refresh_handler.cc
C++
unknown
1,667
// 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_ANDROID_OVERSCROLL_REFRESH_HANDLER_H_ #define UI_ANDROID_OVERSCROLL_REFRESH_HANDLER_H_ #include "base/android/scoped_java_ref.h" #include "ui/android/overscroll_ref...
Zhao-PengFei35/chromium_src_4
ui/android/overscroll_refresh_handler.h
C++
unknown
1,611
// 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/android/overscroll_refresh.h" #include "base/android/scoped_java_ref.h" #include "cc/input/overscroll_behavior.h" #include "testing/gtest/include/gtest/gtest.h" #i...
Zhao-PengFei35/chromium_src_4
ui/android/overscroll_refresh_unittest.cc
C++
unknown
10,709
// 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 "ui/android/resources/nine_patch_resource.h" #include "ui/gfx/geometry/point_f.h" namespace ui { // static NinePatchResource* NinePatchResource::From(Resource* reso...
Zhao-PengFei35/chromium_src_4
ui/android/resources/nine_patch_resource.cc
C++
unknown
2,540
// 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_ANDROID_RESOURCES_NINE_PATCH_RESOURCE_H_ #define UI_ANDROID_RESOURCES_NINE_PATCH_RESOURCE_H_ #include "ui/android/resources/resource.h" #include "ui/android/ui_andr...
Zhao-PengFei35/chromium_src_4
ui/android/resources/nine_patch_resource.h
C++
unknown
1,833
// 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 "ui/android/resources/resource.h" #include "base/trace_event/memory_usage_estimator.h" namespace ui { Resource::Resource() : Resource(Type::BITMAP) {} Resource::Re...
Zhao-PengFei35/chromium_src_4
ui/android/resources/resource.cc
C++
unknown
812
// 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_ANDROID_RESOURCES_RESOURCE_H_ #define UI_ANDROID_RESOURCES_RESOURCE_H_ #include "cc/resources/scoped_ui_resource.h" #include "third_party/skia/include/core/SkBitmap...
Zhao-PengFei35/chromium_src_4
ui/android/resources/resource.h
C++
unknown
1,182
// 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 "ui/android/resources/nine_patch_resource.h" #include "ui/android/ui_android_jni_headers/ResourceFactory_jni.h" #include "ui/gfx/geometry/rect.h" using base::android:...
Zhao-PengFei35/chromium_src_4
ui/android/resources/resource_factory.cc
C++
unknown
1,124
// 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_ANDROID_RESOURCES_RESOURCE_MANAGER_H_ #define UI_ANDROID_RESOURCES_RESOURCE_MANAGER_H_ #include "base/android/jni_android.h" #include "cc/resources/scoped_ui_resour...
Zhao-PengFei35/chromium_src_4
ui/android/resources/resource_manager.h
C++
unknown
3,033
// 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/android/resources/resource_manager_impl.h" #include <inttypes.h> #include <stddef.h> #include <utility> #include <vector> #include "base/android/jni_array.h" #i...
Zhao-PengFei35/chromium_src_4
ui/android/resources/resource_manager_impl.cc
C++
unknown
11,343
// 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_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ #define UI_ANDROID_RESOURCES_RESOURCE_MANAGER_IMPL_H_ #include <memory> #include <unordered_map> #include <unordered_set>...
Zhao-PengFei35/chromium_src_4
ui/android/resources/resource_manager_impl.h
C++
unknown
3,910
// 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 <stddef.h> #include "base/memory/raw_ptr.h" #include "base/test/task_environment.h" #include "base/trace_event/memory_dump_manager.h" #include "base/trace_event/proce...
Zhao-PengFei35/chromium_src_4
ui/android/resources/resource_manager_impl_unittest.cc
C++
unknown
5,424
// 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_ANDROID_RESOURCES_SYSTEM_UI_RESOURCE_TYPE_H_ #define UI_ANDROID_RESOURCES_SYSTEM_UI_RESOURCE_TYPE_H_ namespace ui { // A Java counterpart will be generated for thi...
Zhao-PengFei35/chromium_src_4
ui/android/resources/system_ui_resource_type.h
C++
unknown
516
// 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_ANDROID_RESOURCES_UI_RESOURCE_PROVIDER_H_ #define UI_ANDROID_RESOURCES_UI_RESOURCE_PROVIDER_H_ #include "cc/resources/ui_resource_client.h" #include "ui/android/ui_...
Zhao-PengFei35/chromium_src_4
ui/android/resources/ui_resource_provider.h
C++
unknown
737
// 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 "base/android/jni_android.h" #include "base/compiler_specific.h" #include "base/files/file_path.h" #include "base/functional/bind.h" #include "base/test/launcher/unit_...
Zhao-PengFei35/chromium_src_4
ui/android/run_all_unittests.cc
C++
unknown
1,318
// 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_ANDROID_SCREEN_ANDROID_H_ #define UI_ANDROID_SCREEN_ANDROID_H_ #include <jni.h> #include "ui/android/ui_android_export.h" namespace ui { UI_ANDROID_EXPORT void Se...
Zhao-PengFei35/chromium_src_4
ui/android/screen_android.h
C++
unknown
437
// Copyright 2023 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/android/ui_android_jni_headers/ToastManager_jni.h" #include "ui/base/ui_base_features.h" namespace ui { jboolean JNI_ToastManager_IsEnabled(JNIEnv* env) { retu...
Zhao-PengFei35/chromium_src_4
ui/android/toast_manager.cc
C++
unknown
402
// 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_ANDROID_UI_ANDROID_EXPORT_H_ #define UI_ANDROID_UI_ANDROID_EXPORT_H_ // Defines UI_ANDROID_EXPORT so that functionality implemented by the UI module // can be expor...
Zhao-PengFei35/chromium_src_4
ui/android/ui_android_export.h
C
unknown
722
// Copyright 2023 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/android/jni_string.h" #include "base/feature_list.h" #include "base/notreached.h" #include "ui/android/ui_android_features.h" #include "ui/android/ui_android_jni...
Zhao-PengFei35/chromium_src_4
ui/android/ui_android_feature_list.cc
C++
unknown
1,473
// Copyright 2023 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/android/ui_android_features.h" namespace ui { BASE_FEATURE(kConvertTrackpadEventsToMouse, "ConvertTrackpadEventsToMouse", base::FEATURE_...
Zhao-PengFei35/chromium_src_4
ui/android/ui_android_features.cc
C++
unknown
361
// Copyright 2023 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_ANDROID_UI_ANDROID_FEATURES_H_ #define UI_ANDROID_UI_ANDROID_FEATURES_H_ #include "base/feature_list.h" #include "ui/android/ui_android_export.h" namespace ui { /...
Zhao-PengFei35/chromium_src_4
ui/android/ui_android_features.h
C++
unknown
644
// 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/android/view_android.h" #include <cmath> #include <utility> #include "base/android/jni_android.h" #include "base/android/jni_string.h" #include "base/containers/...
Zhao-PengFei35/chromium_src_4
ui/android/view_android.cc
C++
unknown
24,323
// 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_ANDROID_VIEW_ANDROID_H_ #define UI_ANDROID_VIEW_ANDROID_H_ #include <list> #include <memory> #include "base/android/jni_array.h" #include "base/android/jni_weak_re...
Zhao-PengFei35/chromium_src_4
ui/android/view_android.h
C++
unknown
12,310
// 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_ANDROID_VIEW_ANDROID_OBSERVER_H_ #define UI_ANDROID_VIEW_ANDROID_OBSERVER_H_ #include "ui/android/ui_android_export.h" namespace ui { class UI_ANDROID_EXPORT View...
Zhao-PengFei35/chromium_src_4
ui/android/view_android_observer.h
C++
unknown
903
// 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 "ui/android/view_android.h" #include "base/test/gtest_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/android/event_forwarder.h" #include "ui/andro...
Zhao-PengFei35/chromium_src_4
ui/android/view_android_unittest.cc
C++
unknown
10,700
// 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/android/window_android.h" #include <utility> #include <vector> #include "base/android/jni_android.h" #include "base/android/jni_array.h" #include "base/android/j...
Zhao-PengFei35/chromium_src_4
ui/android/window_android.cc
C++
unknown
9,976
// 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_ANDROID_WINDOW_ANDROID_H_ #define UI_ANDROID_WINDOW_ANDROID_H_ #include <jni.h> #include <memory> #include <string> #include "base/android/jni_weak_ref.h" #include...
Zhao-PengFei35/chromium_src_4
ui/android/window_android.h
C++
unknown
5,419
// 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 UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ #define UI_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ #include <memory> #include "components/viz/common/frame_sinks/copy_output_requ...
Zhao-PengFei35/chromium_src_4
ui/android/window_android_compositor.h
C++
unknown
2,541
// 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_ANDROID_WINDOW_ANDROID_OBSERVER_H_ #define UI_ANDROID_WINDOW_ANDROID_OBSERVER_H_ #include "ui/android/ui_android_export.h" namespace ui { class UI_ANDROID_EXPORT ...
Zhao-PengFei35/chromium_src_4
ui/android/window_android_observer.h
C++
unknown
977
include_rules = [ "+cc/base", "+cc/metrics/custom_metrics_recorder.h", "+cc/metrics/events_metrics_manager.h", "+cc/mojo_embedder", # TODO(danakj): This should not use LayerTreeFrameSink, which is part of the # layer compositor. It should use CompositorFrameSink instead. "+cc/trees/layer_tree_frame_sink.h...
Zhao-PengFei35/chromium_src_4
ui/aura/DEPS
Python
unknown
981
// Copyright 2011 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_AURA_AURA_EXPORT_H_ #define UI_AURA_AURA_EXPORT_H_ // Defines AURA_EXPORT so that functionality implemented by the aura module // can be exported to consumers. #if...
Zhao-PengFei35/chromium_src_4
ui/aura/aura_export.h
C
unknown
785
// 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/aura/client/aura_constants.h" #include "ui/base/class_property.h" #include "ui/base/owned_window_anchor.h" #include "ui/base/ui_base_types.h" #include "ui/display...
Zhao-PengFei35/chromium_src_4
ui/aura/client/aura_constants.cc
C++
unknown
5,214
// 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_AURA_CLIENT_AURA_CONSTANTS_H_ #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ #include <string> #include <vector> #include "third_party/skia/include/core/SkColor.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/aura/client/aura_constants.h
C++
unknown
9,765
// 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/aura/client/capture_client.h" #include "ui/aura/window.h" #include "ui/aura/window_event_dispatcher.h" #include "ui/base/class_property.h" DEFINE_UI_CLASS_PROPER...
Zhao-PengFei35/chromium_src_4
ui/aura/client/capture_client.cc
C++
unknown
1,072
// 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_AURA_CLIENT_CAPTURE_CLIENT_H_ #define UI_AURA_CLIENT_CAPTURE_CLIENT_H_ #include "ui/aura/aura_export.h" namespace aura { class Window; namespace client { class C...
Zhao-PengFei35/chromium_src_4
ui/aura/client/capture_client.h
C++
unknown
2,231
// 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_AURA_CLIENT_CAPTURE_CLIENT_OBSERVER_H_ #define UI_AURA_CLIENT_CAPTURE_CLIENT_OBSERVER_H_ #include "ui/aura/aura_export.h" namespace aura { class Window; namespace...
Zhao-PengFei35/chromium_src_4
ui/aura/client/capture_client_observer.h
C++
unknown
689
// 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_AURA_CLIENT_CAPTURE_DELEGATE_H_ #define UI_AURA_CLIENT_CAPTURE_DELEGATE_H_ #include "ui/aura/aura_export.h" namespace aura { class Window; namespace client { // T...
Zhao-PengFei35/chromium_src_4
ui/aura/client/capture_delegate.h
C++
unknown
1,181
// 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/aura/client/cursor_client.h" #include "ui/aura/window.h" #include "ui/base/class_property.h" DEFINE_UI_CLASS_PROPERTY_TYPE(aura::client::CursorClient*) namespac...
Zhao-PengFei35/chromium_src_4
ui/aura/client/cursor_client.cc
C++
unknown
740
// 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_AURA_CLIENT_CURSOR_CLIENT_H_ #define UI_AURA_CLIENT_CURSOR_CLIENT_H_ #include "ui/aura/aura_export.h" #include "ui/base/cursor/cursor.h" #include "ui/gfx/native_wid...
Zhao-PengFei35/chromium_src_4
ui/aura/client/cursor_client.h
C++
unknown
3,707
// 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. // Added to make sure that something is built in aura with this // include so that the symbol CursorClientObserver is exported. #include "ui/aura/client/cursor_client_observer....
Zhao-PengFei35/chromium_src_4
ui/aura/client/cursor_client_observer.cc
C++
unknown
323
// 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_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ #define UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ #include "ui/aura/aura_export.h" #include "ui/base/cursor/cursor.h" namespac...
Zhao-PengFei35/chromium_src_4
ui/aura/client/cursor_client_observer.h
C++
unknown
1,033
// 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 "ui/aura/client/cursor_shape_client.h" #include "base/check.h" #include "ui/aura/env.h" namespace aura::client { CursorShapeClient::~CursorShapeClient() = default; ...
Zhao-PengFei35/chromium_src_4
ui/aura/client/cursor_shape_client.cc
C++
unknown
709
// 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_AURA_CLIENT_CURSOR_SHAPE_CLIENT_H_ #define UI_AURA_CLIENT_CURSOR_SHAPE_CLIENT_H_ #include "third_party/abseil-cpp/absl/types/optional.h" #include "ui/aura/aura_expo...
Zhao-PengFei35/chromium_src_4
ui/aura/client/cursor_shape_client.h
C++
unknown
869
// 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/aura/client/default_capture_client.h" #include "base/observer_list.h" #include "ui/aura/client/capture_client_observer.h" #include "ui/aura/env.h" #include "ui/au...
Zhao-PengFei35/chromium_src_4
ui/aura/client/default_capture_client.cc
C++
unknown
2,518
// 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_AURA_CLIENT_DEFAULT_CAPTURE_CLIENT_H_ #define UI_AURA_CLIENT_DEFAULT_CAPTURE_CLIENT_H_ #include "base/memory/raw_ptr.h" #include "base/observer_list.h" #include "ui...
Zhao-PengFei35/chromium_src_4
ui/aura/client/default_capture_client.h
C++
unknown
1,353
// 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/aura/client/drag_drop_client.h" #include "ui/aura/window.h" #include "ui/base/class_property.h" DEFINE_UI_CLASS_PROPERTY_TYPE(aura::client::DragDropClient*) nam...
Zhao-PengFei35/chromium_src_4
ui/aura/client/drag_drop_client.cc
C++
unknown
966
// 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_AURA_CLIENT_DRAG_DROP_CLIENT_H_ #define UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_ #include <memory> #include "ui/aura/aura_export.h" #include "ui/base/dragdrop/mojom/drag...
Zhao-PengFei35/chromium_src_4
ui/aura/client/drag_drop_client.h
C++
unknown
2,387
// 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_AURA_CLIENT_DRAG_DROP_CLIENT_OBSERVER_H_ #define UI_AURA_CLIENT_DRAG_DROP_CLIENT_OBSERVER_H_ #include "build/chromeos_buildflags.h" #include "ui/aura/aura_export.h"...
Zhao-PengFei35/chromium_src_4
ui/aura/client/drag_drop_client_observer.h
C++
unknown
2,624
// 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/aura/client/drag_drop_delegate.h" #include "ui/base/class_property.h" #include "ui/base/dragdrop/mojom/drag_drop_types.mojom-shared.h" DEFINE_EXPORTED_UI_CLASS_P...
Zhao-PengFei35/chromium_src_4
ui/aura/client/drag_drop_delegate.cc
C++
unknown
1,164
// 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_AURA_CLIENT_DRAG_DROP_DELEGATE_H_ #define UI_AURA_CLIENT_DRAG_DROP_DELEGATE_H_ #include <memory> #include "base/functional/callback.h" #include "ui/aura/aura_expor...
Zhao-PengFei35/chromium_src_4
ui/aura/client/drag_drop_delegate.h
C++
unknown
3,234
// 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/aura/client/event_client.h" #include "ui/aura/window.h" #include "ui/aura/window_event_dispatcher.h" #include "ui/base/class_property.h" DEFINE_UI_CLASS_PROPERTY...
Zhao-PengFei35/chromium_src_4
ui/aura/client/event_client.cc
C++
unknown
925
// 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_AURA_CLIENT_EVENT_CLIENT_H_ #define UI_AURA_CLIENT_EVENT_CLIENT_H_ #include "ui/aura/aura_export.h" namespace ui { class EventTarget; } namespace aura { class Win...
Zhao-PengFei35/chromium_src_4
ui/aura/client/event_client.h
C++
unknown
1,072
// 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/aura/client/focus_change_observer.h" #include "ui/aura/window.h" #include "ui/base/class_property.h" DEFINE_UI_CLASS_PROPERTY_TYPE(aura::client::FocusChangeObser...
Zhao-PengFei35/chromium_src_4
ui/aura/client/focus_change_observer.cc
C++
unknown
959
// 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_AURA_CLIENT_FOCUS_CHANGE_OBSERVER_H_ #define UI_AURA_CLIENT_FOCUS_CHANGE_OBSERVER_H_ #include "base/observer_list_types.h" #include "ui/aura/aura_export.h" namespa...
Zhao-PengFei35/chromium_src_4
ui/aura/client/focus_change_observer.h
C++
unknown
989
// 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/aura/client/focus_client.h" #include "ui/aura/client/aura_constants.h" #include "ui/aura/window_event_dispatcher.h" #include "ui/base/class_property.h" namespace...
Zhao-PengFei35/chromium_src_4
ui/aura/client/focus_client.cc
C++
unknown
864
// 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_AURA_CLIENT_FOCUS_CLIENT_H_ #define UI_AURA_CLIENT_FOCUS_CLIENT_H_ #include "ui/aura/aura_export.h" #include "ui/aura/window.h" namespace aura { namespace client {...
Zhao-PengFei35/chromium_src_4
ui/aura/client/focus_client.h
C++
unknown
1,356
// 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/aura/client/screen_position_client.h" #include "ui/base/class_property.h" #include "ui/gfx/geometry/point_conversions.h" DEFINE_UI_CLASS_PROPERTY_TYPE(aura::clie...
Zhao-PengFei35/chromium_src_4
ui/aura/client/screen_position_client.cc
C++
unknown
2,365
// 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_AURA_CLIENT_SCREEN_POSITION_CLIENT_H_ #define UI_AURA_CLIENT_SCREEN_POSITION_CLIENT_H_ #include "ui/aura/aura_export.h" #include "ui/aura/window.h" namespace gfx {...
Zhao-PengFei35/chromium_src_4
ui/aura/client/screen_position_client.h
C++
unknown
2,985
// 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 "ui/aura/client/screen_position_client.h" #include <memory> #include "ui/aura/test/aura_test_base.h" #include "ui/gfx/geometry/transform.h" namespace aura { namespa...
Zhao-PengFei35/chromium_src_4
ui/aura/client/screen_position_client_unittest.cc
C++
unknown
2,300
// 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/aura/client/transient_window_client.h" namespace aura { namespace client { namespace { TransientWindowClient* g_transient_window_client_instance = nullptr; } ...
Zhao-PengFei35/chromium_src_4
ui/aura/client/transient_window_client.cc
C++
unknown
591
// 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_AURA_CLIENT_TRANSIENT_WINDOW_CLIENT_H_ #define UI_AURA_CLIENT_TRANSIENT_WINDOW_CLIENT_H_ #include <vector> #include "ui/aura/aura_export.h" namespace aura { clas...
Zhao-PengFei35/chromium_src_4
ui/aura/client/transient_window_client.h
C++
unknown
1,930
// 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_AURA_CLIENT_TRANSIENT_WINDOW_CLIENT_OBSERVER_H_ #define UI_AURA_CLIENT_TRANSIENT_WINDOW_CLIENT_OBSERVER_H_ #include "ui/aura/aura_export.h" namespace aura { class...
Zhao-PengFei35/chromium_src_4
ui/aura/client/transient_window_client_observer.h
C++
unknown
1,154