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 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_BASE_TEST_SKIA_GOLD_MATCHING_ALGORITHM_H_ #define UI_BASE_TEST_SKIA_GOLD_MATCHING_ALGORITHM_H_ #include <string> #include "build/chromeos_buildflags.h" namespace ...
Zhao-PengFei35/chromium_src_4
ui/base/test/skia_gold_matching_algorithm.h
C++
unknown
4,277
// 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/base/test/skia_gold_matching_algorithm.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/test/gtest_util.h" #include "testing/gte...
Zhao-PengFei35/chromium_src_4
ui/base/test/skia_gold_matching_algorithm_unittest.cc
C++
unknown
3,318
// 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/base/test/skia_gold_pixel_diff.h" #include "build/build_config.h" #if BUILDFLAG(IS_WIN) #include <windows.h> #endif #include "third_party/skia/include/core/SkBit...
Zhao-PengFei35/chromium_src_4
ui/base/test/skia_gold_pixel_diff.cc
C++
unknown
13,708
// 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_BASE_TEST_SKIA_GOLD_PIXEL_DIFF_H_ #define UI_BASE_TEST_SKIA_GOLD_PIXEL_DIFF_H_ #include <string> #include "base/files/file_path.h" namespace base { class CommandL...
Zhao-PengFei35/chromium_src_4
ui/base/test/skia_gold_pixel_diff.h
C++
unknown
3,251
// 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/base/test/skia_gold_pixel_diff.h" #include "base/command_line.h" #include "base/scoped_environment_variable_override.h" #include "base/test/test_switches.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/base/test/skia_gold_pixel_diff_unittest.cc
C++
unknown
11,937
// 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/base/test/test_dialog_model_host.h" #include "ui/base/models/dialog_model.h" namespace ui { namespace { DialogModelButton* GetButton(DialogModel* dialog_model,...
Zhao-PengFei35/chromium_src_4
ui/base/test/test_dialog_model_host.cc
C++
unknown
3,556
// 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_BASE_TEST_TEST_DIALOG_MODEL_HOST_H_ #define UI_BASE_TEST_TEST_DIALOG_MODEL_HOST_H_ #include <algorithm> #include <memory> #include <string> #include "base/containe...
Zhao-PengFei35/chromium_src_4
ui/base/test/test_dialog_model_host.h
C++
unknown
2,051
// 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/base/test/ui_controls.h" namespace ui_controls { int GenerateAcceleratorState(bool control, bool shift, bool alt, bool command) { int accelerator_state = ui_co...
Zhao-PengFei35/chromium_src_4
ui/base/test/ui_controls.cc
C++
unknown
668
// 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_BASE_TEST_UI_CONTROLS_H_ #define UI_BASE_TEST_UI_CONTROLS_H_ #include "base/functional/callback_forward.h" #include "build/build_config.h" #include "build/chromeos_...
Zhao-PengFei35/chromium_src_4
ui/base/test/ui_controls.h
C++
unknown
7,606
// 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/base/test/ui_controls_aura.h" #include "base/check.h" #include "base/functional/callback.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h"...
Zhao-PengFei35/chromium_src_4
ui/base/test/ui_controls_aura.cc
C++
unknown
5,775
// 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_BASE_TEST_UI_CONTROLS_AURA_H_ #define UI_BASE_TEST_UI_CONTROLS_AURA_H_ #include "base/functional/callback_forward.h" #include "build/build_config.h" #include "build...
Zhao-PengFei35/chromium_src_4
ui/base/test/ui_controls_aura.h
C++
unknown
2,828
// 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/base/test/ui_controls_internal_win.h" #include <windows.h> #include <algorithm> #include <cmath> #include <utility> #include "base/functional/bind.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/base/test/ui_controls_internal_win.cc
C++
unknown
24,129
// 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_BASE_TEST_UI_CONTROLS_INTERNAL_WIN_H_ #define UI_BASE_TEST_UI_CONTROLS_INTERNAL_WIN_H_ #include "base/functional/callback_forward.h" #include "ui/base/test/ui_contr...
Zhao-PengFei35/chromium_src_4
ui/base/test/ui_controls_internal_win.h
C++
unknown
1,162
// 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/base/test/ui_controls.h" #import <Cocoa/Cocoa.h> #include <vector> #include "base/functional/bind.h" #include "base/functional/callback.h" #import "base/mac/fou...
Zhao-PengFei35/chromium_src_4
ui/base/test/ui_controls_mac.mm
Objective-C++
unknown
17,791
// 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_BASE_TEST_VIEW_TREE_VALIDATOR_H_ #define UI_BASE_TEST_VIEW_TREE_VALIDATOR_H_ #include "third_party/abseil-cpp/absl/types/optional.h" @class NSView; namespace ui {...
Zhao-PengFei35/chromium_src_4
ui/base/test/view_tree_validator.h
Objective-C
unknown
1,141
// 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/base/test/view_tree_validator.h" #include <Cocoa/Cocoa.h> #include "base/mac/mac_util.h" #include "base/strings/sys_string_conversions.h" namespace { NSArray* C...
Zhao-PengFei35/chromium_src_4
ui/base/test/view_tree_validator.mm
Objective-C++
unknown
3,226
// 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/base/test/view_tree_validator.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/test/cocoa_helper.h" using ViewTreeValidatorTest = ui::CocoaTest...
Zhao-PengFei35/chromium_src_4
ui/base/test/view_tree_validator_unittest.mm
Objective-C++
unknown
3,274
// 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_BASE_TEST_WINDOWED_NSNOTIFICATION_OBSERVER_H_ #define UI_BASE_TEST_WINDOWED_NSNOTIFICATION_OBSERVER_H_ #include "base/memory/raw_ptr.h" #import <Foundation/Foundat...
Zhao-PengFei35/chromium_src_4
ui/base/test/windowed_nsnotification_observer.h
Objective-C
unknown
1,904
// 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. #import "ui/base/test/windowed_nsnotification_observer.h" #import <Cocoa/Cocoa.h> #include "base/location.h" #include "base/run_loop.h" #import "base/task/single_thread_task_...
Zhao-PengFei35/chromium_src_4
ui/base/test/windowed_nsnotification_observer.mm
Objective-C++
unknown
2,656
// 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/base/text/bytes_formatting.h" #include <ostream> #include "base/check.h" #include "base/i18n/number_formatting.h" #include "base/notreached.h" #include "base/str...
Zhao-PengFei35/chromium_src_4
ui/base/text/bytes_formatting.cc
C++
unknown
3,303
// 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_BASE_TEXT_BYTES_FORMATTING_H_ #define UI_BASE_TEXT_BYTES_FORMATTING_H_ #include <stdint.h> #include <string> #include "base/component_export.h" namespace ui { /...
Zhao-PengFei35/chromium_src_4
ui/base/text/bytes_formatting.h
C++
unknown
2,225
// 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/base/text/bytes_formatting.h" #include <stddef.h> #include <stdint.h> #include "base/strings/utf_string_conversions.h" #include "testing/gtest/include/gtest/gtes...
Zhao-PengFei35/chromium_src_4
ui/base/text/bytes_formatting_unittest.cc
C++
unknown
3,025
// 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/base/theme_provider.h" namespace ui { // We have the destructor here because GCC puts the vtable in the first file // that includes a virtual function of the cla...
Zhao-PengFei35/chromium_src_4
ui/base/theme_provider.cc
C++
unknown
449
// 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_BASE_THEME_PROVIDER_H_ #define UI_BASE_THEME_PROVIDER_H_ #include "base/component_export.h" #include "third_party/skia/include/core/SkColor.h" #include "ui/base/lay...
Zhao-PengFei35/chromium_src_4
ui/base/theme_provider.h
C++
unknown
2,113
// 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/base/themed_vector_icon.h" #include "ui/color/color_provider.h" #include "ui/gfx/paint_vector_icon.h" #include "ui/gfx/vector_icon_types.h" #include "ui/gfx/vecto...
Zhao-PengFei35/chromium_src_4
ui/base/themed_vector_icon.cc
C++
unknown
3,030
// 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_BASE_THEMED_VECTOR_ICON_H_ #define UI_BASE_THEMED_VECTOR_ICON_H_ #include "base/component_export.h" #include "base/memory/raw_ptr.h" #include "third_party/abseil-cp...
Zhao-PengFei35/chromium_src_4
ui/base/themed_vector_icon.h
C++
unknown
2,205
// 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/base/themed_vector_icon.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/paint_vector_icon.h" #include "ui/gfx/vector_icon_types.h" namespace u...
Zhao-PengFei35/chromium_src_4
ui/base/themed_vector_icon_unittest.cc
C++
unknown
1,262
// 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. // This file is for including headers that are not included in any other .cc // files contained with the ui module. We need to include these here so that // linker will know t...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_exports.cc
C++
unknown
611
// 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/base/ui_base_features.h" #include <stdlib.h> #include "base/feature_list.h" #include "base/metrics/field_trial_params.h" #include "build/build_config.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_features.cc
C++
unknown
17,726
// 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_BASE_UI_BASE_FEATURES_H_ #define UI_BASE_UI_BASE_FEATURES_H_ #include "base/component_export.h" #include "base/feature_list.h" #include "base/metrics/field_trial_pa...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_features.h
C++
unknown
10,478
// 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/base/ui_base_paths.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/path_service.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_paths.cc
C++
unknown
2,844
// 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_BASE_UI_BASE_PATHS_H_ #define UI_BASE_UI_BASE_PATHS_H_ #include "base/component_export.h" #include "build/build_config.h" // This file declares path keys for vario...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_paths.h
C++
unknown
945
// 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/base/ui_base_switches.h" #include "build/build_config.h" namespace switches { #if BUILDFLAG(IS_ANDROID) // Disable overscroll edge effects like those found in A...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_switches.cc
C++
unknown
4,304
// 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. // Defines all the command-line switches used by ui/base. #ifndef UI_BASE_UI_BASE_SWITCHES_H_ #define UI_BASE_UI_BASE_SWITCHES_H_ #include "base/component_export.h" #include ...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_switches.h
C++
unknown
2,341
// 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/base/ui_base_switches_util.h" #include "base/command_line.h" #include "build/build_config.h" #include "ui/base/ui_base_features.h" #include "ui/base/ui_base_switc...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_switches_util.cc
C++
unknown
1,364
// 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_BASE_UI_BASE_SWITCHES_UTIL_H_ #define UI_BASE_UI_BASE_SWITCHES_UTIL_H_ #include "base/component_export.h" namespace switches { COMPONENT_EXPORT(UI_BASE) bool IsEl...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_switches_util.h
C++
unknown
474
// 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_BASE_UI_BASE_TYPES_H_ #define UI_BASE_UI_BASE_TYPES_H_ #include <cstdint> #include "build/build_config.h" #include "build/chromeos_buildflags.h" namespace ui { /...
Zhao-PengFei35/chromium_src_4
ui/base/ui_base_types.h
C++
unknown
6,868
// 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/base/user_activity/user_activity_detector.h" #include "base/format_macros.h" #include "base/logging.h" #include "base/observer_list.h" #include "base/strings/stri...
Zhao-PengFei35/chromium_src_4
ui/base/user_activity/user_activity_detector.cc
C++
unknown
4,221
// 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_BASE_USER_ACTIVITY_USER_ACTIVITY_DETECTOR_H_ #define UI_BASE_USER_ACTIVITY_USER_ACTIVITY_DETECTOR_H_ #include "base/component_export.h" #include "base/observer_list...
Zhao-PengFei35/chromium_src_4
ui/base/user_activity/user_activity_detector.h
C++
unknown
3,525
// 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/base/user_activity/user_activity_detector.h" #include <memory> #include "base/compiler_specific.h" #include "base/time/time.h" #include "testing/gtest/include/gt...
Zhao-PengFei35/chromium_src_4
ui/base/user_activity/user_activity_detector_unittest.cc
C++
unknown
8,204
// 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_BASE_USER_ACTIVITY_USER_ACTIVITY_OBSERVER_H_ #define UI_BASE_USER_ACTIVITY_USER_ACTIVITY_OBSERVER_H_ #include "base/component_export.h" namespace ui { class Event;...
Zhao-PengFei35/chromium_src_4
ui/base/user_activity/user_activity_observer.h
C++
unknown
1,289
// 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/base/view_prop.h" #include <set> #include "base/memory/raw_ptr.h" #include "base/memory/ref_counted.h" namespace ui { // Maints the actual view, key and data. ...
Zhao-PengFei35/chromium_src_4
ui/base/view_prop.cc
C++
unknown
2,851
// 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_BASE_VIEW_PROP_H_ #define UI_BASE_VIEW_PROP_H_ #include "base/component_export.h" #include "base/memory/scoped_refptr.h" #include "build/build_config.h" #include "u...
Zhao-PengFei35/chromium_src_4
ui/base/view_prop.h
C++
unknown
1,598
// 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/base/view_prop.h" #include <memory> #include "testing/gtest/include/gtest/gtest.h" namespace { const char kKey1[] = "key_1"; const char kKey2[] = "key_2"; } //...
Zhao-PengFei35/chromium_src_4
ui/base/view_prop_unittest.cc
C++
unknown
2,266
// 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/base/wayland/color_manager_util.h" namespace ui::wayland { zcr_color_manager_v1_chromaticity_names ToColorManagerChromaticity( gfx::ColorSpace::PrimaryID pri...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/color_manager_util.cc
C++
unknown
1,709
// 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_BASE_WAYLAND_COLOR_MANAGER_UTIL_H_ #define UI_BASE_WAYLAND_COLOR_MANAGER_UTIL_H_ #include <chrome-color-management-server-protocol.h> #include "base/containers/fix...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/color_manager_util.h
C++
unknown
6,461
// 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/base/wayland/wayland_client_input_types.h" #include "base/check_op.h" #include "ui/base/wayland/wayland_input_types_impl.h" namespace ui::wayland { zcr_extended...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_client_input_types.cc
C++
unknown
1,325
// 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_BASE_WAYLAND_WAYLAND_CLIENT_INPUT_TYPES_H_ #define UI_BASE_WAYLAND_WAYLAND_CLIENT_INPUT_TYPES_H_ #include <text-input-extension-unstable-v1-client-protocol.h> #inc...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_client_input_types.h
C++
unknown
818
// 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/base/wayland/wayland_display_util.h" namespace ui::wayland { WaylandDisplayIdPair ToWaylandDisplayIdPair(int64_t display_id) { return {static_cast<uint32_t>(di...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_display_util.cc
C++
unknown
604
// 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_BASE_WAYLAND_WAYLAND_DISPLAY_UTIL_H_ #define UI_BASE_WAYLAND_WAYLAND_DISPLAY_UTIL_H_ #include <cstdint> namespace ui::wayland { struct WaylandDisplayIdPair { ui...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_display_util.h
C++
unknown
636
// 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 <limits> #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/wayland/wayland_display_util.h" namespace ui::wayland { TEST(WaylandDisplayUtilTest, Basic...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_display_util_unittest.cc
C++
unknown
1,062
// 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. // This file is designed to be included from wayland_*_input_types.cc only, // in order to share the mapping rules. // So please do not use in other places. #ifndef UI_BASE_WA...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_input_types_impl.h
C
unknown
2,744
// 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 "testing/gtest/include/gtest/gtest.h" #include "ui/base/wayland/wayland_client_input_types.h" #include "ui/base/wayland/wayland_server_input_types.h" namespace ui::wa...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_input_types_unittest.cc
C++
unknown
1,425
// 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/base/wayland/wayland_server_input_types.h" #include "ui/base/wayland/wayland_input_types_impl.h" namespace ui::wayland { absl::optional<TextInputType> ConvertTo...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_server_input_types.cc
C++
unknown
1,458
// 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_BASE_WAYLAND_WAYLAND_SERVER_INPUT_TYPES_H_ #define UI_BASE_WAYLAND_WAYLAND_SERVER_INPUT_TYPES_H_ #include <text-input-extension-unstable-v1-server-protocol.h> #inc...
Zhao-PengFei35/chromium_src_4
ui/base/wayland/wayland_server_input_types.h
C++
unknown
1,488
include_rules = [ "+third_party/modp_b64", ]
Zhao-PengFei35/chromium_src_4
ui/base/webui/DEPS
Python
unknown
47
// 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/base/webui/i18n_source_stream.h" #include <algorithm> #include <utility> #include "base/check.h" #include "base/strings/string_piece.h" #include "net/base/io_buf...
Zhao-PengFei35/chromium_src_4
ui/base/webui/i18n_source_stream.cc
C++
unknown
2,481
// 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_BASE_WEBUI_I18N_SOURCE_STREAM_H_ #define UI_BASE_WEBUI_I18N_SOURCE_STREAM_H_ #include <memory> #include <string> #include "base/component_export.h" #include "base/...
Zhao-PengFei35/chromium_src_4
ui/base/webui/i18n_source_stream.h
C++
unknown
2,113
// 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 <utility> #include "base/memory/raw_ptr.h" #include "base/memory/raw_ptr_exclusion.h" #include "net/base/io_buffer.h" #include "net/base/test_completion_callback.h" #...
Zhao-PengFei35/chromium_src_4
ui/base/webui/i18n_source_stream_unittest.cc
C++
unknown
10,120
// 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. // A helper function for using JsTemplate. See jstemplate_builder.h for more // info. #include "ui/base/webui/jstemplate_builder.h" #include "base/check.h" #include "base/jso...
Zhao-PengFei35/chromium_src_4
ui/base/webui/jstemplate_builder.cc
C++
unknown
5,161
// 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. // This provides some helper methods for building and rendering an // internal html page. The flow is as follows: // - instantiate a builder given a webframe that we're going ...
Zhao-PengFei35/chromium_src_4
ui/base/webui/jstemplate_builder.h
C++
unknown
1,831
// 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_BASE_WEBUI_RESOURCE_PATH_H_ #define UI_BASE_WEBUI_RESOURCE_PATH_H_ namespace webui { struct ResourcePath { const char* const path; int id; }; } // namespace we...
Zhao-PengFei35/chromium_src_4
ui/base/webui/resource_path.h
C++
unknown
367
// 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/base/webui/web_ui_util.h" #include <vector> #include "base/base64.h" #include "base/i18n/rtl.h" #include "base/logging.h" #include "base/strings/escape.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/base/webui/web_ui_util.cc
C++
unknown
7,974
// 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_BASE_WEBUI_WEB_UI_UTIL_H_ #define UI_BASE_WEBUI_WEB_UI_UTIL_H_ #include <stddef.h> #include <string> #include "base/component_export.h" #include "base/strings/str...
Zhao-PengFei35/chromium_src_4
ui/base/webui/web_ui_util.h
C++
unknown
3,258
// 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/base/webui/web_ui_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/gurl.h" TEST(WebUIUtilTest, ParsePathAndImageSpec) { std::string path; ...
Zhao-PengFei35/chromium_src_4
ui/base/webui/web_ui_util_unittest.cc
C++
unknown
2,814
// 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_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_ #define UI_BASE_WIN_ACCESSIBILITY_IDS_WIN_H_ #include <limits.h> namespace base { namespace win { // Windows accessibility (MSAA)...
Zhao-PengFei35/chromium_src_4
ui/base/win/accessibility_ids_win.h
C++
unknown
1,121
// 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_BASE_WIN_ATL_MODULE_H_ #define UI_BASE_WIN_ATL_MODULE_H_ #include "base/win/atl.h" namespace ui { namespace win { // Ensure that we have exactly one ATL module re...
Zhao-PengFei35/chromium_src_4
ui/base/win/atl_module.h
C++
unknown
1,129
// 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/base/win/event_creation_utils.h" #include <windows.h> #include <winuser.h> #include <algorithm> #include "ui/gfx/geometry/point.h" namespace ui { bool SendMou...
Zhao-PengFei35/chromium_src_4
ui/base/win/event_creation_utils.cc
C++
unknown
1,666
// 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_BASE_WIN_EVENT_CREATION_UTILS_H_ #define UI_BASE_WIN_EVENT_CREATION_UTILS_H_ #include "base/component_export.h" namespace gfx { class Point; } // namespace gfx n...
Zhao-PengFei35/chromium_src_4
ui/base/win/event_creation_utils.h
C++
unknown
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/base/win/foreground_helper.h" #include <ostream> #include "base/logging.h" #include "ui/gfx/win/window_impl.h" namespace ui { ForegroundHelper::ForegroundHelpe...
Zhao-PengFei35/chromium_src_4
ui/base/win/foreground_helper.cc
C++
unknown
2,434
// 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_BASE_WIN_FOREGROUND_HELPER_H_ #define UI_BASE_WIN_FOREGROUND_HELPER_H_ #include "base/component_export.h" #include "base/notreached.h" #include "ui/gfx/win/window_i...
Zhao-PengFei35/chromium_src_4
ui/base/win/foreground_helper.h
C++
unknown
1,561
// 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/base/win/hidden_window.h" #include "base/notreached.h" #include "ui/gfx/win/window_impl.h" namespace ui { namespace { // We need to have a parent window for th...
Zhao-PengFei35/chromium_src_4
ui/base/win/hidden_window.cc
C++
unknown
1,614
// 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_BASE_WIN_HIDDEN_WINDOW_H_ #define UI_BASE_WIN_HIDDEN_WINDOW_H_ #include <windows.h> #include "base/component_export.h" namespace ui { // Returns an HWND that can...
Zhao-PengFei35/chromium_src_4
ui/base/win/hidden_window.h
C++
unknown
504
// 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/base/win/hwnd_metrics.h" #include <windows.h> #include "ui/display/win/screen_win.h" namespace ui { int GetFrameThickness(HMONITOR monitor) { // On Windows 1...
Zhao-PengFei35/chromium_src_4
ui/base/win/hwnd_metrics.cc
C++
unknown
982
// 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_BASE_WIN_HWND_METRICS_H_ #define UI_BASE_WIN_HWND_METRICS_H_ #include <windows.h> #include "base/component_export.h" namespace ui { // The size, in pixels, of th...
Zhao-PengFei35/chromium_src_4
ui/base/win/hwnd_metrics.h
C++
unknown
496
// 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/base/win/hwnd_subclass.h" #include "base/check.h" #include "base/containers/contains.h" #include "base/memory/ptr_util.h" #include "base/memory/singleton.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/base/win/hwnd_subclass.cc
C++
unknown
5,131
// 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_BASE_WIN_HWND_SUBCLASS_H_ #define UI_BASE_WIN_HWND_SUBCLASS_H_ #include <windows.h> #include <memory> #include <vector> #include "base/component_export.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/base/win/hwnd_subclass.h
C++
unknown
3,034
// 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/base/win/hwnd_subclass.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/win/window_impl.h" namespace ui { namespace { class TestWindow : publ...
Zhao-PengFei35/chromium_src_4
ui/base/win/hwnd_subclass_unittest.cc
C++
unknown
4,455
// 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/base/win/internal_constants.h" namespace ui { const wchar_t kIgnoreTouchMouseActivateForWindow[] = L"Chrome.IgnoreMouseActivate"; const wchar_t kLegacyRende...
Zhao-PengFei35/chromium_src_4
ui/base/win/internal_constants.cc
C++
unknown
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. #ifndef UI_BASE_WIN_INTERNAL_CONSTANTS_H_ #define UI_BASE_WIN_INTERNAL_CONSTANTS_H_ #include "base/component_export.h" namespace ui { // This window property if set on the w...
Zhao-PengFei35/chromium_src_4
ui/base/win/internal_constants.h
C++
unknown
1,016
// 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/base/win/lock_state.h" #include <windows.h> #include <wtsapi32.h> #include "base/functional/bind.h" #include "base/no_destructor.h" #include "ui/base/win/session...
Zhao-PengFei35/chromium_src_4
ui/base/win/lock_state.cc
C++
unknown
2,274
// 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_BASE_WIN_LOCK_STATE_H_ #define UI_BASE_WIN_LOCK_STATE_H_ #include "base/component_export.h" namespace ui { // Returns true if the screen is currently locked. COMP...
Zhao-PengFei35/chromium_src_4
ui/base/win/lock_state.h
C++
unknown
428
// 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/base/win/message_box_win.h" #include <string> #include "base/i18n/rtl.h" #include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" ...
Zhao-PengFei35/chromium_src_4
ui/base/win/message_box_win.cc
C++
unknown
1,263
// 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_BASE_WIN_MESSAGE_BOX_WIN_H_ #define UI_BASE_WIN_MESSAGE_BOX_WIN_H_ #include <windows.h> #include <string> #include "base/component_export.h" namespace ui { // A...
Zhao-PengFei35/chromium_src_4
ui/base/win/message_box_win.h
C++
unknown
794
// Copyright 2009 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/win/mouse_wheel_util.h" #include "base/auto_reset.h" #include "base/win/windowsx_shim.h" #include "ui/base/view_prop.h" #include "ui/gfx/win/hwnd_util.h" na...
Zhao-PengFei35/chromium_src_4
ui/base/win/mouse_wheel_util.cc
C++
unknown
4,624
// 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_BASE_WIN_MOUSE_WHEEL_UTIL_H_ #define UI_BASE_WIN_MOUSE_WHEEL_UTIL_H_ #include <windows.h> #include "base/component_export.h" namespace ui { class ViewProp; // M...
Zhao-PengFei35/chromium_src_4
ui/base/win/mouse_wheel_util.h
C++
unknown
1,259
// 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/base/win/power_setting_change_listener.h" #include "base/functional/bind.h" #include "base/functional/callback_helpers.h" #include "base/location.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/base/win/power_setting_change_listener.cc
C++
unknown
4,269
// 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_BASE_WIN_POWER_SETTING_CHANGE_LISTENER_H_ #define UI_BASE_WIN_POWER_SETTING_CHANGE_LISTENER_H_ #include "base/component_export.h" #include "base/memory/raw_ptr.h" ...
Zhao-PengFei35/chromium_src_4
ui/base/win/power_setting_change_listener.h
C++
unknown
1,316
// 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/base/win/scoped_ole_initializer.h" #include <ole2.h> #include <ostream> #include "base/check_op.h" namespace ui { ScopedOleInitializer::ScopedOleInitializer()...
Zhao-PengFei35/chromium_src_4
ui/base/win/scoped_ole_initializer.cc
C++
unknown
665
// 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_BASE_WIN_SCOPED_OLE_INITIALIZER_H_ #define UI_BASE_WIN_SCOPED_OLE_INITIALIZER_H_ #include "base/component_export.h" #include "base/threading/thread_checker.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/base/win/scoped_ole_initializer.h
C++
unknown
753
// 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/base/win/session_change_observer.h" #include <wtsapi32.h> #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/functional/callb...
Zhao-PengFei35/chromium_src_4
ui/base/win/session_change_observer.cc
C++
unknown
4,540
// 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_BASE_WIN_SESSION_CHANGE_OBSERVER_H_ #define UI_BASE_WIN_SESSION_CHANGE_OBSERVER_H_ #include <windows.h> #include "base/component_export.h" #include "base/functiona...
Zhao-PengFei35/chromium_src_4
ui/base/win/session_change_observer.h
C++
unknown
1,500
// 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/base/win/shell.h" #include <dwmapi.h> #include <shlobj.h> // Must be before propkey. #include <propkey.h> #include <shellapi.h> #include <wrl/client.h> #includ...
Zhao-PengFei35/chromium_src_4
ui/base/win/shell.cc
C++
unknown
6,344
// 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_BASE_WIN_SHELL_H_ #define UI_BASE_WIN_SHELL_H_ #include <windows.h> #include <string> #include "base/component_export.h" namespace base { class FilePath; } name...
Zhao-PengFei35/chromium_src_4
ui/base/win/shell.h
C++
unknown
3,038
// 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/base/win/touch_input.h" #include "base/win/win_util.h" namespace ui { BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, UINT count,...
Zhao-PengFei35/chromium_src_4
ui/base/win/touch_input.cc
C++
unknown
726
// 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_BASE_WIN_TOUCH_INPUT_H_ #define UI_BASE_WIN_TOUCH_INPUT_H_ #include <windows.h> #include "base/component_export.h" namespace ui { // Wrapper for GetTouchInputInf...
Zhao-PengFei35/chromium_src_4
ui/base/win/touch_input.h
C++
unknown
676
// 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/base/win/win_cursor.h" #include <windows.h> #include "base/memory/scoped_refptr.h" namespace ui { // static scoped_refptr<WinCursor> WinCursor::FromPlatformCur...
Zhao-PengFei35/chromium_src_4
ui/base/win/win_cursor.cc
C++
unknown
834
// 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_BASE_WIN_WIN_CURSOR_H_ #define UI_BASE_WIN_WIN_CURSOR_H_ #include "base/component_export.h" #include "base/win/windows_types.h" #include "ui/base/cursor/platform_cu...
Zhao-PengFei35/chromium_src_4
ui/base/win/win_cursor.h
C++
unknown
1,152
// 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/base/win/win_cursor_factory.h" #include <windows.h> #include <string> #include <utility> #include "base/check_op.h" #include "base/memory/scoped_refptr.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/base/win/win_cursor_factory.cc
C++
unknown
6,480
// 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_BASE_WIN_WIN_CURSOR_FACTORY_H_ #define UI_BASE_WIN_WIN_CURSOR_FACTORY_H_ #include <map> #include "base/component_export.h" #include "base/memory/scoped_refptr.h" #...
Zhao-PengFei35/chromium_src_4
ui/base/win/win_cursor_factory.h
C++
unknown
1,270