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 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/animation/widget_fade_animator.h" #include "ui/gfx/animation/linear_animation.h" #include "ui/views/widget/widget.h" namespace views { WidgetFadeAnimator:...
Zhao-PengFei35/chromium_src_4
ui/views/animation/widget_fade_animator.cc
C++
unknown
2,967
// 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_ANIMATION_WIDGET_FADE_ANIMATOR_H_ #define UI_VIEWS_ANIMATION_WIDGET_FADE_ANIMATOR_H_ #include "base/callback_list.h" #include "base/functional/callback_forwar...
Zhao-PengFei35/chromium_src_4
ui/views/animation/widget_fade_animator.h
C++
unknown
4,903
// 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/animation/widget_fade_animator.h" #include <memory> #include "base/test/bind.h" #include "base/time/time.h" #include "ui/gfx/animation/animation_test_api.h...
Zhao-PengFei35/chromium_src_4
ui/views/animation/widget_fade_animator_unittest.cc
C++
unknown
9,046
// 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/background.h" #include <utility> #include "base/check.h" #include "build/build_config.h" #include "cc/paint/paint_flags.h" #include "ui/color/color_id.h" #...
Zhao-PengFei35/chromium_src_4
ui/views/background.cc
C++
unknown
9,009
// 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_BACKGROUND_H_ #define UI_VIEWS_BACKGROUND_H_ #include <stddef.h> #include <memory> #include "build/build_config.h" #include "third_party/skia/include/core/S...
Zhao-PengFei35/chromium_src_4
ui/views/background.h
C++
unknown
4,215
// 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/badge_painter.h" #include <algorithm> #include "base/i18n/rtl.h" #include "ui/base/ui_base_features.h" #include "ui/color/color_id.h" #include "ui/color/co...
Zhao-PengFei35/chromium_src_4
ui/views/badge_painter.cc
C++
unknown
3,690
// 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_BADGE_PAINTER_H_ #define UI_VIEWS_BADGE_PAINTER_H_ #include <string> #include "ui/views/views_export.h" namespace gfx { class Canvas; class FontList; class ...
Zhao-PengFei35/chromium_src_4
ui/views/badge_painter.h
C++
unknown
2,573
// 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/border.h" #include <memory> #include <utility> #include "base/check.h" #include "base/memory/ptr_util.h" #include "cc/paint/paint_flags.h" #include "ui/col...
Zhao-PengFei35/chromium_src_4
ui/views/border.cc
C++
unknown
11,890
// 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_BORDER_H_ #define UI_VIEWS_BORDER_H_ #include <memory> #include "third_party/skia/include/core/SkColor.h" #include "ui/color/color_id.h" #include "ui/gfx/col...
Zhao-PengFei35/chromium_src_4
ui/views/border.h
C++
unknown
5,723
// 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/border.h" #include <algorithm> #include <memory> #include <set> #include <utility> #include <vector> #include "base/memory/raw_ptr.h" #include "cc/paint/pa...
Zhao-PengFei35/chromium_src_4
ui/views/border_unittest.cc
C++
unknown
10,690
// 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/bubble/bubble_border.h" #include <algorithm> #include <map> #include <tuple> #include <utility> #include "base/check_op.h" #include "base/logging.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_border.cc
C++
unknown
29,114
// 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_BUBBLE_BUBBLE_BORDER_H_ #define UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ #include "base/gtest_prod_util.h" #include "base/memory/raw_ptr.h" #include "build/build_conf...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_border.h
C++
unknown
12,876
// 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/bubble/bubble_border_arrow_utils.h" namespace views { gfx::Point GetArrowAnchorPointFromAnchorRect(BubbleBorder::Arrow arrow, ...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_border_arrow_utils.cc
C++
unknown
5,078
// 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_BUBBLE_BUBBLE_BORDER_ARROW_UTILS_H_ #define UI_VIEWS_BUBBLE_BUBBLE_BORDER_ARROW_UTILS_H_ #include "ui/views/bubble/bubble_border.h" #include "ui/views/views_e...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_border_arrow_utils.h
C++
unknown
2,142
// 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/bubble/bubble_border.h" #include <stddef.h> #include <memory> #include "base/strings/stringprintf.h" #include "ui/gfx/canvas.h" #include "ui/gfx/geometry/...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_border_unittest.cc
C++
unknown
54,548
// 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/bubble/bubble_dialog_delegate_view.h" #include <algorithm> #include <set> #include <utility> #include <vector> #include "base/containers/contains.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_dialog_delegate_view.cc
C++
unknown
35,830
// 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_BUBBLE_BUBBLE_DIALOG_DELEGATE_VIEW_H_ #define UI_VIEWS_BUBBLE_BUBBLE_DIALOG_DELEGATE_VIEW_H_ #include <memory> #include <utility> #include "base/gtest_prod_u...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_dialog_delegate_view.h
C++
unknown
23,735
// 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/bubble/bubble_dialog_delegate_view.h" #include "base/functional/bind.h" #include "base/functional/callback.h" #include "build/build_config.h" #include "buil...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_dialog_delegate_view_interactive_uitest_aura.cc
C++
unknown
3,403
// 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/bubble/bubble_dialog_delegate_view.h" #include <stddef.h> #include <memory> #include <string> #include <utility> #include "base/i18n/rtl.h" #include "base...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_dialog_delegate_view_unittest.cc
C++
unknown
49,362
// 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/bubble/bubble_dialog_model_host.h" #include <utility> #include "base/memory/raw_ptr.h" #include "ui/accessibility/ax_enums.mojom.h" #include "ui/base/class...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_dialog_model_host.cc
C++
unknown
39,800
// 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_BUBBLE_BUBBLE_DIALOG_MODEL_HOST_H_ #define UI_VIEWS_BUBBLE_BUBBLE_DIALOG_MODEL_HOST_H_ #include <memory> #include <vector> #include "base/functional/callback...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_dialog_model_host.h
C++
unknown
6,881
// 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/bubble/bubble_dialog_model_host.h" #include <memory> #include <utility> #include "base/functional/callback_helpers.h" #include "base/test/gtest_util.h" #in...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_dialog_model_host_unittest.cc
C++
unknown
6,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. #include "ui/views/bubble/bubble_frame_view.h" #include <algorithm> #include <utility> #include "build/build_config.h" #include "components/vector_icons/vector_icons.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_frame_view.cc
C++
unknown
42,261
// 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_BUBBLE_BUBBLE_FRAME_VIEW_H_ #define UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_ #include <memory> #include "base/gtest_prod_util.h" #include "base/memory/raw_ptr.h"...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/bubble_frame_view.h
C++
unknown
14,155
// 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/bubble/bubble_frame_view.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/bubble/bubble_frame_view_unittest.cc
C++
unknown
63,446
// 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/bubble/footnote_container_view.h" #include <memory> #include <utility> #include "cc/paint/paint_flags.h" #include "ui/base/metadata/metadata_impl_macros.h"...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/footnote_container_view.cc
C++
unknown
3,345
// 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_BUBBLE_FOOTNOTE_CONTAINER_VIEW_H_ #define UI_VIEWS_BUBBLE_FOOTNOTE_CONTAINER_VIEW_H_ #include <memory> #include "ui/views/view.h" namespace views { // A co...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/footnote_container_view.h
C++
unknown
1,216
// 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/bubble/info_bubble.h" #include <memory> #include <utility> #include "ui/base/metadata/metadata_impl_macros.h" #include "ui/gfx/geometry/point.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/info_bubble.cc
C++
unknown
4,218
// 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_BUBBLE_INFO_BUBBLE_H_ #define UI_VIEWS_BUBBLE_INFO_BUBBLE_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include "ui/views/bubble/b...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/info_bubble.h
C++
unknown
1,692
// 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/bubble/info_bubble.h" #include <memory> #include <utility> #include "base/strings/utf_string_conversions.h" #include "ui/views/controls/label.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/info_bubble_unittest.cc
C++
unknown
4,932
// 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/bubble/tooltip_icon.h" #include "base/observer_list.h" #include "base/timer/timer.h" #include "build/build_config.h" #include "components/vector_icons/vecto...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/tooltip_icon.cc
C++
unknown
4,675
// 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_BUBBLE_TOOLTIP_ICON_H_ #define UI_VIEWS_BUBBLE_TOOLTIP_ICON_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include "base/observer_l...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/tooltip_icon.h
C++
unknown
3,551
// 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/bubble/tooltip_icon.h" #include <memory> #include "ui/accessibility/ax_enums.mojom.h" #include "ui/accessibility/ax_node_data.h" #include "ui/views/test/vi...
Zhao-PengFei35/chromium_src_4
ui/views/bubble/tooltip_icon_unittest.cc
C++
unknown
913
// 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/button_drag_utils.h" #include <memory> #include <utility> #include "base/memory/raw_ptr.h" #include "base/strings/utf_string_conversions.h" #include "ui/ba...
Zhao-PengFei35/chromium_src_4
ui/views/button_drag_utils.cc
C++
unknown
5,029
// 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_BUTTON_DRAG_UTILS_H_ #define UI_VIEWS_BUTTON_DRAG_UTILS_H_ #include <string> #include "ui/views/views_export.h" class GURL; namespace gfx { class ImageSkia...
Zhao-PengFei35/chromium_src_4
ui/views/button_drag_utils.h
C++
unknown
1,347
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/cascading_property.h" #include "ui/base/theme_provider.h" #include "ui/color/color_id.h" #include "ui/color/color_provider.h" #include "ui/gfx/color_utils.h...
Zhao-PengFei35/chromium_src_4
ui/views/cascading_property.cc
C++
unknown
1,904
// 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_CASCADING_PROPERTY_H_ #define UI_VIEWS_CASCADING_PROPERTY_H_ #include <memory> #include "third_party/abseil-cpp/absl/types/optional.h" #include "third_party/...
Zhao-PengFei35/chromium_src_4
ui/views/cascading_property.h
C++
unknown
2,530
include_rules = [ "+components/remote_cocoa", "+ui/accelerated_widget_mac", ]
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/DEPS
Python
unknown
82
// 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 "components/remote_cocoa/app_shim/native_widget_ns_window_bridge.h" #import <Cocoa/Cocoa.h> #import "base/mac/mac_util.h" #include "base/run_loop.h" #import "ui/base/...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/bridged_native_widget_interactive_uitest.mm
Objective-C++
unknown
6,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 "base/memory/raw_ptr.h" #import "components/remote_cocoa/app_shim/native_widget_ns_window_bridge.h" #import <Cocoa/Cocoa.h> #include <objc/runtime.h> #include <memo...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/bridged_native_widget_unittest.mm
Objective-C++
unknown
80,460
// 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 "components/remote_cocoa/app_shim/mouse_capture.h" #import <Cocoa/Cocoa.h> #import "base/mac/scoped_nsobject.h" #import "components/remote_cocoa/app_shim/mouse_captur...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/cocoa_mouse_capture_unittest.mm
Objective-C++
unknown
5,408
// 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_COCOA_DRAG_DROP_CLIENT_MAC_H_ #define UI_VIEWS_COCOA_DRAG_DROP_CLIENT_MAC_H_ #import <Cocoa/Cocoa.h> #include <memory> #include "base/functional/callback.h"...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/drag_drop_client_mac.h
Objective-C
unknown
2,850
// 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. #import "ui/views/cocoa/drag_drop_client_mac.h" #include "base/mac/mac_util.h" #include "base/run_loop.h" #include "base/strings/sys_string_conversions.h" #import "components/...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/drag_drop_client_mac.mm
Objective-C++
unknown
6,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. #include "base/memory/raw_ptr.h" #import "base/task/single_thread_task_runner.h" #include "base/task/single_thread_task_runner.h" #import "ui/views/cocoa/drag_drop_client_mac....
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/drag_drop_client_mac_unittest.mm
Objective-C++
unknown
11,475
// 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 "components/remote_cocoa/app_shim/native_widget_ns_window_fullscreen_controller.h" #include "base/test/task_environment.h" #include "testing/gmock/include/gmock/gmock...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/fullscreen_controller_unittest.cc
C++
unknown
32,245
// 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 "components/remote_cocoa/app_shim/immersive_mode_controller.h" #include "components/remote_cocoa/app_shim/immersive_mode_tabbed_controller.h" #import <Cocoa/Cocoa.h> ...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/immersive_mode_controller_unittest.mm
Objective-C++
unknown
15,110
// 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_COCOA_NATIVE_WIDGET_MAC_EVENT_MONITOR_H_ #define UI_VIEWS_COCOA_NATIVE_WIDGET_MAC_EVENT_MONITOR_H_ #include "base/functional/callback_helpers.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/native_widget_mac_event_monitor.h
C++
unknown
1,610
// 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/cocoa/native_widget_mac_event_monitor.h" #include "ui/views/cocoa/native_widget_mac_ns_window_host.h" namespace views { NativeWidgetMacEventMonitor::Nativ...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/native_widget_mac_event_monitor.mm
Objective-C++
unknown
479
// 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_COCOA_NATIVE_WIDGET_MAC_NS_WINDOW_HOST_H_ #define UI_VIEWS_COCOA_NATIVE_WIDGET_MAC_NS_WINDOW_HOST_H_ #include <list> #include <map> #include <memory> #include...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/native_widget_mac_ns_window_host.h
Objective-C
unknown
24,082
// 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/cocoa/native_widget_mac_ns_window_host.h" #include <tuple> #include <utility> #include "base/base64.h" #include "base/containers/contains.h" #include "base...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/native_widget_mac_ns_window_host.mm
Objective-C++
unknown
61,537
// 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_COCOA_NATIVE_WINDOW_TRACKER_COCOA_H_ #define UI_VIEWS_COCOA_NATIVE_WINDOW_TRACKER_COCOA_H_ #include "base/mac/scoped_nsobject.h" #include "ui/views/native_win...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/native_window_tracker_cocoa.h
Objective-C
unknown
999
// 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/cocoa/native_window_tracker_cocoa.h" #import <AppKit/AppKit.h> #include <memory> @interface BridgedNativeWindowTracker : NSObject { @private NSWindow* ...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/native_window_tracker_cocoa.mm
Objective-C++
unknown
1,841
// 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_COCOA_TEXT_INPUT_HOST_H_ #define UI_VIEWS_COCOA_TEXT_INPUT_HOST_H_ #include "base/memory/raw_ptr.h" #include "components/remote_cocoa/common/text_input_host.m...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/text_input_host.h
C++
unknown
4,088
// 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/cocoa/text_input_host.h" #include "components/remote_cocoa/app_shim/native_widget_ns_window_bridge.h" #include "ui/accelerated_widget_mac/window_resize_help...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/text_input_host.mm
Objective-C++
unknown
15,448
// 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_COCOA_TOOLTIP_MANAGER_MAC_H_ #define UI_VIEWS_COCOA_TOOLTIP_MANAGER_MAC_H_ #include "base/memory/raw_ptr.h" #include "ui/views/widget/tooltip_manager.h" name...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/tooltip_manager_mac.h
C++
unknown
1,237
// 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/cocoa/tooltip_manager_mac.h" #include "base/no_destructor.h" #import "components/remote_cocoa/app_shim/bridged_content_view.h" #import "components/remote_co...
Zhao-PengFei35/chromium_src_4
ui/views/cocoa/tooltip_manager_mac.mm
Objective-C++
unknown
1,567
// 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_COLOR_CHOOSER_COLOR_CHOOSER_LISTENER_H_ #define UI_VIEWS_COLOR_CHOOSER_COLOR_CHOOSER_LISTENER_H_ #include "third_party/skia/include/core/SkColor.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/views/color_chooser/color_chooser_listener.h
C++
unknown
780
// 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. // // Very quick HSV primer for those unfamiliar with it: // It helps to think of HSV like this: // h is in (0,360) and draws a circle of colors, with r = 0, b = 120, g = 240 ...
Zhao-PengFei35/chromium_src_4
ui/views/color_chooser/color_chooser_unittest.cc
C++
unknown
6,018
// 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/color_chooser/color_chooser_view.h" #include <stdint.h> #include <algorithm> #include <memory> #include <string> #include <utility> #include "base/check.h...
Zhao-PengFei35/chromium_src_4
ui/views/color_chooser/color_chooser_view.cc
C++
unknown
19,342
// 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_COLOR_CHOOSER_COLOR_CHOOSER_VIEW_H_ #define UI_VIEWS_COLOR_CHOOSER_COLOR_CHOOSER_VIEW_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "base/me...
Zhao-PengFei35/chromium_src_4
ui/views/color_chooser/color_chooser_view.h
C++
unknown
3,479
// 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/context_menu_controller.h" #include "base/auto_reset.h" namespace views { ContextMenuController::ContextMenuController() = default; ContextMenuController...
Zhao-PengFei35/chromium_src_4
ui/views/context_menu_controller.cc
C++
unknown
969
// 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_CONTEXT_MENU_CONTROLLER_H_ #define UI_VIEWS_CONTEXT_MENU_CONTROLLER_H_ #include "base/memory/weak_ptr.h" #include "ui/base/ui_base_types.h" #include "ui/views...
Zhao-PengFei35/chromium_src_4
ui/views/context_menu_controller.h
C++
unknown
2,212
// 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/animated_image_view.h" #include <utility> #include "base/check.h" #include "base/trace_event/trace_event.h" #include "cc/paint/skottie_wrapper.h" ...
Zhao-PengFei35/chromium_src_4
ui/views/controls/animated_image_view.cc
C++
unknown
4,331
// 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_ANIMATED_IMAGE_VIEW_H_ #define UI_VIEWS_CONTROLS_ANIMATED_IMAGE_VIEW_H_ #include <memory> #include <utility> #include "base/memory/raw_ptr.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/views/controls/animated_image_view.h
C++
unknown
4,428
// 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/animated_image_view.h" #include "base/memory/raw_ptr.h" #include "base/memory/scoped_refptr.h" #include "cc/paint/display_item_list.h" #include "cc...
Zhao-PengFei35/chromium_src_4
ui/views/controls/animated_image_view_unittest.cc
C++
unknown
5,389
// 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/controls/badge.h" #include "ui/base/metadata/metadata_impl_macros.h" #include "ui/views/badge_painter.h" #include "ui/views/controls/label.h" namespace vie...
Zhao-PengFei35/chromium_src_4
ui/views/controls/badge.cc
C++
unknown
1,000
// 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_CONTROLS_BADGE_H_ #define UI_VIEWS_CONTROLS_BADGE_H_ #include "ui/views/metadata/view_factory.h" #include "ui/views/view.h" #include "ui/views/views_export.h"...
Zhao-PengFei35/chromium_src_4
ui/views/controls/badge.h
C++
unknown
1,114
// 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/controls/base_control_test_widget.h" #include <memory> #include <utility> #include "build/build_config.h" #include "ui/views/widget/widget.h" #if BUILDFLA...
Zhao-PengFei35/chromium_src_4
ui/views/controls/base_control_test_widget.cc
C++
unknown
1,496
// 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_CONTROLS_BASE_CONTROL_TEST_WIDGET_H_ #define UI_VIEWS_CONTROLS_BASE_CONTROL_TEST_WIDGET_H_ #include "build/build_config.h" #include "ui/views/test/views_test_...
Zhao-PengFei35/chromium_src_4
ui/views/controls/base_control_test_widget.h
C++
unknown
1,492
// 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/controls/button/button.h" #include <utility> #include "base/debug/alias.h" #include "base/functional/bind.h" #include "base/strings/utf_string_conversions....
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/button.cc
C++
unknown
25,016
// 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_CONTROLS_BUTTON_BUTTON_H_ #define UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/gt...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/button.h
C++
unknown
14,989
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/controls/button/button_controller.h" #include <memory> #include <utility> #include "ui/accessibility/ax_node_data.h" #include "ui/views/animation/ink_drop....
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/button_controller.cc
C++
unknown
5,556
// 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_CONTROLS_BUTTON_BUTTON_CONTROLLER_H_ #define UI_VIEWS_CONTROLS_BUTTON_BUTTON_CONTROLLER_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "ui/ev...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/button_controller.h
C++
unknown
2,508
// 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_CONTROLS_BUTTON_BUTTON_CONTROLLER_DELEGATE_H_ #define UI_VIEWS_CONTROLS_BUTTON_BUTTON_CONTROLLER_DELEGATE_H_ #include "base/memory/raw_ptr.h" namespace views...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/button_controller_delegate.h
C++
unknown
1,590
// 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/button/button.h" #include <memory> #include <string> #include <utility> #include "base/functional/bind.h" #include "base/memory/ptr_util.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/button_unittest.cc
C++
unknown
36,270
// 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/button/checkbox.h" #include <stddef.h> #include <memory> #include <utility> #include "base/functional/bind.h" #include "ui/accessibility/ax_node_...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/checkbox.cc
C++
unknown
9,848
// 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_BUTTON_CHECKBOX_H_ #define UI_VIEWS_CONTROLS_BUTTON_CHECKBOX_H_ #include <memory> #include <string> #include "cc/paint/paint_flags.h" #include "thir...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/checkbox.h
C++
unknown
2,862
// 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/button/checkbox.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/controls/button/checkbox_unittest.cc
C++
unknown
2,498
// 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/button/image_button.h" #include <utility> #include "base/functional/bind.h" #include "base/strings/utf_string_conversions.h" #include "base/trace_...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/image_button.cc
C++
unknown
15,907
// 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_BUTTON_IMAGE_BUTTON_H_ #define UI_VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_H_ #include <memory> #include <utility> #include "base/gtest_prod_util.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/image_button.h
C++
unknown
8,873
// 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/button/image_button_factory.h" #include <memory> #include <utility> #include "base/memory/raw_ref.h" #include "ui/base/models/image_model.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/image_button_factory.cc
C++
unknown
6,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_VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_FACTORY_H_ #define UI_VIEWS_CONTROLS_BUTTON_IMAGE_BUTTON_FACTORY_H_ #include <memory> #include "third_party/abseil-cpp/absl/ty...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/image_button_factory.h
C++
unknown
3,628
// 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/button/image_button_factory.h" #include <memory> #include <utility> #include "base/memory/raw_ptr.h" #include "components/vector_icons/vector_icon...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/image_button_factory_unittest.cc
C++
unknown
3,448
// 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/button/image_button.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/skia/include/core/SkBitmap.h" #include "ui/base/layout.h...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/image_button_unittest.cc
C++
unknown
7,167
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/controls/button/label_button.h" #include <stddef.h> #include <algorithm> #include <utility> #include "base/lazy_instance.h" #include "base/logging.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button.cc
C++
unknown
22,808
// 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_BUTTON_LABEL_BUTTON_H_ #define UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_H_ #include <array> #include <memory> #include "base/functional/bind.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button.h
C++
unknown
12,806
// 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/button/label_button_border.h" #include <utility> #include "cc/paint/paint_flags.h" #include "ui/gfx/animation/animation.h" #include "ui/gfx/canvas...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button_border.cc
C++
unknown
5,479
// 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_BUTTON_LABEL_BUTTON_BORDER_H_ #define UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_BORDER_H_ #include <memory> #include "ui/gfx/geometry/insets.h" #include...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button_border.h
C++
unknown
2,468
// 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/button/label_button_label.h" #include <string> #include "third_party/skia/include/core/SkColor.h" #include "ui/base/metadata/metadata_impl_macros....
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button_label.cc
C++
unknown
3,033
// 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_BUTTON_LABEL_BUTTON_LABEL_H_ #define UI_VIEWS_CONTROLS_BUTTON_LABEL_BUTTON_LABEL_H_ #include <string> #include "base/functional/bind.h" #include "th...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button_label.h
C++
unknown
2,512
// 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/button/label_button_label.h" #include <map> #include <memory> #include "base/memory/raw_ptr.h" #include "third_party/skia/include/core/SkColor.h" ...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button_label_unittest.cc
C++
unknown
5,514
// 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/button/label_button.h" #include <algorithm> #include <string> #include <utility> #include "base/command_line.h" #include "base/memory/ptr_util.h" ...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/label_button_unittest.cc
C++
unknown
37,671
// 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/controls/button/md_text_button.h" #include <algorithm> #include <utility> #include <vector> #include "base/functional/bind.h" #include "base/i18n/case_conv...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/md_text_button.cc
C++
unknown
10,970
// 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_CONTROLS_BUTTON_MD_TEXT_BUTTON_H_ #define UI_VIEWS_CONTROLS_BUTTON_MD_TEXT_BUTTON_H_ #include <memory> #include "third_party/abseil-cpp/absl/types/optional.h...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/md_text_button.h
C++
unknown
3,854
// 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/controls/button/md_text_button.h" #include "third_party/skia/include/core/SkBitmap.h" #include "third_party/skia/include/core/SkColor.h" #include "ui/color/...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/md_text_button_unittest.cc
C++
unknown
3,294
// 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/button/menu_button.h" #include <memory> #include <utility> #include "ui/base/metadata/metadata_impl_macros.h" #include "ui/events/event.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/menu_button.cc
C++
unknown
1,655
// 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_BUTTON_MENU_BUTTON_H_ #define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ #include <string> #include "base/memory/raw_ptr.h" #include "ui/base/metadata/...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/menu_button.h
C++
unknown
1,710
// 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/button/menu_button_controller.h" #include <utility> #include "base/functional/bind.h" #include "ui/accessibility/ax_enums.mojom.h" #include "ui/ac...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/menu_button_controller.cc
C++
unknown
14,068
// 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_BUTTON_MENU_BUTTON_CONTROLLER_H_ #define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_CONTROLLER_H_ #include <memory> #include <utility> #include "base/memo...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/menu_button_controller.h
C++
unknown
5,453
// 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/button/menu_button.h" #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/memory/ptr_util.h" #include "base/memo...
Zhao-PengFei35/chromium_src_4
ui/views/controls/button/menu_button_unittest.cc
C++
unknown
26,166