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 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/views/test/test_views.h"
#include "ui/events/event.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/widget/native_widget_private.h"
#include "ui/view... | Zhao-PengFei35/chromium_src_4 | ui/views/test/test_views.cc | C++ | unknown | 3,242 |
// 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_VIEWS_TEST_TEST_VIEWS_H_
#define UI_VIEWS_TEST_TEST_VIEWS_H_
#include <map>
#include <memory>
#include "ui/events/types/event_type.h"
#include "ui/views/view.h"
n... | Zhao-PengFei35/chromium_src_4 | ui/views/test/test_views.h | C++ | unknown | 4,045 |
// 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_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
#define UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/test/test_views_delegate.h | C++ | unknown | 2,673 |
// 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/views/test/test_views_delegate.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/views/buildflags.h"
#if BUILDFLAG(ENABLE_DE... | Zhao-PengFei35/chromium_src_4 | ui/views/test/test_views_delegate_aura.cc | C++ | unknown | 1,409 |
// 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/views/test/test_views_delegate.h"
#include "ui/views/widget/native_widget_mac.h"
namespace views {
TestViewsDelegate::TestViewsDelegate() = default;
TestViewsD... | Zhao-PengFei35/chromium_src_4 | ui/views/test/test_views_delegate_mac.mm | Objective-C++ | unknown | 1,060 |
// 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/views/test/test_widget_observer.h"
#include "base/check_op.h"
#include "ui/views/widget/widget.h"
namespace views::test {
TestWidgetObserver::TestWidgetObserver... | Zhao-PengFei35/chromium_src_4 | ui/views/test/test_widget_observer.cc | C++ | unknown | 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.
#ifndef UI_VIEWS_TEST_TEST_WIDGET_OBSERVER_H_
#define UI_VIEWS_TEST_TEST_WIDGET_OBSERVER_H_
#include <stddef.h>
#include "base/memory/raw_ptr.h"
#include "ui/views/widget/wid... | Zhao-PengFei35/chromium_src_4 | ui/views/test/test_widget_observer.h | C++ | unknown | 976 |
// 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 <memory>
#include <utility>
#include <vector>
#include "base/check.h"
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/functional/callback.... | Zhao-PengFei35/chromium_src_4 | ui/views/test/ui_controls_factory_desktop_aura_ozone.cc | C++ | unknown | 10,264 |
// 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/views/test/view_metadata_test_utils.h"
#include <string>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/metadata/metadata_types.h"
namespace v... | Zhao-PengFei35/chromium_src_4 | ui/views/test/view_metadata_test_utils.cc | C++ | unknown | 856 |
// 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 UI_VIEWS_TEST_VIEW_METADATA_TEST_UTILS_H_
#define UI_VIEWS_TEST_VIEW_METADATA_TEST_UTILS_H_
#include "ui/views/view.h"
namespace views::test {
// Iterate through all... | Zhao-PengFei35/chromium_src_4 | ui/views/test/view_metadata_test_utils.h | C++ | unknown | 618 |
// 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 "ui/views/test/view_skia_gold_pixel_diff.h"
#include "base/logging.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "testing/gt... | Zhao-PengFei35/chromium_src_4 | ui/views/test/view_skia_gold_pixel_diff.cc | C++ | unknown | 4,977 |
// 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 UI_VIEWS_TEST_VIEW_SKIA_GOLD_PIXEL_DIFF_H_
#define UI_VIEWS_TEST_VIEW_SKIA_GOLD_PIXEL_DIFF_H_
#include <string>
#include <vector>
#include "ui/base/test/skia_gold_pix... | Zhao-PengFei35/chromium_src_4 | ui/views/test/view_skia_gold_pixel_diff.h | C++ | unknown | 4,191 |
// 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 "ui/views/test/view_skia_gold_pixel_diff.h"
#include <memory>
#include <utility>
#include "base/command_line.h"
#include "testing/gmock/include/gmock/gmock.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/test/view_skia_gold_pixel_diff_unittest.cc | C++ | unknown | 3,393 |
// 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/views/test/views_drawing_test_utils.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/compositor/canvas_painter.h"
#include "ui/gfx/color_palett... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_drawing_test_utils.cc | C++ | unknown | 769 |
// 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 UI_VIEWS_TEST_VIEWS_DRAWING_TEST_UTILS_H_
#define UI_VIEWS_TEST_VIEWS_DRAWING_TEST_UTILS_H_
class SkBitmap;
namespace views {
class View;
namespace test {
// Paints... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_drawing_test_utils.h | C++ | unknown | 666 |
// 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/views/test/views_test_base.h"
#include <utility>
#include "base/environment.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_base.cc | C++ | unknown | 6,487 |
// 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_VIEWS_TEST_VIEWS_TEST_BASE_H_
#define UI_VIEWS_TEST_VIEWS_TEST_BASE_H_
#include <memory>
#include <utility>
#include "base/compiler_specific.h"
#include "base/test... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_base.h | C++ | unknown | 7,347 |
// 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/views/test/views_test_base.h"
#include <Cocoa/Cocoa.h>
namespace views {
int ViewsTestBase::GetSystemReservedHeightAtTopOfScreen() {
// Includes gap of 1 px b... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_base_mac.mm | Objective-C++ | unknown | 805 |
// 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/views/test/views_test_helper.h"
#include "ui/views/test/test_views_delegate.h"
namespace views {
std::unique_ptr<TestViewsDelegate>
ViewsTestHelper::GetFallback... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_helper.cc | C++ | unknown | 753 |
// 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_VIEWS_TEST_VIEWS_TEST_HELPER_H_
#define UI_VIEWS_TEST_VIEWS_TEST_HELPER_H_
#include <memory>
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/g... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_helper.h | C++ | unknown | 1,499 |
// 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/views/test/views_test_helper_aura.h"
#include "base/check_op.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/aura/window.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_helper_aura.cc | C++ | unknown | 3,428 |
// 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_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_
#define UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_
#include <memory>
#include "ui/aura/test/aura_test_helper.h"
#include "ui/view... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_helper_aura.h | C++ | unknown | 1,512 |
// 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_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_
#define UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_
#include <memory>
#include "third_party/abseil-cpp/absl/types/optional.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_helper_mac.h | C++ | unknown | 2,602 |
// 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/views/test/views_test_helper_mac.h"
#import <Cocoa/Cocoa.h>
#include "base/functional/bind.h"
#include "ui/base/test/scoped_fake_nswindow_focus.h"
#include "ui/b... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_helper_mac.mm | Objective-C++ | unknown | 2,816 |
// 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/views/test/views_test_utils.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"
namespace views::test {
void RunScheduledLayout(Widget* widget) {
... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_utils.cc | C++ | unknown | 730 |
// 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_VIEWS_TEST_VIEWS_TEST_UTILS_H_
#define UI_VIEWS_TEST_VIEWS_TEST_UTILS_H_
namespace views {
class View;
class Widget;
namespace test {
// Ensure that the entire W... | Zhao-PengFei35/chromium_src_4 | ui/views/test/views_test_utils.h | C++ | unknown | 748 |
// 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/views/test/webview_test_helper.h"
#include "content/public/test/test_content_client_initializer.h"
#include "ui/views/controls/webview/webview.h"
namespace views... | Zhao-PengFei35/chromium_src_4 | ui/views/test/webview_test_helper.cc | C++ | unknown | 828 |
// 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_VIEWS_TEST_WEBVIEW_TEST_HELPER_H_
#define UI_VIEWS_TEST_WEBVIEW_TEST_HELPER_H_
#include <memory>
namespace content {
class TestContentClientInitializer;
} // name... | Zhao-PengFei35/chromium_src_4 | ui/views/test/webview_test_helper.h | C++ | unknown | 752 |
// 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/views/test/widget_animation_waiter.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animation_dele... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_animation_waiter.cc | C++ | unknown | 1,954 |
// 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 UI_VIEWS_TEST_WIDGET_ANIMATION_WAITER_H_
#define UI_VIEWS_TEST_WIDGET_ANIMATION_WAITER_H_
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "ui/comp... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_animation_waiter.h | C++ | unknown | 1,433 |
// 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/views/test/widget_test.h"
#include "base/rand_util.h"
#include "base/test/bind.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_test.cc | C++ | unknown | 9,165 |
// 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_VIEWS_TEST_WIDGET_TEST_H_
#define UI_VIEWS_TEST_WIDGET_TEST_H_
#include <memory>
#include <string>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "ba... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_test.h | C++ | unknown | 11,764 |
// 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/views/test/widget_test_api.h"
#include "ui/views/widget/widget.h"
namespace views {
void DisableActivationChangeHandlingForTests() {
Widget::SetDisableActivat... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_test_api.cc | C++ | unknown | 425 |
// 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_VIEWS_TEST_WIDGET_TEST_API_H_
#define UI_VIEWS_TEST_WIDGET_TEST_API_H_
namespace views {
// Makes Widget::OnNativeWidgetActivationChanged return false, which preve... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_test_api.h | C++ | unknown | 545 |
// 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/views/test/widget_test.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/aura/clie... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_test_aura.cc | C++ | unknown | 5,821 |
// 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/views/test/widget_test.h"
#include <Cocoa/Cocoa.h>
#include "base/mac/mac_util.h"
#import "base/mac/scoped_nsobject.h"
#import "base/mac/scoped_objc_class_swizzl... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_test_mac.mm | Objective-C++ | unknown | 4,088 |
// 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/views/test/widget_test.h"
#include <vector>
#include "base/ranges/algorithm.h"
#include "testing/gtest/include/gtest/gtest.h"
#if defined(USE_AURA)
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/views/test/widget_test_unittest.cc | C++ | unknown | 3,887 |
// 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/views/touchui/touch_selection_controller_impl.h"
#include <set>
#include <utility>
#include "base/check_op.h"
#include "base/memory/raw_ptr.h"
#include "base/mem... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_controller_impl.cc | C++ | unknown | 28,451 |
// 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_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
#define UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_controller_impl.h | C++ | unknown | 6,128 |
// 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/views/touchui/touch_selection_controller_impl.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <utility>
#include "base/command_line.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_controller_impl_unittest.cc | C++ | unknown | 40,829 |
// 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 "ui/views/touchui/touch_selection_menu_runner_views.h"
#include <stddef.h>
#include "ui/aura/window.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/si... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_menu_runner_views.cc | C++ | unknown | 2,940 |
// 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_VIEWS_TOUCHUI_TOUCH_SELECTION_MENU_RUNNER_VIEWS_H_
#define UI_VIEWS_TOUCHUI_TOUCH_SELECTION_MENU_RUNNER_VIEWS_H_
#include "base/memory/raw_ptr.h"
#include "ui/touch... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_menu_runner_views.h | C++ | unknown | 2,535 |
// 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 "ui/views/touchui/touch_selection_menu_runner_views.h"
#include "ui/events/event_utils.h"
#include "ui/touch_selection/touch_selection_menu_runner.h"
#include "ui/vie... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_menu_runner_views_unittest.cc | C++ | unknown | 8,648 |
// 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/views/touchui/touch_selection_menu_views.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/feature_list.h"
#include "base/ranges/alg... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_menu_views.cc | C++ | unknown | 7,882 |
// 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_VIEWS_TOUCHUI_TOUCH_SELECTION_MENU_VIEWS_H_
#define UI_VIEWS_TOUCHUI_TOUCH_SELECTION_MENU_VIEWS_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/bubble/bubble... | Zhao-PengFei35/chromium_src_4 | ui/views/touchui/touch_selection_menu_views.h | C++ | unknown | 2,465 |
// 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/views/view.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/check_op.h"
#include "base/command_line.h"
#include "base/containers/adapt... | Zhao-PengFei35/chromium_src_4 | ui/views/view.cc | C++ | unknown | 117,507 |
// 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_VIEWS_VIEW_H_
#define UI_VIEWS_VIEW_H_
#include <stddef.h>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/views/view.h | C++ | unknown | 108,547 |
// 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/views/view_class_properties.h"
#include "ui/base/hit_test.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/bubble/bubble_dialog_delegate_view.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/view_class_properties.cc | C++ | unknown | 2,524 |
// 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_VIEWS_VIEW_CLASS_PROPERTIES_H_
#define UI_VIEWS_VIEW_CLASS_PROPERTIES_H_
#include "ui/base/class_property.h"
#include "ui/base/interaction/element_identifier.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/view_class_properties.h | C++ | unknown | 4,308 |
// 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.
#include "ui/views/view_constants.h"
namespace views {
constexpr int kAutoscrollSize = 10;
constexpr int kAutoscrollRowTimerMS = 200;
constexpr int kDropBetweenPixels = 5;
}... | Zhao-PengFei35/chromium_src_4 | ui/views/view_constants.cc | C++ | unknown | 341 |
// 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_VIEWS_VIEW_CONSTANTS_H_
#define UI_VIEWS_VIEW_CONSTANTS_H_
#include "ui/views/views_export.h"
namespace views {
// Size (width or height) within which the user ca... | Zhao-PengFei35/chromium_src_4 | ui/views/view_constants.h | C++ | unknown | 869 |
// 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/views/view_constants_aura.h"
#include "ui/base/class_property.h"
#include "ui/views/view.h"
DEFINE_EXPORTED_UI_CLASS_PROPERTY_TYPE(VIEWS_EXPORT, views::View*)
n... | Zhao-PengFei35/chromium_src_4 | ui/views/view_constants_aura.cc | C++ | unknown | 424 |
// 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_VIEWS_VIEW_CONSTANTS_AURA_H_
#define UI_VIEWS_VIEW_CONSTANTS_AURA_H_
#include "ui/aura/window.h"
#include "ui/views/views_export.h"
namespace views {
class View;
... | Zhao-PengFei35/chromium_src_4 | ui/views/view_constants_aura.h | C++ | unknown | 1,140 |
// 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/views/view_model.h"
#include <stddef.h>
#include "base/check_op.h"
#include "base/ranges/algorithm.h"
#include "ui/views/view.h"
namespace views {
// views in ... | Zhao-PengFei35/chromium_src_4 | ui/views/view_model.cc | C++ | unknown | 2,120 |
// 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_VIEWS_VIEW_MODEL_H_
#define UI_VIEWS_VIEW_MODEL_H_
#include <vector>
#include "base/check_op.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "third_party/ab... | Zhao-PengFei35/chromium_src_4 | ui/views/view_model.h | C++ | unknown | 4,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/views/view_model.h"
#include <string>
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/view.... | Zhao-PengFei35/chromium_src_4 | ui/views/view_model_unittest.cc | C++ | unknown | 2,488 |
// 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/views/view_model_utils.h"
#include <iterator>
#include "base/ranges/algorithm.h"
#include "ui/views/view.h"
#include "ui/views/view_model.h"
namespace views {
... | Zhao-PengFei35/chromium_src_4 | ui/views/view_model_utils.cc | C++ | unknown | 2,494 |
// 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_VIEWS_VIEW_MODEL_UTILS_H_
#define UI_VIEWS_VIEW_MODEL_UTILS_H_
#include <stddef.h>
#include "ui/views/views_export.h"
namespace views {
class View;
class ViewMod... | Zhao-PengFei35/chromium_src_4 | ui/views/view_model_utils.h | C++ | unknown | 1,166 |
// 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/views/view_model_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/view.h"
#include "ui/views/view_model.h"
namespace views {
// Makes ... | Zhao-PengFei35/chromium_src_4 | ui/views/view_model_utils_unittest.cc | C++ | unknown | 2,499 |
// 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_VIEWS_VIEW_OBSERVER_H_
#define UI_VIEWS_VIEW_OBSERVER_H_
#include "ui/views/views_export.h"
namespace views {
class View;
struct ViewHierarchyChangedDetails;
// ... | Zhao-PengFei35/chromium_src_4 | ui/views/view_observer.h | C++ | unknown | 3,119 |
// 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/views/view_targeter.h"
#include "ui/events/event_target.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/view.h"
#include "ui/views/view_targeter_d... | Zhao-PengFei35/chromium_src_4 | ui/views/view_targeter.cc | C++ | unknown | 3,182 |
// 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_VIEWS_VIEW_TARGETER_H_
#define UI_VIEWS_VIEW_TARGETER_H_
#include "base/memory/raw_ptr.h"
#include "ui/events/event_targeter.h"
#include "ui/views/views_export.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/view_targeter.h | C++ | unknown | 2,126 |
// 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/views/view_targeter_delegate.h"
#include <limits.h>
#include "base/containers/adapters.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/views/rect_b... | Zhao-PengFei35/chromium_src_4 | ui/views/view_targeter_delegate.cc | C++ | unknown | 3,652 |
// 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_VIEWS_VIEW_TARGETER_DELEGATE_H_
#define UI_VIEWS_VIEW_TARGETER_DELEGATE_H_
#include "ui/views/views_export.h"
namespace gfx {
class Rect;
}
namespace views {
clas... | Zhao-PengFei35/chromium_src_4 | ui/views/view_targeter_delegate.h | C++ | unknown | 2,187 |
// 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/views/view_targeter.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/even... | Zhao-PengFei35/chromium_src_4 | ui/views/view_targeter_unittest.cc | C++ | unknown | 28,730 |
// 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 UI_VIEWS_VIEW_TEST_API_H_
#define UI_VIEWS_VIEW_TEST_API_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/view.h"
namespace views {
class VIEWS_EXPORT ViewTest... | Zhao-PengFei35/chromium_src_4 | ui/views/view_test_api.h | C++ | unknown | 789 |
// 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/views/view_tracker.h"
namespace views {
ViewTracker::ViewTracker(View* view) {
SetView(view);
}
ViewTracker::~ViewTracker() = default;
void ViewTracker::SetV... | Zhao-PengFei35/chromium_src_4 | ui/views/view_tracker.cc | C++ | unknown | 570 |
// 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_VIEWS_VIEW_TRACKER_H_
#define UI_VIEWS_VIEW_TRACKER_H_
#include "base/memory/raw_ptr.h"
#include "base/scoped_observation.h"
#include "ui/views/view.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/views/view_tracker.h | C++ | unknown | 1,066 |
// 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/views/view_tracker.h"
#include <memory>
#include "ui/views/test/views_test_base.h"
#include "ui/views/view.h"
namespace views {
using ViewTrackerTest = ViewsTe... | Zhao-PengFei35/chromium_src_4 | ui/views/view_tracker_unittest.cc | C++ | unknown | 793 |
// 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/views/view.h"
#include <stddef.h>
#include <map>
#include <memory>
#include <set>
#include "base/command_line.h"
#include "base/containers/contains.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/view_unittest.cc | C++ | unknown | 229,053 |
// 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/views/view.h"
#include <memory>
#include "ui/aura/window.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_tree_owner.h"
#include "ui/compositor/... | Zhao-PengFei35/chromium_src_4 | ui/views/view_unittest_aura.cc | C++ | unknown | 6,957 |
// 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/views/view.h"
#include "base/memory/raw_ptr.h"
#import <Cocoa/Cocoa.h>
#import "base/mac/scoped_nsobject.h"
#include "third_party/abseil-cpp/absl/types/optional... | Zhao-PengFei35/chromium_src_4 | ui/views/view_unittest_mac.mm | Objective-C++ | unknown | 4,103 |
// 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 "ui/views/view_utils.h"
#include <sstream>
#include "base/command_line.h"
#include "base/debug/stack_trace.h"
#include "base/logging.h"
#include "ui/views/views_swit... | Zhao-PengFei35/chromium_src_4 | ui/views/view_utils.cc | C++ | unknown | 3,230 |
// 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 UI_VIEWS_VIEW_UTILS_H_
#define UI_VIEWS_VIEW_UTILS_H_
#include <memory>
#include <string>
#include <type_traits>
#include <vector>
#include "base/debug/stack_trace.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/view_utils.h | C++ | unknown | 2,374 |
// 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/views/views_delegate.h"
#include <utility>
#include "base/command_line.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/vie... | Zhao-PengFei35/chromium_src_4 | ui/views/views_delegate.cc | C++ | unknown | 4,210 |
// 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_VIEWS_VIEWS_DELEGATE_H_
#define UI_VIEWS_VIEWS_DELEGATE_H_
#include <memory>
#include <string>
#include <utility>
#include "build/build_config.h"
#if BUILDFLAG(IS... | Zhao-PengFei35/chromium_src_4 | ui/views/views_delegate.h | C++ | unknown | 7,484 |
// 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_VIEWS_VIEWS_EXPORT_H_
#define UI_VIEWS_VIEWS_EXPORT_H_
// Defines VIEWS_EXPORT so that functionality implemented by the Views module
// can be exported to consumers... | Zhao-PengFei35/chromium_src_4 | ui/views/views_export.h | C | unknown | 801 |
// 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 "ui/views/views_features.h"
#include "base/feature_list.h"
#include "build/build_config.h"
namespace views::features {
// Please keep alphabetized.
// Use a high-c... | Zhao-PengFei35/chromium_src_4 | ui/views/views_features.cc | C++ | unknown | 1,122 |
// 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 UI_VIEWS_VIEWS_FEATURES_H_
#define UI_VIEWS_VIEWS_FEATURES_H_
#include "base/feature_list.h"
#include "build/build_config.h"
#include "ui/views/views_export.h"
namesp... | Zhao-PengFei35/chromium_src_4 | ui/views/views_features.h | C++ | unknown | 632 |
// 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 "base/functional/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "mojo/core/embedder/embedder.h"
#include "ui/views/views_test_suite.h"
int main(i... | Zhao-PengFei35/chromium_src_4 | ui/views/views_perftests.cc | C++ | unknown | 578 |
// 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/views/views_switches.h"
#include "build/build_config.h"
namespace views::switches {
// Please keep alphabetized.
// Disables the disregarding of potentially un... | Zhao-PengFei35/chromium_src_4 | ui/views/views_switches.cc | C++ | unknown | 888 |
// 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_VIEWS_VIEWS_SWITCHES_H_
#define UI_VIEWS_VIEWS_SWITCHES_H_
#include "build/build_config.h"
#include "ui/views/views_export.h"
namespace views::switches {
// Pleas... | Zhao-PengFei35/chromium_src_4 | ui/views/views_switches.h | C++ | unknown | 606 |
// 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/views/views_test_suite.h"
#include "base/compiler_specific.h"
#include "base/functional/bind.h"
#include "base/path_service.h"
#include "base/test/launcher/unit_t... | Zhao-PengFei35/chromium_src_4 | ui/views/views_test_suite.cc | C++ | unknown | 2,326 |
// 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_VIEWS_VIEWS_TEST_SUITE_H_
#define UI_VIEWS_VIEWS_TEST_SUITE_H_
#include "base/memory/raw_ptr.h"
#include "base/test/test_suite.h"
#include "build/build_config.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/views_test_suite.h | C++ | unknown | 1,131 |
// 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_VIEWS_VIEWS_TOUCH_SELECTION_CONTROLLER_FACTORY_H_
#define UI_VIEWS_VIEWS_TOUCH_SELECTION_CONTROLLER_FACTORY_H_
#include "ui/base/pointer/touch_editing_controller.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/views_touch_selection_controller_factory.h | C++ | unknown | 772 |
// 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/views/views_touch_selection_controller_factory.h"
#include "ui/views/touchui/touch_selection_controller_impl.h"
namespace views {
ViewsTouchEditingControllerFac... | Zhao-PengFei35/chromium_src_4 | ui/views/views_touch_selection_controller_factory_aura.cc | C++ | unknown | 582 |
// 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/views/views_touch_selection_controller_factory.h"
namespace views {
ViewsTouchEditingControllerFactory::ViewsTouchEditingControllerFactory() =
default;
ui::... | Zhao-PengFei35/chromium_src_4 | ui/views/views_touch_selection_controller_factory_mac.cc | C++ | unknown | 474 |
// 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/views/widget/any_widget_observer.h"
#include "base/functional/bind.h"
#include "ui/views/widget/any_widget_observer_singleton.h"
#include "ui/views/widget/widget.h... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/any_widget_observer.cc | C++ | unknown | 2,274 |
// 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 UI_VIEWS_WIDGET_ANY_WIDGET_OBSERVER_H_
#define UI_VIEWS_WIDGET_ANY_WIDGET_OBSERVER_H_
#include <string>
#include "base/functional/callback.h"
#include "base/memory/ra... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/any_widget_observer.h | C++ | unknown | 7,844 |
// 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/views/widget/any_widget_observer_singleton.h"
#include "ui/views/widget/any_widget_observer.h"
#include "base/no_destructor.h"
#include "base/observer_list.h"
na... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/any_widget_observer_singleton.cc | C++ | unknown | 1,387 |
// 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 UI_VIEWS_WIDGET_ANY_WIDGET_OBSERVER_SINGLETON_H_
#define UI_VIEWS_WIDGET_ANY_WIDGET_OBSERVER_SINGLETON_H_
#include "base/no_destructor.h"
#include "base/observer_list.... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/any_widget_observer_singleton.h | C++ | unknown | 1,415 |
// 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/views/widget/any_widget_observer.h"
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/any_widget_observer_unittest.cc | C++ | unknown | 4,185 |
// 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>
#import <Accessibility/Accessibility.h>
#import <Cocoa/Cocoa.h>
#include "base/mac/mac_util.h"
#include "base/strings/sys_string_conversions.h"
#include "ba... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/ax_native_widget_mac_unittest.mm | Objective-C++ | unknown | 35,085 |
specific_include_rules = {
"desktop_window_tree_host_lacros.*": [
"+chromeos/ui/base",
],
}
| Zhao-PengFei35/chromium_src_4 | ui/views/widget/desktop_aura/DEPS | Python | unknown | 100 |
// 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/views/widget/desktop_aura/desktop_capture_client.h"
#include "base/containers/cxx20_erase.h"
#include "base/observer_list.h"
#include "ui/aura/client/capture_clie... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/desktop_aura/desktop_capture_client.cc | C++ | unknown | 4,146 |
// 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CAPTURE_CLIENT_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CAPTURE_CLIENT_H_
#include <set>
#include "base/memory/raw_ptr.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/desktop_aura/desktop_capture_client.h | C++ | unknown | 2,843 |
// 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/views/widget/desktop_aura/desktop_drag_drop_client_ozone.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc | C++ | unknown | 12,939 |
// 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_OZONE_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_OZONE_H_
#include <memory>
#include "base... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.h | C++ | unknown | 6,148 |
// 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/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "ui/... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.cc | C++ | unknown | 3,573 |
// 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_OZONE_LINUX_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_OZONE_LINUX_H_
#include "base/functi... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h | C++ | unknown | 1,922 |