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.
#ifndef UI_VIEWS_CONTROLS_TREE_TREE_VIEW_CONTROLLER_H_
#define UI_VIEWS_CONTROLS_TREE_TREE_VIEW_CONTROLLER_H_
#include "ui/events/keycodes/keyboard_codes.h"
#include "ui/views... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tree/tree_view_controller.h | C++ | unknown | 1,065 |
// 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/controls/tree/tree_view_drawing_provider.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/views/controls/tree/tree_view.h... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tree/tree_view_drawing_provider.cc | C++ | unknown | 1,942 |
// 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_CONTROLS_TREE_TREE_VIEW_DRAWING_PROVIDER_H_
#define UI_VIEWS_CONTROLS_TREE_TREE_VIEW_DRAWING_PROVIDER_H_
#include <string>
#include "third_party/skia/include... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tree/tree_view_drawing_provider.h | C++ | unknown | 1,809 |
// 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/controls/tree/tree_view.h"
#include <numeric>
#include <string>
#include <utility>
#include <vector>
#include "base/functional/callback.h"
#include "base/m... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tree/tree_view_unittest.cc | C++ | unknown | 48,999 |
// 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_CONTROLS_VIEWS_TEXT_SERVICES_CONTEXT_MENU_H_
#define UI_VIEWS_CONTROLS_VIEWS_TEXT_SERVICES_CONTEXT_MENU_H_
#include <memory>
#include "ui/base/models/simple_... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/views_text_services_context_menu.h | C++ | unknown | 959 |
// 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/controls/views_text_services_context_menu_base.h"
#include <memory>
#include "base/metrics/histogram_macros.h"
#include "build/build_config.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/views_text_services_context_menu_base.cc | C++ | unknown | 3,143 |
// 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_CONTROLS_VIEWS_TEXT_SERVICES_CONTEXT_MENU_BASE_H_
#define UI_VIEWS_CONTROLS_VIEWS_TEXT_SERVICES_CONTEXT_MENU_BASE_H_
#include "base/memory/raw_ptr.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/views_text_services_context_menu_base.h | C++ | unknown | 1,893 |
// 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/controls/views_text_services_context_menu_chromeos.h"
#include <utility>
#include "base/no_destructor.h"
#include "ui/views/controls/views_text_services_co... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/views_text_services_context_menu_chromeos.cc | C++ | unknown | 2,380 |
// 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 UI_VIEWS_CONTROLS_VIEWS_TEXT_SERVICES_CONTEXT_MENU_CHROMEOS_H_
#define UI_VIEWS_CONTROLS_VIEWS_TEXT_SERVICES_CONTEXT_MENU_CHROMEOS_H_
#include <memory>
#include "ui/v... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/views_text_services_context_menu_chromeos.h | C++ | unknown | 2,121 |
// 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/controls/views_text_services_context_menu.h"
#import <Cocoa/Cocoa.h>
#include "ui/base/cocoa/text_services_context_menu.h"
#include "ui/base/l10n/l10n_util... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/views_text_services_context_menu_mac.mm | Objective-C++ | unknown | 6,071 |
include_rules = [
"+content/public",
"+content/test/test_content_browser_client.h",
"+content/test/test_web_contents.h",
"+third_party/blink/public/mojom/loader/resource_load_info.mojom.h",
"+ui/content_accelerators",
"+ui/views",
"+ui/web_dialogs",
]
| Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/DEPS | Python | unknown | 266 |
// 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/controls/webview/unhandled_keyboard_event_handler.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "ui/content_accelerators/acceler... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/unhandled_keyboard_event_handler.cc | C++ | unknown | 2,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_VIEWS_CONTROLS_WEBVIEW_UNHANDLED_KEYBOARD_EVENT_HANDLER_H_
#define UI_VIEWS_CONTROLS_WEBVIEW_UNHANDLED_KEYBOARD_EVENT_HANDLER_H_
#include "ui/gfx/native_widget_type... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/unhandled_keyboard_event_handler.h | C++ | unknown | 1,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.
#include "ui/views/controls/webview/unhandled_keyboard_event_handler.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "ui/events/event.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/unhandled_keyboard_event_handler_default.cc | C++ | unknown | 671 |
// 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/controls/webview/unhandled_keyboard_event_handler.h"
#include "content/public/browser/native_web_keyboard_event.h"
#import "ui/views/cocoa/native_widget_mac... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/unhandled_keyboard_event_handler_mac.mm | Objective-C++ | unknown | 797 |
// 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/controls/webview/unhandled_keyboard_event_handler.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "ui/events/event.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/unhandled_keyboard_event_handler_ozone.cc | C++ | unknown | 1,215 |
// 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/controls/webview/unhandled_keyboard_event_handler.h"
#include <windows.h>
#include "content/public/browser/native_web_keyboard_event.h"
#include "ui/events... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/unhandled_keyboard_event_handler_win.cc | C++ | unknown | 881 |
// 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/controls/webview/web_contents_set_background_color.h"
#include "base/memory/ptr_util.h"
#include "content/public/browser/render_frame_host.h"
#include "cont... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/web_contents_set_background_color.cc | C++ | unknown | 1,833 |
// 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_CONTROLS_WEBVIEW_WEB_CONTENTS_SET_BACKGROUND_COLOR_H_
#define UI_VIEWS_CONTROLS_WEBVIEW_WEB_CONTENTS_SET_BACKGROUND_COLOR_H_
#include "content/public/browser/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/web_contents_set_background_color.h | C++ | unknown | 1,698 |
// 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/controls/webview/web_dialog_view.h"
#include <utility>
#include <vector>
#include "base/strings/utf_string_conversions.h"
#include "content/public/browser/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/web_dialog_view.cc | C++ | unknown | 15,441 |
// 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_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
#define UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <ve... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/web_dialog_view.h | C++ | unknown | 8,848 |
// 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/controls/webview/web_dialog_view.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/web_dialog_view_unittest.cc | C++ | unknown | 6,927 |
// 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/controls/webview/webview.h"
#include <string>
#include <utility>
#include "base/no_destructor.h"
#include "base/trace_event/trace_event.h"
#include "build/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/webview.cc | C++ | unknown | 16,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.
#ifndef UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_
#define UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_H_
#include <stdint.h>
#include <memory>
#include "base/functional/callback.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/webview.h | C++ | unknown | 9,764 |
// 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_CONTROLS_WEBVIEW_WEBVIEW_EXPORT_H_
#define UI_VIEWS_CONTROLS_WEBVIEW_WEBVIEW_EXPORT_H_
// Defines WEBVIEW_EXPORT so that functionality implemented by the webv... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/webview_export.h | C | unknown | 878 |
// 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/controls/webview/webview.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/command_line.h"
#include "base/functional/bind.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/webview/webview_unittest.cc | C++ | unknown | 18,284 |
# This code should not depend on Views.
include_rules = [
"-ui/views",
"+ui/views/buildflags.h",
"+ui/views/corewm",
"+ui/views/views_export.h",
"+ui/views/views_features.h"
]
# TODO: temporary, don't add more.
specific_include_rules = {
"tooltip_controller.cc": [
"+ui/views/widget/tooltip_manager.h",... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/DEPS | Python | unknown | 2,025 |
// 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 <memory>
#include "ui/aura/env.h"
#include "ui/aura/test/test_window_delegate.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_tree_host.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/desktop_capture_controller_unittest.cc | C++ | unknown | 7,100 |
// 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/views/corewm/test/tooltip_aura_test_api.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/owned_window_anchor.h"
#include "ui/base/ui_base_types.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/test/tooltip_aura_test_api.cc | C++ | unknown | 1,160 |
// 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_COREWM_TEST_TOOLTIP_AURA_TEST_API_H_
#define UI_VIEWS_COREWM_TEST_TOOLTIP_AURA_TEST_API_H_
#include <stddef.h>
#include "base/memory/raw_ptr.h"
namespace gf... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/test/tooltip_aura_test_api.h | C++ | unknown | 1,221 |
// 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_COREWM_TOOLTIP_H_
#define UI_VIEWS_COREWM_TOOLTIP_H_
#include <string>
#include "build/chromeos_buildflags.h"
#include "ui/views/views_export.h"
namespace a... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip.h | C++ | unknown | 2,317 |
// 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/corewm/tooltip_aura.h"
#include <algorithm>
#include <utility>
#include "base/feature_list.h"
#include "base/i18n/rtl.h"
#include "base/memory/raw_ptr.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_aura.cc | C++ | unknown | 10,703 |
// 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_COREWM_TOOLTIP_AURA_H_
#define UI_VIEWS_COREWM_TOOLTIP_AURA_H_
#include <memory>
#include "base/functional/callback_forward.h"
#include "base/memory/raw_ptr.... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_aura.h | C++ | unknown | 3,626 |
// 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/corewm/tooltip_controller.h"
#include <stddef.h>
#include <utility>
#include <vector>
#include "base/time/time.h"
#include "ui/aura/client/aura_constants.... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_controller.cc | C++ | unknown | 20,734 |
// 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_COREWM_TOOLTIP_CONTROLLER_H_
#define UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_
#include <map>
#include <memory>
#include <string>
#include "base/memory/raw_ptr.h... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_controller.h | C++ | unknown | 8,977 |
// 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/corewm/tooltip_controller_test_helper.h"
#include "base/time/time.h"
#include "ui/aura/window.h"
#include "ui/wm/public/activation_change_observer.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_controller_test_helper.cc | C++ | unknown | 3,130 |
// 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_COREWM_TOOLTIP_CONTROLLER_TEST_HELPER_H_
#define UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_TEST_HELPER_H_
#include <string>
#include "base/memory/raw_ptr.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_controller_test_helper.h | C++ | unknown | 2,916 |
// 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/corewm/tooltip_controller.h"
#include <memory>
#include <utility>
#include "base/at_exit.h"
#include "base/memory/raw_ptr.h"
#include "base/ranges/algorith... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_controller_unittest.cc | C++ | unknown | 61,241 |
// 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/corewm/tooltip_lacros.h"
#include <algorithm>
#include "ui/aura/window.h"
#include "ui/display/screen.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/pla... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_lacros.cc | C++ | unknown | 3,772 |
// 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_COREWM_TOOLTIP_LACROS_H_
#define UI_VIEWS_COREWM_TOOLTIP_LACROS_H_
#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "base/time/time.h... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_lacros.h | C++ | unknown | 2,472 |
// 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/corewm/tooltip_state_manager.h"
#include <stddef.h>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/strings/string_u... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_state_manager.cc | C++ | unknown | 6,246 |
// 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 UI_VIEWS_COREWM_TOOLTIP_STATE_MANAGER_H_
#define UI_VIEWS_COREWM_TOOLTIP_STATE_MANAGER_H_
#include <map>
#include <memory>
#include <string>
#include "base/memory/raw... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_state_manager.h | C++ | unknown | 5,015 |
// 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/views/corewm/tooltip_view_aura.h"
#include "base/strings/string_util.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_view_aura.cc | C++ | unknown | 3,425 |
// 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_VIEWS_COREWM_TOOLTIP_VIEW_AURA_H_
#define UI_VIEWS_COREWM_TOOLTIP_VIEW_AURA_H_
#include <memory>
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/g... | Zhao-PengFei35/chromium_src_4 | ui/views/corewm/tooltip_view_aura.h | C++ | unknown | 1,534 |
include_rules = [
# Views debug code should avoid relying on //ui/views code to ensure debugger
# extensions are resillient to version structure changes within the codebase.
"-ui/views",
"+ui/views/debug",
]
| Zhao-PengFei35/chromium_src_4 | ui/views/debug/DEPS | Python | unknown | 216 |
// 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/debug/debugger_utils.h"
#include <inttypes.h>
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringpr... | Zhao-PengFei35/chromium_src_4 | ui/views/debug/debugger_utils.cc | C++ | unknown | 4,891 |
// 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 UI_VIEWS_DEBUG_DEBUGGER_UTILS_H_
#define UI_VIEWS_DEBUG_DEBUGGER_UTILS_H_
#include <ostream>
#include <string>
#include <tuple>
#include <vector>
#include "base/funct... | Zhao-PengFei35/chromium_src_4 | ui/views/debug/debugger_utils.h | C++ | unknown | 1,771 |
// 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/debug_utils.h"
#include <ostream>
#include "base/logging.h"
#include "ui/compositor/layer.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/debug_utils.cc | C++ | unknown | 5,951 |
// 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_DEBUG_UTILS_H_
#define UI_VIEWS_DEBUG_UTILS_H_
#include <sstream>
#include <string>
#include "ui/views/views_export.h"
namespace views {
class View;
class ... | Zhao-PengFei35/chromium_src_4 | ui/views/debug_utils.h | C++ | unknown | 1,248 |
// 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/dialog_model_context_menu_controller.h"
#include "ui/base/models/dialog_model.h"
#include "ui/views/view.h"
namespace views {
DialogModelContextMenuContro... | Zhao-PengFei35/chromium_src_4 | ui/views/dialog_model_context_menu_controller.cc | C++ | unknown | 1,447 |
// 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_DIALOG_MODEL_CONTEXT_MENU_CONTROLLER_H_
#define UI_VIEWS_DIALOG_MODEL_CONTEXT_MENU_CONTROLLER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/dialog_model_context_menu_controller.h | C++ | unknown | 1,907 |
// 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_DRAG_CONTROLLER_H_
#define UI_VIEWS_DRAG_CONTROLLER_H_
#include "ui/views/views_export.h"
namespace gfx {
class Point;
}
namespace ui {
class OSExchangeData... | Zhao-PengFei35/chromium_src_4 | ui/views/drag_controller.h | C++ | unknown | 1,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/views/drag_utils.h"
#include "ui/base/layout.h"
#include "ui/views/widget/widget.h"
namespace views {
float ScaleFactorForDragFromWidget(const Widget* widget) {... | Zhao-PengFei35/chromium_src_4 | ui/views/drag_utils.cc | C++ | unknown | 555 |
// 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_DRAG_UTILS_H_
#define UI_VIEWS_DRAG_UTILS_H_
#include <memory>
#include "ui/base/dragdrop/mojom/drag_drop_types.mojom-forward.h"
#include "ui/base/dragdrop/o... | Zhao-PengFei35/chromium_src_4 | ui/views/drag_utils.h | C++ | unknown | 1,076 |
// 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/drag_utils.h"
#include "ui/aura/client/drag_drop_client.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/wm/core/coo... | Zhao-PengFei35/chromium_src_4 | ui/views/drag_utils_aura.cc | C++ | unknown | 1,000 |
// 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/drag_utils.h"
#include "base/notreached.h"
namespace views {
void RunShellDrag(gfx::NativeView view,
std::unique_ptr<ui::OSExchangeData>... | Zhao-PengFei35/chromium_src_4 | ui/views/drag_utils_mac.mm | Objective-C++ | unknown | 506 |
// 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_EVENT_MONITOR_H_
#define UI_VIEWS_EVENT_MONITOR_H_
#include <memory>
#include <set>
#include "ui/events/event_observer.h"
#include "ui/events/types/event_typ... | Zhao-PengFei35/chromium_src_4 | ui/views/event_monitor.h | C++ | unknown | 1,721 |
// 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/event_monitor_aura.h"
#include <memory>
#include "base/check_op.h"
#include "base/memory/raw_ptr.h"
#include "base/scoped_observation.h"
#include "ui/aura/... | Zhao-PengFei35/chromium_src_4 | ui/views/event_monitor_aura.cc | C++ | unknown | 3,042 |
// 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_EVENT_MONITOR_AURA_H_
#define UI_VIEWS_EVENT_MONITOR_AURA_H_
#include <set>
#include "base/memory/raw_ptr.h"
#include "ui/views/event_monitor.h"
namespace u... | Zhao-PengFei35/chromium_src_4 | ui/views/event_monitor_aura.h | C++ | unknown | 1,244 |
// 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_EVENT_MONITOR_MAC_H_
#define UI_VIEWS_EVENT_MONITOR_MAC_H_
#include <memory>
#include <set>
#include "base/memory/weak_ptr.h"
#include "ui/gfx/native_widget_... | Zhao-PengFei35/chromium_src_4 | ui/views/event_monitor_mac.h | C++ | unknown | 1,060 |
// 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.
#import "ui/views/event_monitor_mac.h"
#import <Cocoa/Cocoa.h>
#include <memory>
#include "base/check.h"
#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/event_monitor_mac.mm | Objective-C++ | unknown | 2,503 |
// 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/event_monitor.h"
#include <utility>
#include "base/memory/raw_ptr.h"
#include "ui/events/event_observer.h"
#include "ui/events/test/event_generator.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/event_monitor_unittest.cc | C++ | unknown | 5,746 |
include_rules = [
"+components/viz/common/features.h",
"+components/viz/host",
"+components/viz/service", # In-process viz service.
"+content/public",
"+content/shell",
"+mojo/core/embedder/embedder.h", # TestGpuServiceHolder needs Mojo.
"+sandbox",
"+ui/gl/gl_utils.h", # Disable Direct Composition W... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/DEPS | Python | unknown | 703 |
// 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/examples/animated_image_view_example.h"
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/files/fi... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/animated_image_view_example.cc | C++ | unknown | 5,535 |
// 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_EXAMPLES_ANIMATED_IMAGE_VIEW_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_ANIMATED_IMAGE_VIEW_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views:... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/animated_image_view_example.h | C++ | unknown | 809 |
// 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/examples/animation_example.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/animation_example.cc | C++ | unknown | 7,623 |
// 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 UI_VIEWS_EXAMPLES_ANIMATION_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_ANIMATION_EXAMPLE_H_
#include <memory>
#include "ui/views/animation/animation_abort_handle.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/animation_example.h | C++ | unknown | 861 |
// 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/examples/ax_example.h"
#include <memory>
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/background.h"
#include "ui/views/control... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/ax_example.cc | C++ | unknown | 1,497 |
// 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_EXAMPLES_AX_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_AX_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/examples/example_base.h"
namespace views {... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/ax_example.h | C++ | unknown | 838 |
// 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/views/examples/badge_example.h"
#include <memory>
#include <set>
#include <utility>
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/controls/badge.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/badge_example.cc | C++ | unknown | 2,944 |
// 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_VIEWS_EXAMPLES_BADGE_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_BADGE_EXAMPLE_H_
#include <memory>
#include "ui/views/controls/menu/menu_delegate.h"
#include "ui/views/c... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/badge_example.h | C++ | unknown | 1,021 |
// 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/examples/box_layout_example.h"
#include <memory>
#include <string>
#include <utility>
#include "base/strings/string_number_conversions.h"
#include "base/st... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/box_layout_example.cc | C++ | unknown | 5,315 |
// 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_EXAMPLES_BOX_LAYOUT_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_BOX_LAYOUT_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/controls/button/button.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/box_layout_example.h | C++ | unknown | 1,731 |
// 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/examples/bubble_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/gfx/geometry/insets.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/bubble_example.cc | C++ | unknown | 5,233 |
// 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_EXAMPLES_BUBBLE_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_BUBBLE_EXAMPLE_H_
#include "base/memory/raw_ptr_exclusion.h"
#include "ui/events/event.h"
#include "ui/vi... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/bubble_example.h | C++ | unknown | 1,505 |
// 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/examples/button_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/button_example.cc | C++ | unknown | 12,411 |
// 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_EXAMPLES_BUTTON_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_BUTTON_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/button_example.h | C++ | unknown | 1,794 |
// 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/views/examples/button_sticker_sheet.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/memory/ptr_util.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/button_sticker_sheet.cc | C++ | unknown | 3,936 |
// 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_EXAMPLES_BUTTON_STICKER_SHEET_H_
#define UI_VIEWS_EXAMPLES_BUTTON_STICKER_SHEET_H_
#include "ui/views/examples/example_base.h"
namespace views::examples {
/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/button_sticker_sheet.h | C++ | unknown | 1,014 |
// 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/examples/checkbox_example.h"
#include "base/functional/bind.h"
#include "ui/views/controls/button/checkbox.h"
#include "ui/views/examples/examples_window.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/checkbox_example.cc | C++ | unknown | 1,799 |
// 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_EXAMPLES_CHECKBOX_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_CHECKBOX_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
#include "ui/views/examples/views_examp... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/checkbox_example.h | C++ | unknown | 953 |
// 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/examples/color_chooser_example.h"
#include "ui/views/widget/widget_delegate.h"
namespace views::examples {
ColorChooserExample::ColorChooserExample() : Ex... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/color_chooser_example.cc | C++ | unknown | 766 |
// 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_EXAMPLES_COLOR_CHOOSER_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_COLOR_CHOOSER_EXAMPLE_H_
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/color... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/color_chooser_example.h | C++ | unknown | 1,247 |
// 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/examples/colored_dialog_example.h"
#include <memory>
#include <utility>
#include "base/containers/adapters.h"
#include "base/memory/raw_ref.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/colored_dialog_example.cc | C++ | unknown | 6,254 |
// 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_EXAMPLES_COLORED_DIALOG_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_COLORED_DIALOG_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "base/timer/timer.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/colored_dialog_example.h | C++ | unknown | 2,190 |
// 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/examples/colors_example.h"
#include <stdint.h>
#include <memory>
#include <string>
#include <utility>
#include "base/strings/string_piece.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/colors_example.cc | C++ | unknown | 9,496 |
// 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_EXAMPLES_COLORS_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_COLORS_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views::examples {
class VIEWS_E... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/colors_example.h | C++ | unknown | 693 |
// 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/examples/combobox_example.h"
#include <memory>
#include <utility>
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/combobox_example.cc | C++ | unknown | 3,024 |
// 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_EXAMPLES_COMBOBOX_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_COMBOBOX_EXAMPLE_H_
#include "base/memory/raw_ptr_exclusion.h"
#include "ui/base/models/combobox_model.... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/combobox_example.h | C++ | unknown | 1,021 |
// 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/examples/create_examples.h"
#include <memory>
#include <utility>
#include "build/build_config.h"
#include "ui/views/examples/animated_image_view_example.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/create_examples.cc | C++ | unknown | 5,006 |
// 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_EXAMPLES_CREATE_EXAMPLES_H_
#define UI_VIEWS_EXAMPLES_CREATE_EXAMPLES_H_
#include "ui/views/examples/example_base.h"
#include "ui/views/examples/views_exampl... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/create_examples.h | C++ | unknown | 585 |
// 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/examples/designer_example.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/ranges/ranges.h"
#include "base/strings/utf_string_convers... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/designer_example.cc | C++ | unknown | 22,116 |
// 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_EXAMPLES_DESIGNER_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_DESIGNER_EXAMPLE_H_
#include <memory>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/designer_example.h | C++ | unknown | 5,754 |
// 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/examples/dialog_example.h"
#include <memory>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/dialog_example.cc | C++ | unknown | 13,781 |
// 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_EXAMPLES_DIALOG_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_DIALOG_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/dialog_example.h | C++ | unknown | 3,892 |
// 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/examples/example_base.h"
#include "ui/views/view.h"
namespace views::examples {
ExampleBase::~ExampleBase() = default;
ExampleBase::ExampleBase(const cha... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/example_base.cc | C++ | unknown | 390 |
// 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_EXAMPLES_EXAMPLE_BASE_H_
#define UI_VIEWS_EXAMPLES_EXAMPLE_BASE_H_
#include <memory>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/example_base.h | C++ | unknown | 1,381 |
// 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/examples/example_combobox_model.h"
#include "base/strings/utf_string_conversions.h"
namespace views::examples {
ExampleComboboxModel::ExampleComboboxModel... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/example_combobox_model.cc | C++ | unknown | 729 |
// 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_EXAMPLES_EXAMPLE_COMBOBOX_MODEL_H_
#define UI_VIEWS_EXAMPLES_EXAMPLE_COMBOBOX_MODEL_H_
#include "base/memory/raw_ptr.h"
#include "ui/base/models/combobox_mode... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/example_combobox_model.h | C++ | unknown | 952 |
// 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_EXAMPLES_EXAMPLES_COLOR_ID_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_COLOR_ID_H_
#include "ui/color/color_id.h"
// clang-format off
#define EXAMPLES_COLOR_IDS \
... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_color_id.h | C++ | unknown | 3,134 |