code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/examples/examples_color_mixer.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/color/color_mixer.h"
#include "ui/color/color_recipe.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_color_mixer.cc | C++ | unknown | 3,980 |
// 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_MIXER_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_COLOR_MIXER_H_
#include "ui/color/color_provider.h"
#include "ui/color/color_provider_mana... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_color_mixer.h | C++ | unknown | 634 |
// 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_EXAMPLES_EXIT_CODE_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_EXIT_CODE_H_
namespace views::examples {
enum class ExamplesExitCode {
// Comparison succ... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_exit_code.h | C++ | unknown | 551 |
// 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 "base/at_exit.h"
#include "base/command_line.h"
#include "base/test/test_timeouts.h"
#include "ui/views/examples/examples_main_proc.h"
int main(int argc, char** argv)... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_main.cc | C++ | unknown | 615 |
// 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/examples_main_proc.h"
#include <memory>
#include <string>
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/feature_li... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_main_proc.cc | C++ | unknown | 6,773 |
// 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_EXAMPLES_MAIN_PROC_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_MAIN_PROC_H_
#include "ui/views/examples/examples_exit_code.h"
namespace views::examples {
... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_main_proc.h | C++ | unknown | 466 |
// 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/examples_skia_gold_pixel_diff.h"
#include <utility>
#include "base/run_loop.h"
#include "ui/snapshot/snapshot.h"
#include "ui/views/examples/examp... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_skia_gold_pixel_diff.cc | C++ | unknown | 1,899 |
// 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_EXAMPLES_SKIA_GOLD_PIXEL_DIFF_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_SKIA_GOLD_PIXEL_DIFF_H_
#include <string>
#include "base/run_loop.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_skia_gold_pixel_diff.h | C++ | unknown | 1,158 |
// 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/examples_themed_label.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/color/color_provider.h"
namespace views::examples {
Them... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_themed_label.cc | C++ | unknown | 1,075 |
// 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_THEMED_LABEL_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_THEMED_LABEL_H_
#include "third_party/abseil-cpp/absl/types/optional.h"
#include "ui/base... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_themed_label.h | C++ | unknown | 1,234 |
// 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 "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/examples/examples_exit_code.h"
#include "ui/views/examples/examples_main_proc.... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_unittest.cc | C++ | unknown | 844 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/functional/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
int main(int argc, char** argv) {
base::TestSuite test... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_unittest_main.cc | C++ | unknown | 469 |
// 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/examples_views_delegate_chromeos.h"
#include "ui/views/examples/examples_window.h"
#include "ui/wm/test/wm_test_helper.h"
namespace views::example... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_views_delegate_chromeos.cc | C++ | unknown | 1,311 |
// 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_EXAMPLES_VIEWS_DELEGATE_CHROMEOS_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_VIEWS_DELEGATE_CHROMEOS_H_
#include <memory>
#include "base/scoped_observatio... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_views_delegate_chromeos.h | C++ | unknown | 1,289 |
// 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/examples_window.h"
#include <algorithm>
#include <iostream>
#include <iterator>
#include <memory>
#include <string>
#include <utility>
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_window.cc | C++ | unknown | 7,357 |
// 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_EXAMPLES_WINDOW_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_
#include <memory>
#include <string>
#include <vector>
#include "base/functional/call... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_window.h | C++ | unknown | 1,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.
#include "ui/views/examples/examples_window_with_content.h"
#include <memory>
#include <utility>
#include <vector>
#include "content/public/browser/browser_context.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_window_with_content.cc | C++ | unknown | 943 |
// 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_EXAMPLES_WINDOW_WITH_CONTENT_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_WITH_CONTENT_H_
#include "base/functional/callback_forward.h"
#include "ui/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_window_with_content.h | C++ | unknown | 867 |
// 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/command_line.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/path_service.h"
#include "build/build_config.h"
#include "cont... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/examples_with_content_main.cc | C++ | unknown | 3,909 |
// 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/fade_animation.h"
#include <algorithm>
#include <memory>
#include "base/functional/bind.h"
#include "third_party/abseil-cpp/absl/types/optional.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/fade_animation.cc | C++ | unknown | 6,274 |
// 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_FADE_ANIMATION_H_
#define UI_VIEWS_EXAMPLES_FADE_ANIMATION_H_
#include "base/memory/raw_ptr_exclusion.h"
#include "ui/gfx/geometry/size.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/fade_animation.h | C++ | unknown | 1,723 |
// 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/flex_layout_example.h"
#include <memory>
#include <string>
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_c... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/flex_layout_example.cc | C++ | unknown | 5,480 |
// 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_FLEX_LAYOUT_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_FLEX_LAYOUT_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/controls/button/button.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/flex_layout_example.h | C++ | unknown | 1,759 |
// 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/ink_drop_example.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/strings/utf_string_conversions.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/ink_drop_example.cc | C++ | unknown | 6,769 |
// 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_INK_DROP_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_INK_DROP_EXAMPLE_H_
#include "base/functional/callback.h"
#include "base/memory/raw_ptr_exclusion.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/ink_drop_example.h | C++ | unknown | 1,219 |
// 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/label_example.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/label_example.cc | C++ | unknown | 10,253 |
// 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_LABEL_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_LABEL_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "base/scoped_observation.h"
#include "ui/views/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/label_example.h | C++ | unknown | 2,300 |
// 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/layout_example_base.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "base/strings/string_number_conversion... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/layout_example_base.cc | C++ | unknown | 12,429 |
// 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_LAYOUT_EXAMPLE_BASE_H_
#define UI_VIEWS_EXAMPLES_LAYOUT_EXAMPLE_BASE_H_
#include "base/memory/raw_ptr.h"
#include "ui/gfx/geometry/insets.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/layout_example_base.h | C++ | unknown | 4,972 |
// 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/link_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/link_example.cc | C++ | unknown | 1,242 |
// 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_LINK_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_LINK_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views::examples {
class VIEWS_EXAMP... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/link_example.h | C++ | unknown | 671 |
// 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/login_bubble_dialog_example.h"
#include <memory>
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/strings/str... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/login_bubble_dialog_example.cc | C++ | unknown | 6,878 |
// 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_LOGIN_BUBBLE_DIALOG_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_LOGIN_BUBBLE_DIALOG_EXAMPLE_H_
#include <string>
#include "base/memory/raw_ptr.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/login_bubble_dialog_example.h | C++ | unknown | 2,192 |
// 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/menu_example.h"
#include <memory>
#include <set>
#include <utility>
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/menu_example.cc | C++ | unknown | 7,527 |
// 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_MENU_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_MENU_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views::examples {
// MenuExample de... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/menu_example.h | C++ | unknown | 760 |
// 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/message_box_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/message_box_example.cc | C++ | unknown | 2,537 |
// 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_MESSAGE_BOX_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/examples/example_base.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/message_box_example.h | C++ | unknown | 1,018 |
// 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/examples/multiline_example.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "third_party/skia/i... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/multiline_example.cc | C++ | unknown | 7,913 |
// 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_EXAMPLES_MULTILINE_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_MULTILINE_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/controls/textfield/textfield_... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/multiline_example.h | C++ | unknown | 1,555 |
// 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/notification_example.h"
#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include "base/memory/scoped_refptr.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/notification_example.cc | C++ | unknown | 3,947 |
// 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_NOTIFICATION_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_NOTIFICATION_EXAMPLE_H_
#include "base/scoped_observation.h"
#include "ui/views/examples/example_ba... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/notification_example.h | C++ | unknown | 1,129 |
// 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/progress_bar_example.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/ba... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/progress_bar_example.cc | C++ | unknown | 2,825 |
// 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_PROGRESS_BAR_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_PROGRESS_BAR_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/examples/example_base.h... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/progress_bar_example.h | C++ | unknown | 953 |
// 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/radio_button_example.h"
#include <stddef.h>
#include <memory>
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringpr... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/radio_button_example.cc | C++ | unknown | 2,352 |
// 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_RADIO_BUTTON_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_RADIO_BUTTON_EXAMPLE_H_
#include <vector>
#include "ui/views/examples/example_base.h"
namespace v... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/radio_button_example.h | C++ | unknown | 929 |
// 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/scroll_view_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "cc/paint/paint_flags.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/scroll_view_example.cc | C++ | unknown | 6,520 |
// 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_SCROLL_VIEW_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_SCROLL_VIEW_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/color/color_id.h"
#include "ui/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/scroll_view_example.h | C++ | unknown | 1,097 |
// 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/slider_example.h"
#include <memory>
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/slider_example.cc | C++ | unknown | 2,638 |
// 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_SLIDER_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_SLIDER_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/controls/slider.h"
#include "ui/vie... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/slider_example.h | C++ | unknown | 1,267 |
// 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/square_ink_drop_example.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "ui/views/animation/ink_drop_host.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/square_ink_drop_example.cc | C++ | unknown | 1,327 |
// 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_SQUARE_INK_DROP_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_SQUARE_INK_DROP_EXAMPLE_H_
#include "ui/views/examples/ink_drop_example.h"
namespace views::exa... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/square_ink_drop_example.h | C++ | unknown | 749 |
// 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/tabbed_pane_example.h"
#include <memory>
#include <utility>
#include "base/format_macros.h"
#include "base/strings/utf_string_conversions.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/tabbed_pane_example.cc | C++ | unknown | 5,803 |
// 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_TABBED_PANE_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_TABBED_PANE_EXAMPLE_H_
#include <string>
#include "base/memory/raw_ptr.h"
#include "ui/views/contro... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/tabbed_pane_example.h | C++ | unknown | 1,634 |
// 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/table_example.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/strings/string_util.h"
#include "base/strings/utf_string_co... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/table_example.cc | C++ | unknown | 6,550 |
// 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_TABLE_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_TABLE_EXAMPLE_H_
#include <string>
#include "base/memory/raw_ptr.h"
#include "base/scoped_observation.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/table_example.h | C++ | unknown | 2,509 |
// 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/text_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/text_example.cc | C++ | unknown | 10,999 |
// 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_TEXT_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_TEXT_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/examples/example_base.h"
namespace vie... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/text_example.h | C++ | unknown | 2,327 |
// 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/textarea_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/textarea_example.cc | C++ | unknown | 1,568 |
// 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_TEXTAREA_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_TEXTAREA_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views::examples {
class VIE... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/textarea_example.h | C++ | unknown | 606 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/examples/textfield_example.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/textfield_example.cc | C++ | unknown | 8,026 |
// 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_TEXTFIELD_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_TEXTFIELD_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/controls/textfield/textfield_... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/textfield_example.h | C++ | unknown | 1,953 |
// 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/throbber_example.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/controls/throbber.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/throbber_example.cc | C++ | unknown | 1,865 |
// 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_THROBBER_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_THROBBER_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views::examples {
class VIE... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/throbber_example.h | C++ | unknown | 713 |
// 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/toggle_button_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/toggle_button_example.cc | C++ | unknown | 2,174 |
// 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_TOGGLE_BUTTON_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_TOGGLE_BUTTON_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views {
class Togg... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/toggle_button_example.h | C++ | unknown | 911 |
// 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/tree_view_example.h"
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/co... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/tree_view_example.cc | C++ | unknown | 8,217 |
// 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_TREE_VIEW_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_TREE_VIEW_EXAMPLE_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/base/models/simp... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/tree_view_example.h | C++ | unknown | 2,531 |
// 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/examples/vector_example.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/files/file_enumerator.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/vector_example.cc | C++ | unknown | 10,172 |
// 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_EXAMPLES_VECTOR_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_VECTOR_EXAMPLE_H_
#include "ui/views/examples/example_base.h"
namespace views::examples {
class VIEWS_E... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/vector_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.
#ifndef UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_
#define UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_
// Defines VIEWS_EXAMPLES_EXPORT so that functionality implemented by the... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/views_examples_export.h | C | unknown | 962 |
// 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_VIEWS_EXAMPLES_WITH_CONTENT_EXPORT_H_
#define UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_WITH_CONTENT_EXPORT_H_
// Defines VIEWS_EXAMPLES_WITH_CONTENT_EXPORT s... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/views_examples_with_content_export.h | C | unknown | 1,122 |
// 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/webview_example.h"
#include <memory>
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/webview_example.cc | C++ | unknown | 1,426 |
// 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_WEBVIEW_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_WEBVIEW_EXAMPLE_H_
#include "base/memory/raw_ptr.h"
#include "content/public/browser/web_contents_delega... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/webview_example.h | C++ | unknown | 1,346 |
// 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/widget_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/widget_example.cc | C++ | unknown | 4,792 |
// 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_WIDGET_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_WIDGET_EXAMPLE_H_
#include <string>
#include "ui/views/examples/example_base.h"
#include "ui/views/widge... | Zhao-PengFei35/chromium_src_4 | ui/views/examples/widget_example.h | C++ | unknown | 1,205 |
// 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/focus/external_focus_tracker.h"
#include <memory>
#include "base/check.h"
#include "ui/views/view.h"
#include "ui/views/view_tracker.h"
namespace views {
... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/external_focus_tracker.cc | C++ | unknown | 2,209 |
// 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_FOCUS_EXTERNAL_FOCUS_TRACKER_H_
#define UI_VIEWS_FOCUS_EXTERNAL_FOCUS_TRACKER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/views/focus/... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/external_focus_tracker.h | C++ | unknown | 3,085 |
// 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/focus/focus_manager.h"
#include <utility>
#include <vector>
#include "base/auto_reset.h"
#include "base/check_op.h"
#include "base/containers/cxx20_erase.h... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_manager.cc | C++ | unknown | 24,422 |
// 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_FOCUS_FOCUS_MANAGER_H_
#define UI_VIEWS_FOCUS_FOCUS_MANAGER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_manager.h | C++ | unknown | 16,139 |
// 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_FOCUS_FOCUS_MANAGER_DELEGATE_H_
#define UI_VIEWS_FOCUS_FOCUS_MANAGER_DELEGATE_H_
#include "ui/views/views_export.h"
namespace ui {
class Accelerator;
}
name... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_manager_delegate.h | C++ | unknown | 1,010 |
// 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/focus/focus_manager_factory.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/focus/focus_manager_delegate.h"
namespace views {
namespace {
... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_manager_factory.cc | C++ | unknown | 1,507 |
// 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_FOCUS_FOCUS_MANAGER_FACTORY_H_
#define UI_VIEWS_FOCUS_FOCUS_MANAGER_FACTORY_H_
#include <memory>
#include "ui/views/views_export.h"
namespace views {
class... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_manager_factory.h | C++ | unknown | 1,224 |
// 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/focus/focus_manager.h"
#include <stddef.h>
#include <string>
#include <utility>
#include <vector>
#include "base/command_line.h"
#include "base/memory/raw... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_manager_unittest.cc | C++ | unknown | 51,538 |
// 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/focus/focus_search.h"
#include "base/logging.h"
#include "build/build_config.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/view.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_search.cc | C++ | unknown | 13,268 |
// 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_FOCUS_FOCUS_SEARCH_H_
#define UI_VIEWS_FOCUS_FOCUS_SEARCH_H_
#include "base/containers/flat_set.h"
#include "base/memory/raw_ptr.h"
#include "ui/views/view.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_search.h | C++ | unknown | 6,377 |
// 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 <stddef.h>
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversio... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/focus_traversal_unittest.cc | C++ | unknown | 36,078 |
// 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/focus/widget_focus_manager.h"
#include "base/no_destructor.h"
#include "base/observer_list.h"
namespace views {
// WidgetFocusManager --------------------... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/widget_focus_manager.cc | C++ | unknown | 1,503 |
// 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_FOCUS_WIDGET_FOCUS_MANAGER_H_
#define UI_VIEWS_FOCUS_WIDGET_FOCUS_MANAGER_H_
#include "base/no_destructor.h"
#include "base/observer_list.h"
#include "ui/gfx/... | Zhao-PengFei35/chromium_src_4 | ui/views/focus/widget_focus_manager.h | C++ | unknown | 2,628 |
// 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/highlight_border.h"
#include "ui/chromeos/styles/cros_tokens_color_mappings.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/highlight_border.cc | C++ | unknown | 5,862 |
// 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_HIGHLIGHT_BORDER_H_
#define UI_VIEWS_HIGHLIGHT_BORDER_H_
#include "ui/gfx/geometry/rounded_corners_f.h"
#include "ui/views/border.h"
#include "ui/views/views_... | Zhao-PengFei35/chromium_src_4 | ui/views/highlight_border.h | C++ | unknown | 4,887 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/input_event_activation_protector.h"
#include "base/command_line.h"
#include "ui/events/event.h"
#include "ui/views/metrics.h"
#include "ui/views/views_switc... | Zhao-PengFei35/chromium_src_4 | ui/views/input_event_activation_protector.cc | C++ | unknown | 2,182 |
// 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_INPUT_EVENT_ACTIVATION_PROTECTOR_H_
#define UI_VIEWS_INPUT_EVENT_ACTIVATION_PROTECTOR_H_
#include "base/time/time.h"
#include "ui/views/views_export.h"
names... | Zhao-PengFei35/chromium_src_4 | ui/views/input_event_activation_protector.h | C++ | unknown | 2,013 |
// 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/interaction/element_tracker_views.h"
#include <list>
#include <map>
#include <memory>
#include <string>
#include "base/containers/contains.h"
#include "bas... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/element_tracker_views.cc | C++ | unknown | 14,947 |
// 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_INTERACTION_ELEMENT_TRACKER_VIEWS_H_
#define UI_VIEWS_INTERACTION_ELEMENT_TRACKER_VIEWS_H_
#include <map>
#include <string>
#include <vector>
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/element_tracker_views.h | C++ | unknown | 7,976 |
// 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/interaction/element_tracker_views.h"
#include <iterator>
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/raw_p... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/element_tracker_views_unittest.cc | C++ | unknown | 58,209 |
// 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/interaction/interaction_sequence_views.h"
#include <utility>
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/interaction/element_trac... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/interaction_sequence_views.cc | C++ | unknown | 2,147 |
// 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_INTERACTION_INTERACTION_SEQUENCE_VIEWS_H_
#define UI_VIEWS_INTERACTION_INTERACTION_SEQUENCE_VIEWS_H_
#include <memory>
#include "base/strings/string_piece.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/interaction_sequence_views.h | C++ | unknown | 1,671 |
// 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/interaction/interaction_sequence_views.h"
// This suite contains tests which integrate the functionality of
// ui::InteractionSequence with Views elements l... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/interaction_sequence_views_unittest.cc | C++ | unknown | 31,816 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/interaction/interaction_test_util_mouse.h"
#include <memory>
#include <utility>
#include "base/auto_reset.h"
#include "base/check.h"
#include "base/contain... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/interaction_test_util_mouse.cc | C++ | unknown | 18,786 |
// 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_INTERACTION_INTERACTION_TEST_UTIL_MOUSE_H_
#define UI_VIEWS_INTERACTION_INTERACTION_TEST_UTIL_MOUSE_H_
#include <list>
#include <memory>
#include <set>
#inclu... | Zhao-PengFei35/chromium_src_4 | ui/views/interaction/interaction_test_util_mouse.h | C++ | unknown | 6,624 |