code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/controls/menu/native_menu_win.h"
#include <utility>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_util.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/menu/native_menu_win.cc | C++ | unknown | 8,376 |
// 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_MENU_NATIVE_MENU_WIN_H_
#define UI_VIEWS_CONTROLS_MENU_NATIVE_MENU_WIN_H_
#include <memory>
#include <string>
#include <vector>
#include "base/memor... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/menu/native_menu_win.h | C++ | unknown | 3,850 |
// 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/menu/submenu_view.h"
#include <algorithm>
#include <numeric>
#include <set>
#include "base/compiler_specific.h"
#include "base/containers/contains... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/menu/submenu_view.cc | C++ | unknown | 20,872 |
// 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_MENU_SUBMENU_VIEW_H_
#define UI_VIEWS_CONTROLS_MENU_SUBMENU_VIEW_H_
#include <memory>
#include <set>
#include <string>
#include <vector>
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/menu/submenu_view.h | C++ | unknown | 8,967 |
// 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/menu/submenu_view.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/controls/menu/menu_item_view.h"
#include "ui/views/controls/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/menu/submenu_view_unittest.cc | C++ | unknown | 1,097 |
// 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/menu/test_menu_item_view.h"
namespace views {
TestMenuItemView::TestMenuItemView() = default;
TestMenuItemView::TestMenuItemView(MenuDelegate* de... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/menu/test_menu_item_view.cc | C++ | unknown | 433 |
// 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_MENU_TEST_MENU_ITEM_VIEW_H_
#define UI_VIEWS_CONTROLS_MENU_TEST_MENU_ITEM_VIEW_H_
#include "ui/views/controls/menu/menu_item_view.h"
namespace views... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/menu/test_menu_item_view.h | C++ | unknown | 1,094 |
// 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/message_box_view.h"
#include <stddef.h>
#include <memory>
#include <numeric>
#include <utility>
#include "base/functional/bind.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/message_box_view.cc | C++ | unknown | 11,627 |
// 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_MESSAGE_BOX_VIEW_H_
#define UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "base/gtest_prod... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/message_box_view.h | C++ | unknown | 5,082 |
// 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/message_box_view.h"
#include <algorithm>
#include <memory>
#include <string>
#include "base/functional/callback_helpers.h"
#include "base/memory/r... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/message_box_view_unittest.cc | C++ | unknown | 6,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/controls/native/native_view_host.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host.cc | C++ | unknown | 10,307 |
// 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_NATIVE_NATIVE_VIEW_HOST_H_
#define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_H_
#include <memory>
#include "third_party/abseil-cpp/absl/types/option... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host.h | C++ | unknown | 6,452 |
// 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/native/native_view_host_aura.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "build/buil... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_aura.cc | C++ | unknown | 13,089 |
// 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_NATIVE_NATIVE_VIEW_HOST_AURA_H_
#define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_AURA_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_aura.h | C++ | unknown | 4,493 |
// 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/native/native_view_host_aura.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "ui/aura/client/a... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_aura_unittest.cc | C++ | unknown | 24,466 |
// 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_CONTROLS_NATIVE_NATIVE_VIEW_HOST_MAC_H_
#define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_MAC_H_
#include <memory>
#include "base/mac/scoped_nsobject.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_mac.h | C++ | unknown | 3,041 |
// 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/native/native_view_host_mac.h"
#import <Cocoa/Cocoa.h>
#include "base/mac/foundation_util.h"
#import "ui/accessibility/platform/ax_platform_node_m... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_mac.mm | Objective-C++ | unknown | 9,588 |
// 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/native/native_view_host_mac.h"
#import <Cocoa/Cocoa.h>
#include <memory>
#include "base/mac/mac_util.h"
#import "base/mac/scoped_nsobject.h"
#imp... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_mac_unittest.mm | Objective-C++ | unknown | 8,336 |
// 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/native/native_view_host_test_base.h"
#include <utility>
#include "base/memory/raw_ptr.h"
#include "ui/views/controls/native/native_view_host.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_test_base.cc | C++ | unknown | 2,720 |
// 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_CONTROLS_NATIVE_NATIVE_VIEW_HOST_TEST_BASE_H_
#define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_TEST_BASE_H_
#include <memory>
#include "ui/views/test/views_... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_test_base.h | C++ | unknown | 2,378 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/controls/native/native_view_host.h"
#include <memory>
#include "ui/aura/window.h"
#include "ui/views/controls/native/native_view_host_test_base.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_unittest.cc | C++ | unknown | 9,577 |
// 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_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_
#define UI_VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_
#include <memory>
#include "ui/base/cursor/cursor.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/native/native_view_host_wrapper.h | C++ | unknown | 4,864 |
// 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_CONTROLS_PREFIX_DELEGATE_H_
#define UI_VIEWS_CONTROLS_PREFIX_DELEGATE_H_
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/views/view.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/prefix_delegate.h | C++ | unknown | 1,010 |
// 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/prefix_selector.h"
#include <algorithm>
#include <limits>
#include "base/i18n/case_conversion.h"
#include "base/time/default_tick_clock.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/prefix_selector.cc | C++ | unknown | 7,769 |
// 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_CONTROLS_PREFIX_SELECTOR_H_
#define UI_VIEWS_CONTROLS_PREFIX_SELECTOR_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <vector>
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/prefix_selector.h | C++ | unknown | 4,858 |
// 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/prefix_selector.h"
#include <memory>
#include <string>
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/prefix_selector_unittest.cc | C++ | unknown | 3,151 |
// 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/progress_bar.h"
#include <algorithm>
#include <cmath>
#include <memory>
#include <string>
#include "base/check_op.h"
#include "base/i18n/number_fo... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/progress_bar.cc | C++ | unknown | 10,350 |
// 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_PROGRESS_BAR_H_
#define UI_VIEWS_CONTROLS_PROGRESS_BAR_H_
#include <memory>
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/col... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/progress_bar.h | C++ | unknown | 3,253 |
// 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/progress_bar.h"
#include <string>
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/progress_bar_unittest.cc | C++ | unknown | 4,313 |
// 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/progress_ring_utils.h"
#include <utility>
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace views {
namespace {... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/progress_ring_utils.cc | C++ | unknown | 2,331 |
// 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_CONTROLS_PROGRESS_RING_UTILS_H_
#define UI_VIEWS_CONTROLS_PROGRESS_RING_UTILS_H_
#include "ui/views/view.h"
#include "ui/views/views_export.h"
namespace view... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/progress_ring_utils.h | C++ | unknown | 1,637 |
// 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/resize_area.h"
#include "base/i18n/rtl.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/metadat... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/resize_area.cc | C++ | unknown | 2,355 |
// 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_RESIZE_AREA_H_
#define UI_VIEWS_CONTROLS_RESIZE_AREA_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/view.h"
namespace views {
class ResizeA... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/resize_area.h | C++ | unknown | 1,734 |
// 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_RESIZE_AREA_DELEGATE_H_
#define UI_VIEWS_CONTROLS_RESIZE_AREA_DELEGATE_H_
namespace views {
// An interface implemented by objects that want to be n... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/resize_area_delegate.h | C++ | unknown | 1,052 |
// 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/resize_area.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "build/build_confi... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/resize_area_unittest.cc | C++ | unknown | 7,443 |
// 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/scroll_view.h"
#include <algorithm>
#include "base/check_op.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/i18... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scroll_view.cc | C++ | unknown | 51,577 |
// 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_SCROLL_VIEW_H_
#define UI_VIEWS_CONTROLS_SCROLL_VIEW_H_
#include <memory>
#include <utility>
#include "base/callback_list.h"
#include "base/gtest_pr... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scroll_view.h | C++ | unknown | 20,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.
#include "ui/views/controls/scroll_view.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/run_loo... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scroll_view_unittest.cc | C++ | unknown | 108,800 |
// 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/scrollbar/base_scroll_bar_thumb.h"
#include "base/i18n/rtl.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/canvas.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/base_scroll_bar_thumb.cc | C++ | unknown | 4,325 |
// 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_SCROLLBAR_BASE_SCROLL_BAR_THUMB_H_
#define UI_VIEWS_CONTROLS_SCROLLBAR_BASE_SCROLL_BAR_THUMB_H_
#include "base/memory/raw_ptr.h"
#include "ui/gfx/geo... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/base_scroll_bar_thumb.h | C++ | unknown | 3,094 |
// 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_SCROLLBAR_COCOA_SCROLL_BAR_H_
#define UI_VIEWS_CONTROLS_SCROLLBAR_COCOA_SCROLL_BAR_H_
#import "base/mac/scoped_nsobject.h"
#include "base/timer/timer... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/cocoa_scroll_bar.h | Objective-C | unknown | 4,582 |
// 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 "ui/views/controls/scrollbar/cocoa_scroll_bar.h"
#include "base/functional/bind.h"
#include "base/i18n/rtl.h"
#include "cc/paint/pain... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/cocoa_scroll_bar.mm | Objective-C++ | unknown | 17,444 |
// 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/scrollbar/overlay_scroll_bar.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/i18n/rtl.h"
#include "cc/paint/paint_flags.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/overlay_scroll_bar.cc | C++ | unknown | 7,078 |
// 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_CONTROLS_SCROLLBAR_OVERLAY_SCROLL_BAR_H_
#define UI_VIEWS_CONTROLS_SCROLLBAR_OVERLAY_SCROLL_BAR_H_
#include "base/memory/raw_ptr.h"
#include "base/timer/timer... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/overlay_scroll_bar.h | C++ | unknown | 2,018 |
// 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/scrollbar/scroll_bar.h"
#include <algorithm>
#include <memory>
#include <string>
#include "base/compiler_specific.h"
#include "base/containers/fla... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scroll_bar.cc | C++ | unknown | 18,091 |
// 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_SCROLLBAR_SCROLL_BAR_H_
#define UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_H_
#include <memory>
#include "base/gtest_prod_util.h"
#include "base/memory/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scroll_bar.h | C++ | unknown | 11,449 |
// 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/scrollbar/scroll_bar_button.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/time/tick_clock.h"
#include "ui/base/metadata/m... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scroll_bar_button.cc | C++ | unknown | 3,533 |
// 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_SCROLLBAR_SCROLL_BAR_BUTTON_H_
#define UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_BUTTON_H_
#include "ui/base/metadata/metadata_header_macros.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scroll_bar_button.h | C++ | unknown | 2,031 |
// 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/scrollbar/scroll_bar_button.h"
#include <memory>
#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scroll_bar_button_unittest.cc | C++ | unknown | 4,641 |
// 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/scrollbar/scroll_bar_views.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scroll_bar_views.cc | C++ | unknown | 8,016 |
// 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_SCROLLBAR_SCROLL_BAR_VIEWS_H_
#define UI_VIEWS_CONTROLS_SCROLLBAR_SCROLL_BAR_VIEWS_H_
#include "base/memory/raw_ptr.h"
#include "ui/base/metadata/met... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scroll_bar_views.h | C++ | unknown | 1,607 |
// 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 <memory>
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "ui/base/ui_base_types.h"
#include "ui/events/test/even... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/scrollbar/scrollbar_unittest.cc | C++ | unknown | 10,513 |
// 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/separator.h"
#include <algorithm>
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provi... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/separator.cc | C++ | unknown | 3,670 |
// 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_SEPARATOR_H_
#define UI_VIEWS_CONTROLS_SEPARATOR_H_
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/color/color_id.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/separator.h | C++ | unknown | 1,858 |
// 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/separator.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/color/color_id.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_p... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/separator_unittest.cc | C++ | unknown | 13,337 |
// 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/slider.h"
#include <algorithm>
#include <iterator>
#include <memory>
#include <utility>
#include "base/check_op.h"
#include "base/i18n/rtl.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/slider.cc | C++ | unknown | 14,640 |
// 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_SLIDER_H_
#define UI_VIEWS_CONTROLS_SLIDER_H_
#include <memory>
#include "base/containers/flat_set.h"
#include "base/memory/raw_ptr.h"
#include "thi... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/slider.h | C++ | unknown | 5,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.
#include "ui/views/controls/slider.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/i18n/rtl.h"
#include "base/memory/raw_ptr.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/slider_unittest.cc | C++ | unknown | 16,279 |
// 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/styled_label.h"
#include <stddef.h>
#include <algorithm>
#include <limits>
#include <utility>
#include "base/i18n/rtl.h"
#include "base/ranges/al... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/styled_label.cc | C++ | unknown | 24,109 |
// 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_CONTROLS_STYLED_LABEL_H_
#define UI_VIEWS_CONTROLS_STYLED_LABEL_H_
#include <list>
#include <map>
#include <memory>
#include <set>
#include <string>
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/styled_label.h | C++ | unknown | 11,023 |
// 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/styled_label.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <utility>
#include "base/command_line.h"
#include "base/function... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/styled_label_unittest.cc | C++ | unknown | 35,049 |
// 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/tabbed_pane/tabbed_pane.h"
#include <algorithm>
#include <string>
#include <utility>
#include "base/check_op.h"
#include "base/i18n/rtl.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tabbed_pane/tabbed_pane.cc | C++ | unknown | 24,383 |
// 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_TABBED_PANE_TABBED_PANE_H_
#define UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_H_
#include <memory>
#include <string>
#include <utility>
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tabbed_pane/tabbed_pane.h | C++ | unknown | 9,623 |
// 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/memory/raw_ptr.h"
#import <Cocoa/Cocoa.h>
#import "base/mac/foundation_util.h"
#import "base/mac/mac_util.h"
#import "base/mac/scoped_nsobject.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tabbed_pane/tabbed_pane_accessibility_mac_unittest.mm | Objective-C++ | unknown | 6,919 |
// 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_TABBED_PANE_TABBED_PANE_LISTENER_H_
#define UI_VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_LISTENER_H_
#include "ui/views/views_export.h"
namespace views... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tabbed_pane/tabbed_pane_listener.h | C++ | unknown | 754 |
// 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/tabbed_pane/tabbed_pane.h"
#include <memory>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc | C++ | unknown | 15,559 |
// 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_TABLE_TABLE_GROUPER_H_
#define UI_VIEWS_CONTROLS_TABLE_TABLE_GROUPER_H_
#include "ui/views/views_export.h"
namespace views {
struct VIEWS_EXPORT Gr... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_grouper.h | C++ | unknown | 778 |
// 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/table/table_header.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include <vector>
#include "base/i18n/rtl.h"
#include "cc/paint/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_header.cc | C++ | unknown | 13,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_CONTROLS_TABLE_TABLE_HEADER_H_
#define UI_VIEWS_CONTROLS_TABLE_TABLE_HEADER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/base/metadata/... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_header.h | C++ | unknown | 3,668 |
// 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/table/table_utils.h"
#include <stddef.h>
#include <algorithm>
#include "base/i18n/rtl.h"
#include "base/notreached.h"
#include "ui/base/models/ta... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_utils.cc | C++ | unknown | 4,467 |
// 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_TABLE_TABLE_UTILS_H_
#define UI_VIEWS_CONTROLS_TABLE_TABLE_UTILS_H_
#include <vector>
#include "third_party/abseil-cpp/absl/types/optional.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_utils.h | C++ | unknown | 2,572 |
// 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/table/table_utils.h"
#include <stddef.h>
#include <string>
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gt... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_utils_unittest.cc | C++ | unknown | 4,571 |
// 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/table/table_view.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <map>
#include <utility>
#include "base/auto_reset.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_view.cc | C++ | unknown | 68,811 |
// 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_TABLE_TABLE_VIEW_H_
#define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_H_
#include <memory>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_view.h | C++ | unknown | 22,004 |
// 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_TABLE_TABLE_VIEW_OBSERVER_H_
#define UI_VIEWS_CONTROLS_TABLE_TABLE_VIEW_OBSERVER_H_
#include "ui/events/keycodes/keyboard_codes.h"
#include "ui/views... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_view_observer.h | C++ | unknown | 1,033 |
// 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/table/table_view.h"
#include <stddef.h>
#include <algorithm>
#include <string>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/table_view_unittest.cc | C++ | unknown | 80,541 |
// 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/table/test_table_model.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "third_part... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/test_table_model.cc | C++ | unknown | 1,196 |
// 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_TABLE_TEST_TABLE_MODEL_H_
#define UI_VIEWS_CONTROLS_TABLE_TEST_TABLE_MODEL_H_
#include "base/memory/raw_ptr.h"
#include "ui/base/models/table_model.h... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/table/test_table_model.h | C++ | unknown | 937 |
// 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/textarea/textarea.h"
#include "base/logging.h"
#include "ui/base/ime/text_edit_commands.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textarea/textarea.cc | C++ | unknown | 4,537 |
// 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_TEXTAREA_TEXTAREA_H_
#define UI_VIEWS_CONTROLS_TEXTAREA_TEXTAREA_H_
#include "ui/views/controls/textfield/textfield.h"
namespace views {
// A multi... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textarea/textarea.h | C++ | unknown | 992 |
// 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/textarea/textarea.h"
#include <memory>
#include <string>
#include <vector>
#include "base/format_macros.h"
#include "base/memory/raw_ptr.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textarea/textarea_unittest.cc | C++ | unknown | 10,322 |
// 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/textfield/textfield.h"
#include <algorithm>
#include <set>
#include <string>
#include <utility>
#include "base/auto_reset.h"
#include "base/comman... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield.cc | C++ | unknown | 106,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.
#ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
#define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <set>
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield.h | C++ | unknown | 34,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/controls/textfield/textfield_controller.h"
#include "base/functional/callback_helpers.h"
#include "ui/base/dragdrop/mojom/drag_drop_types.mojom.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_controller.cc | C++ | unknown | 1,109 |
// 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_TEXTFIELD_TEXTFIELD_CONTROLLER_H_
#define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_CONTROLLER_H_
#include <set>
#include <string>
#include "ui/base/cli... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_controller.h | C++ | unknown | 4,050 |
// 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/textfield/textfield_model.h"
#include <algorithm>
#include <utility>
#include "base/check_op.h"
#include "base/no_destructor.h"
#include "base/ran... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_model.cc | C++ | unknown | 35,314 |
// 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_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_
#define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_
#include <stddef.h>
#include <list>
#include <memory>
#include <... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_model.h | C++ | unknown | 14,469 |
// 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/textfield/textfield_model.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <vector>
#include "base/auto_reset.h"
#include "bui... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_model_unittest.cc | C++ | unknown | 101,386 |
// 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/textfield/textfield_test_api.h"
#include "ui/gfx/geometry/rect.h"
namespace views {
TextfieldTestApi::TextfieldTestApi(Textfield* textfield)
... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_test_api.cc | C++ | unknown | 1,242 |
// 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_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_
#define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_
#include "base/memory/raw_ptr.h"
#include "ui/compositor/la... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_test_api.h | C++ | unknown | 2,315 |
// 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/textfield/textfield_unittest.h"
#include <stddef.h>
#include <stdint.h>
#include <set>
#include <string>
#include <vector>
#include "base/command... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_unittest.cc | C++ | unknown | 188,638 |
// 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_TEXTFIELD_TEXTFIELD_UNITTEST_H_
#define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_UNITTEST_H_
#include "ui/views/controls/textfield/textfield.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/textfield/textfield_unittest.h | C++ | unknown | 5,916 |
// 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/theme_tracking_image_view.h"
#include "base/functional/callback.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/models/imag... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/theme_tracking_image_view.cc | C++ | unknown | 2,291 |
// 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_THEME_TRACKING_IMAGE_VIEW_H_
#define UI_VIEWS_CONTROLS_THEME_TRACKING_IMAGE_VIEW_H_
#include "base/functional/callback.h"
#include "ui/base/models/im... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/theme_tracking_image_view.h | C++ | unknown | 2,030 |
// 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/theme_tracking_image_view.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "components/vector_icons/vector_icons... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/theme_tracking_image_view_unittest.cc | C++ | unknown | 5,751 |
// 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/throbber.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/metada... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/throbber.cc | C++ | unknown | 4,119 |
// 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_THROBBER_H_
#define UI_VIEWS_CONTROLS_THROBBER_H_
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "ui/views/view.h"
namespace vie... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/throbber.h | C++ | unknown | 3,052 |
// 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 <algorithm>
#include <utility>
#include "base/containers/adapters.h"
#include "base/i18n/rtl.h"
#include "base/memory/p... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tree/tree_view.cc | C++ | unknown | 51,887 |
// 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_H_
#define UI_VIEWS_CONTROLS_TREE_TREE_VIEW_H_
#include <memory>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "ui/base... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tree/tree_view.h | C++ | unknown | 19,277 |
// 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_controller.h"
#include "ui/base/models/tree_model.h"
#include "ui/views/controls/tree/tree_view.h"
namespace views {
bool TreeView... | Zhao-PengFei35/chromium_src_4 | ui/views/controls/tree/tree_view_controller.cc | C++ | unknown | 482 |