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 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_IME_LINUX_INPUT_METHOD_AURALINUX_H_ #define UI_BASE_IME_LINUX_INPUT_METHOD_AURALINUX_H_ #include <memory> #include "base/component_export.h" #include "third_p...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/input_method_auralinux.h
C++
unknown
5,229
// 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/ime/linux/input_method_auralinux.h" #include <stddef.h> #include <memory> #include "base/functional/bind.h" #include "base/functional/callback.h" #include ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/input_method_auralinux_unittest.cc
C++
unknown
41,434
// 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_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_H_ #define UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_H_ #include <stdint.h> #include <string> #include <vector> #incl...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/linux_input_method_context.h
C++
unknown
5,113
// 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/ime/linux/linux_input_method_context_factory.h" #include "base/functional/callback.h" #include "base/no_destructor.h" #include "build/build_config.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/linux_input_method_context_factory.cc
C++
unknown
1,637
// 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_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_ #define UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_ #include <memory> #include "base/component_exp...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/linux_input_method_context_factory.h
C++
unknown
1,269
// 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/ime/linux/text_edit_command_auralinux.h" #include "base/notreached.h" #include "ui/base/ime/text_edit_commands.h" namespace ui { // This is sent to the ren...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/text_edit_command_auralinux.cc
C++
unknown
5,998
// 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_IME_LINUX_TEXT_EDIT_COMMAND_AURALINUX_H_ #define UI_BASE_IME_LINUX_TEXT_EDIT_COMMAND_AURALINUX_H_ #include <string> #include "base/component_export.h" namesp...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/text_edit_command_auralinux.h
C++
unknown
1,175
// 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_IME_MAC_INPUT_METHOD_MAC_H_ #define UI_BASE_IME_MAC_INPUT_METHOD_MAC_H_ #include "base/component_export.h" #include "ui/base/ime/input_method_base.h" namespac...
Zhao-PengFei35/chromium_src_4
ui/base/ime/mac/input_method_mac.h
C++
unknown
1,210
// 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/ime/mac/input_method_mac.h" #import <Cocoa/Cocoa.h> namespace ui { InputMethodMac::InputMethodMac(ImeKeyEventDispatcher* ime_key_event_dispatcher) : In...
Zhao-PengFei35/chromium_src_4
ui/base/ime/mac/input_method_mac.mm
Objective-C++
unknown
1,017
// 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/ime/mock_input_method.h" #include "base/functional/callback.h" #include "base/functional/callback_helpers.h" #include "base/observer_list.h" #include "build/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/mock_input_method.cc
C++
unknown
3,595
// 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_IME_MOCK_INPUT_METHOD_H_ #define UI_BASE_IME_MOCK_INPUT_METHOD_H_ #include "base/compiler_specific.h" #include "base/component_export.h" #include "base/memory/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/mock_input_method.h
C++
unknown
2,780
// 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 <utility> #include "base/test/task_environment.h" #include "mojo/public/cpp/bindings/receiver_set.h" #include "mojo/public/cpp/bindings/remote.h" #include "testing/gt...
Zhao-PengFei35/chromium_src_4
ui/base/ime/mojom/ime_mojom_traits_unittest.cc
C++
unknown
2,463
// 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/ime/mojom/ime_types_mojom_traits.h" namespace mojo { #define UI_TO_MOJO_ACTION_CASE(name) \ case ui::TextInputAction::name: \ return ui::mojom::Tex...
Zhao-PengFei35/chromium_src_4
ui/base/ime/mojom/ime_types_mojom_traits.cc
C++
unknown
10,835
// 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_IME_MOJOM_IME_TYPES_MOJOM_TRAITS_H_ #define UI_BASE_IME_MOJOM_IME_TYPES_MOJOM_TRAITS_H_ #include <vector> #include "base/component_export.h" #include "ui/base...
Zhao-PengFei35/chromium_src_4
ui/base/ime/mojom/ime_types_mojom_traits.h
C++
unknown
4,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/base/ime/surrounding_text_tracker.h" #include <utility> #include "base/check.h" #include "base/logging.h" #include "base/notreached.h" namespace ui { namespace ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/surrounding_text_tracker.cc
C++
unknown
14,307
// 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_IME_SURROUNDING_TEXT_TRACKER_H_ #define UI_BASE_IME_SURROUNDING_TEXT_TRACKER_H_ #include <deque> #include <string> #include "base/component_export.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ime/surrounding_text_tracker.h
C++
unknown
4,165
// 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/ime/surrounding_text_tracker.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/ime/composition_text.h" namespace ui { TEST(SurroundingTex...
Zhao-PengFei35/chromium_src_4
ui/base/ime/surrounding_text_tracker_unittest.cc
C++
unknown
31,336
// 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_IME_TEXT_EDIT_COMMANDS_H_ #define UI_BASE_IME_TEXT_EDIT_COMMANDS_H_ namespace ui { // Text editing commands for use by ui::TextInputClient. enum class TextEdi...
Zhao-PengFei35/chromium_src_4
ui/base/ime/text_edit_commands.h
C++
unknown
2,585
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_IME_TEXT_INPUT_ACTION_H_ #define UI_BASE_IME_TEXT_INPUT_ACTION_H_ namespace ui { // This mode corresponds to enterkeyhint // https://html.spec.whatwg.org/mult...
Zhao-PengFei35/chromium_src_4
ui/base/ime/text_input_action.h
C++
unknown
701
// 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/ime/text_input_client.h" namespace ui { TextInputClient::~TextInputClient() { } bool TextInputClient::CanInsertImage() { return false; } #if BUILDFLAG(I...
Zhao-PengFei35/chromium_src_4
ui/base/ime/text_input_client.cc
C++
unknown
804
// 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_IME_TEXT_INPUT_CLIENT_H_ #define UI_BASE_IME_TEXT_INPUT_CLIENT_H_ #include <stddef.h> #include <stdint.h> #include <string> #include <vector> #include "base/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/text_input_client.h
C++
unknown
14,780
// 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_IME_TEXT_INPUT_FLAGS_H_ #define UI_BASE_IME_TEXT_INPUT_FLAGS_H_ namespace ui { // Intentionally keep in sync with blink::WebTextInputFlags defined in: // thir...
Zhao-PengFei35/chromium_src_4
ui/base/ime/text_input_flags.h
C++
unknown
1,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. #ifndef UI_BASE_IME_TEXT_INPUT_MODE_H_ #define UI_BASE_IME_TEXT_INPUT_MODE_H_ namespace ui { // This mode corrensponds to inputmode // http://www.whatwg.org/specs/web-apps/cu...
Zhao-PengFei35/chromium_src_4
ui/base/ime/text_input_mode.h
C++
unknown
712
// 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_IME_TEXT_INPUT_TYPE_H_ #define UI_BASE_IME_TEXT_INPUT_TYPE_H_ namespace ui { // TextInputType is the enum type representing every type of text input fields. /...
Zhao-PengFei35/chromium_src_4
ui/base/ime/text_input_type.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/base/ime/utf_offset.h" #include <string> #include "base/strings/string_piece.h" #include "base/strings/utf_string_conversions.h" namespace ui { absl::optional<...
Zhao-PengFei35/chromium_src_4
ui/base/ime/utf_offset.cc
C++
unknown
1,242
// 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_IME_UTF_OFFSET_H_ #define UI_BASE_IME_UTF_OFFSET_H_ #include "base/component_export.h" #include "base/strings/string_piece_forward.h" #include "third_party/abs...
Zhao-PengFei35/chromium_src_4
ui/base/ime/utf_offset.h
C++
unknown
1,104
// 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/ime/utf_offset.h" #include <string> #include "base/logging.h" #include "base/strings/string_piece.h" #include "testing/gtest/include/gtest/gtest.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ime/utf_offset_unittest.cc
C++
unknown
4,665
// 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_IME_VIRTUAL_KEYBOARD_CONTROLLER_H_ #define UI_BASE_IME_VIRTUAL_KEYBOARD_CONTROLLER_H_ #include "base/component_export.h" namespace ui { class VirtualKeyboard...
Zhao-PengFei35/chromium_src_4
ui/base/ime/virtual_keyboard_controller.h
C++
unknown
1,214
// 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_IME_VIRTUAL_KEYBOARD_CONTROLLER_OBSERVER_H_ #define UI_BASE_IME_VIRTUAL_KEYBOARD_CONTROLLER_OBSERVER_H_ #include "base/component_export.h" namespace gfx { cla...
Zhao-PengFei35/chromium_src_4
ui/base/ime/virtual_keyboard_controller_observer.h
C++
unknown
877
// 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/ime/virtual_keyboard_controller_stub.h" #include "ui/gfx/geometry/rect.h" namespace ui { // VirtualKeyboardControllerStub member definitions. VirtualKeyboar...
Zhao-PengFei35/chromium_src_4
ui/base/ime/virtual_keyboard_controller_stub.cc
C++
unknown
1,179
// 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_IME_VIRTUAL_KEYBOARD_CONTROLLER_STUB_H_ #define UI_BASE_IME_VIRTUAL_KEYBOARD_CONTROLLER_STUB_H_ #include "base/component_export.h" #include "base/observer_list...
Zhao-PengFei35/chromium_src_4
ui/base/ime/virtual_keyboard_controller_stub.h
C++
unknown
1,461
// 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/ime/win/imm32_manager.h" #include <stdint.h> #include <memory> #include <string> #include "base/strings/string_util.h" #include "base/strings/utf_string_co...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/imm32_manager.cc
C++
unknown
19,278
// 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_IME_WIN_IMM32_MANAGER_H_ #define UI_BASE_IME_WIN_IMM32_MANAGER_H_ #include <windows.h> #include <string> #include <vector> #include "base/component_export.h"...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/imm32_manager.h
C++
unknown
13,072
// 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/ime/win/imm32_manager.h" #include "testing/gtest/include/gtest/gtest.h" namespace ui { namespace { struct InputModeTestCase { TextInputMode input_mode; ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/imm32_manager_unittest.cc
C++
unknown
2,449
// 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/ime/win/input_method_win_base.h" #include <stddef.h> #include <stdint.h> #include <cwctype> #include <memory> #include <vector> #include "base/auto_reset.h...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/input_method_win_base.cc
C++
unknown
18,144
// 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_IME_WIN_INPUT_METHOD_WIN_BASE_H_ #define UI_BASE_IME_WIN_INPUT_METHOD_WIN_BASE_H_ #include <windows.h> #include "base/component_export.h" #include "ui/base/im...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/input_method_win_base.h
C++
unknown
3,595
// 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/ime/win/input_method_win_imm32.h" #include <stddef.h> #include <stdint.h> #include <cwctype> #include "base/auto_reset.h" #include "base/command_line.h" #in...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/input_method_win_imm32.cc
C++
unknown
13,634
// 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_IME_WIN_INPUT_METHOD_WIN_IMM32_H_ #define UI_BASE_IME_WIN_INPUT_METHOD_WIN_IMM32_H_ #include <windows.h> #include "base/component_export.h" #include "ui/base/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/input_method_win_imm32.h
C++
unknown
3,728
// 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/ime/win/input_method_win_tsf.h" #include "ui/base/ime/text_input_client.h" #include "ui/base/ime/virtual_keyboard_controller.h" #include "ui/base/ime/win/tsf...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/input_method_win_tsf.cc
C++
unknown
6,291
// 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_IME_WIN_INPUT_METHOD_WIN_TSF_H_ #define UI_BASE_IME_WIN_INPUT_METHOD_WIN_TSF_H_ #include <windows.h> #include "base/component_export.h" #include "ui/base/ime/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/input_method_win_tsf.h
C++
unknown
2,031
// 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/ime/win/mock_tsf_bridge.h" #include "base/check_op.h" #include "ui/base/ime/text_input_client.h" namespace ui { MockTSFBridge::MockTSFBridge() = default; ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/mock_tsf_bridge.cc
C++
unknown
2,131
// 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_IME_WIN_MOCK_TSF_BRIDGE_H_ #define UI_BASE_IME_WIN_MOCK_TSF_BRIDGE_H_ #include <msctf.h> #include <wrl/client.h> #include "base/memory/raw_ptr.h" #include "ui...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/mock_tsf_bridge.h
C++
unknown
3,739
// 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/ime/win/on_screen_keyboard_display_manager_input_pane.h" #include "base/functional/bind.h" #include "base/strings/utf_string_conversions.h" #include "base/ta...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/on_screen_keyboard_display_manager_input_pane.cc
C++
unknown
13,262
// 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_IME_WIN_ON_SCREEN_KEYBOARD_DISPLAY_MANAGER_INPUT_PANE_H_ #define UI_BASE_IME_WIN_ON_SCREEN_KEYBOARD_DISPLAY_MANAGER_INPUT_PANE_H_ #include <inputpaneinterop.h>...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/on_screen_keyboard_display_manager_input_pane.h
C++
unknown
3,178
// 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/ime/win/on_screen_keyboard_display_manager_tab_tip.h" #include <windows.h> #include <shellapi.h> #include <shlobj.h> #include <shobjidl.h> // Must be befor...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/on_screen_keyboard_display_manager_tab_tip.cc
C++
unknown
13,817
// 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_IME_WIN_ON_SCREEN_KEYBOARD_DISPLAY_MANAGER_TAB_TIP_H_ #define UI_BASE_IME_WIN_ON_SCREEN_KEYBOARD_DISPLAY_MANAGER_TAB_TIP_H_ #include <string> #include "base/c...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/on_screen_keyboard_display_manager_tab_tip.h
C++
unknown
2,198
// 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 <wrl/event.h> #include <memory> #include <string> #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/test/task_environment.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/on_screen_keyboard_display_manager_unittest.cc
C++
unknown
9,443
// 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/ime/win/tsf_bridge.h" #include <msctf.h> #include <map> #include "base/logging.h" #include "base/memory/raw_ptr.h" #include "base/memory/ref_counted.h" #in...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_bridge.cc
C++
unknown
24,647
// 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_IME_WIN_TSF_BRIDGE_H_ #define UI_BASE_IME_WIN_TSF_BRIDGE_H_ #include <msctf.h> #include <windows.h> #include <wrl/client.h> #include <memory> #include "base/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_bridge.h
C++
unknown
4,054
// 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/ime/win/tsf_event_router.h" #include <msctf.h> #include <set> #include <utility> #include "base/functional/bind.h" #include "base/memory/raw_ptr.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_event_router.cc
C++
unknown
9,708
// 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_IME_WIN_TSF_EVENT_ROUTER_H_ #define UI_BASE_IME_WIN_TSF_EVENT_ROUTER_H_ #include <msctf.h> #include <wrl/client.h> #include "base/component_export.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_event_router.h
C++
unknown
2,281
// 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/ime/win/tsf_input_scope.h" #include <stddef.h> #include "base/check.h" #include "base/compiler_specific.h" #include "base/containers/contains.h" #include "b...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_input_scope.cc
C++
unknown
6,388
// 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_IME_WIN_TSF_INPUT_SCOPE_H_ #define UI_BASE_IME_WIN_TSF_INPUT_SCOPE_H_ #include <InputScope.h> #include <Windows.h> #include <vector> #include "base/component_...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_input_scope.h
C++
unknown
2,139
// 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/ime/win/tsf_input_scope.h" #include <InputScope.h> #include <stddef.h> #include <wrl/client.h> #include "testing/gtest/include/gtest/gtest.h" namespace ui ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_input_scope_unittest.cc
C++
unknown
6,015
// 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. #define INITGUID // required for GUID_PROP_INPUTSCOPE #include "ui/base/ime/win/tsf_text_store.h" #include <InputScope.h> #include <OleCtl.h> #include <tsattrs.h> #include <w...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_text_store.cc
C++
unknown
61,146
// 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_IME_WIN_TSF_TEXT_STORE_H_ #define UI_BASE_IME_WIN_TSF_TEXT_STORE_H_ #include <msctf.h> #include <wrl/client.h> #include <deque> #include <string> #include "ba...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_text_store.h
C++
unknown
21,100
// 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/ime/win/tsf_text_store.h" #include <initguid.h> // for GUID_NULL and GUID_PROP_INPUTSCOPE #include <InputScope.h> #include <OleCtl.h> #include <tsattrs.h> ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/tsf_text_store_unittest.cc
C++
unknown
160,563
// 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/ime/win/virtual_keyboard_debounce_timer.h" namespace ui { VirtualKeyboardDebounceTimer::VirtualKeyboardDebounceTimer(int delay_ms) : delay_ms_(delay_ms)...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/virtual_keyboard_debounce_timer.cc
C++
unknown
1,187
// 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_IME_WIN_VIRTUAL_KEYBOARD_DEBOUNCE_TIMER_H_ #define UI_BASE_IME_WIN_VIRTUAL_KEYBOARD_DEBOUNCE_TIMER_H_ #include "base/functional/callback.h" #include "base/time...
Zhao-PengFei35/chromium_src_4
ui/base/ime/win/virtual_keyboard_debounce_timer.h
C++
unknown
1,678
// 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/interaction/element_identifier.h" #include <cstring> #include "base/containers/contains.h" #include "base/no_destructor.h" namespace ui { std::string Elem...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_identifier.cc
C++
unknown
2,450
// 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_INTERACTION_ELEMENT_IDENTIFIER_H_ #define UI_BASE_INTERACTION_ELEMENT_IDENTIFIER_H_ #include <stdint.h> #include <ostream> #include <set> #include "base/comp...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_identifier.h
C++
unknown
13,219
// 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/interaction/element_identifier.h" #include "testing/gtest/include/gtest/gtest.h" namespace ui { namespace { // Use DECLARE/DEFINE_ELEMENT instead of DEFIN...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_identifier_unittest.cc
C++
unknown
1,430
// 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/interaction/element_test_util.h" #include "base/test/bind.h" #include "ui/base/interaction/element_tracker.h" #include "ui/base/interaction/framework_specifi...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_test_util.cc
C++
unknown
1,766
// 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_INTERACTION_ELEMENT_TEST_UTIL_H_ #define UI_BASE_INTERACTION_ELEMENT_TEST_UTIL_H_ #include "ui/base/interaction/element_identifier.h" #include "ui/base/interac...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_test_util.h
C++
unknown
1,887
// 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/interaction/element_tracker.h" #include <iterator> #include <list> #include <map> #include <sstream> #include "base/auto_reset.h" #include "base/callback_li...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_tracker.cc
C++
unknown
16,222
// 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_INTERACTION_ELEMENT_TRACKER_H_ #define UI_BASE_INTERACTION_ELEMENT_TRACKER_H_ #include <list> #include <map> #include <memory> #include <vector> #include "bas...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_tracker.h
C++
unknown
13,041
// 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_INTERACTION_ELEMENT_TRACKER_MAC_H_ #define UI_BASE_INTERACTION_ELEMENT_TRACKER_MAC_H_ #import <Cocoa/Cocoa.h> #include <map> #include <memory> #include <vecto...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_tracker_mac.h
Objective-C
unknown
3,212
// 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/interaction/element_tracker_mac.h" #include <map> #include <memory> #include "base/logging.h" #include "base/no_destructor.h" #include "ui/base/interaction/...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_tracker_mac.mm
Objective-C++
unknown
4,627
// 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/interaction/element_tracker_mac.h" #import <Cocoa/Cocoa.h> #include <initializer_list> #include <map> #include <set> #include "base/functional/bind.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_tracker_mac_unittest.mm
Objective-C++
unknown
22,431
// 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/interaction/element_tracker.h" #include "base/functional/callback_forward.h" #include "base/functional/callback_helpers.h" #include "base/logging.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/element_tracker_unittest.cc
C++
unknown
34,895
// 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_INTERACTION_EXPECT_CALL_IN_SCOPE_H_ #define UI_BASE_INTERACTION_EXPECT_CALL_IN_SCOPE_H_ #include "base/test/mock_callback.h" #include "testing/gmock/include/gm...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/expect_call_in_scope.h
C
unknown
2,868
// 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/interaction/framework_specific_implementation.h" #include <string> namespace ui { std::string FrameworkSpecificImplementation::ToString() const { return ...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/framework_specific_implementation.cc
C++
unknown
627
// 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_INTERACTION_FRAMEWORK_SPECIFIC_IMPLEMENTATION_H_ #define UI_BASE_INTERACTION_FRAMEWORK_SPECIFIC_IMPLEMENTATION_H_ #include <memory> #include <ostream> #include...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/framework_specific_implementation.h
C++
unknown
7,655
// 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/interaction/framework_specific_implementation.h" #include "testing/gtest/include/gtest/gtest.h" namespace ui { namespace { class SingletonBase : public Fr...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/framework_specific_implementation_unittest.cc
C++
unknown
2,240
// 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/interaction/interaction_sequence.h" #include <vector> #include "base/callback_list.h" #include "base/functional/bind.h" #include "base/functional/callback_f...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_sequence.cc
C++
unknown
50,862
// 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_INTERACTION_INTERACTION_SEQUENCE_H_ #define UI_BASE_INTERACTION_INTERACTION_SEQUENCE_H_ #include <map> #include "base/component_export.h" #include "base/funct...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_sequence.h
C++
unknown
25,892
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_INTERACTION_INTERACTION_SEQUENCE_TEST_UTIL_H_ #define UI_BASE_INTERACTION_INTERACTION_SEQUENCE_TEST_UTIL_H_ #include "testing/gmock/include/gmock/gmock.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_sequence_test_util.h
C++
unknown
1,964
// 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/interaction/interaction_sequence.h" #include <sstream> #include "base/debug/stack_trace.h" #include "base/functional/callback_forward.h" #include "base/loca...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_sequence_unittest.cc
C++
unknown
265,728
// 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/interaction/interaction_test_util.h" #include <functional> namespace ui::test { namespace { template <typename... Args> ActionResult Simulate( const st...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_test_util.cc
C++
unknown
5,658
// 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_INTERACTION_INTERACTION_TEST_UTIL_H_ #define UI_BASE_INTERACTION_INTERACTION_TEST_UTIL_H_ #include <memory> #include <vector> #include "build/build_config.h" ...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_test_util.h
C++
unknown
11,379
// 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_INTERACTION_INTERACTION_TEST_UTIL_MAC_H_ #define UI_BASE_INTERACTION_INTERACTION_TEST_UTIL_MAC_H_ #include "ui/base/interaction/interaction_test_util.h" names...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_test_util_mac.h
C++
unknown
936
// 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/interaction/interaction_test_util_mac.h" #include "base/mac/foundation_util.h" #include "ui/base/cocoa/menu_controller.h" #include "ui/base/interaction/eleme...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_test_util_mac.mm
Objective-C++
unknown
2,127
// 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/interaction/interaction_test_util.h" #include <string> #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interaction_test_util_unittest.cc
C++
unknown
10,647
// 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/interaction/interactive_test.h" #include <memory> #include <string> #include "base/auto_reset.h" #include "base/functional/callback_helpers.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interactive_test.cc
C++
unknown
13,210
// 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_INTERACTION_INTERACTIVE_TEST_H_ #define UI_BASE_INTERACTION_INTERACTIVE_TEST_H_ #include <memory> #include <utility> #include <vector> #include "base/strings/...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interactive_test.h
C++
unknown
31,881
// 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/interaction/interactive_test_internal.h" #include "base/callback_list.h" #include "base/check.h" #include "base/containers/contains.h" #include "base/strings...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interactive_test_internal.cc
C++
unknown
5,533
// 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_INTERACTION_INTERACTIVE_TEST_INTERNAL_H_ #define UI_BASE_INTERACTION_INTERACTIVE_TEST_INTERNAL_H_ #include <memory> #include <tuple> #include <type_traits> #i...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interactive_test_internal.h
C++
unknown
15,035
// 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/interaction/interactive_test.h" #include <functional> #include <string> #include "base/functional/callback_forward.h" #include "base/functional/callback_help...
Zhao-PengFei35/chromium_src_4
ui/base/interaction/interactive_test_unittest.cc
C++
unknown
47,195
include_rules = [ "+ui/base/ui_base_jni_headers", ]
Zhao-PengFei35/chromium_src_4
ui/base/l10n/DEPS
Python
unknown
54
// 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/l10n/formatter.h" #include <limits.h> #include <memory> #include <ostream> #include <vector> #include "base/check.h" #include "base/component_export.h" #in...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/formatter.cc
C++
unknown
13,522
// 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. // This file contains implementation details, the public interface is declared // in time_format.h. #ifndef UI_BASE_L10N_FORMATTER_H_ #define UI_BASE_L10N_FORMATTER_H_ #inclu...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/formatter.h
C++
unknown
4,060
// 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/l10n/l10n_font_util.h" #include "base/check_op.h" #include "base/strings/string_number_conversions.h" #include "ui/base/l10n/l10n_util.h" #include "ui/gfx/fo...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_font_util.cc
C++
unknown
1,006
// 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_L10N_L10N_FONT_UTIL_H_ #define UI_BASE_L10N_L10N_FONT_UTIL_H_ #include "base/component_export.h" #include "ui/gfx/geometry/size.h" namespace gfx { class FontL...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_font_util.h
C++
unknown
980
// 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/l10n/l10n_util.h" #include <cstdlib> #include <iterator> #include <memory> #include <string> #include "base/check_op.h" #include "base/command_line.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_util.cc
C++
unknown
37,692
// 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. // This file contains utility functions for dealing with localized // content. #ifndef UI_BASE_L10N_L10N_UTIL_H_ #define UI_BASE_L10N_L10N_UTIL_H_ #include <stddef.h> #includ...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_util.h
C++
unknown
14,035
// 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/l10n/l10n_util_android.h" #include <stdint.h> #include "base/android/jni_android.h" #include "base/android/jni_string.h" #include "base/android/scoped_java_...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_util_android.cc
C++
unknown
3,729
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_L10N_L10N_UTIL_ANDROID_H_ #define UI_BASE_L10N_L10N_UTIL_ANDROID_H_ #include <jni.h> #include <string> #include "base/component_export.h" namespace l10n_uti...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_util_android.h
C++
unknown
612
// 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_L10N_L10N_UTIL_COLLATOR_H_ #define UI_BASE_L10N_L10N_UTIL_COLLATOR_H_ #include <stddef.h> #include <algorithm> #include <functional> #include <memory> #includ...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_util_collator.h
C++
unknown
5,644
// 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_L10N_L10N_UTIL_IOS_H_ #define UI_BASE_L10N_L10N_UTIL_IOS_H_ #include <string> #include "base/component_export.h" namespace l10n_util { // Get localized lang...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_util_ios.h
C++
unknown
1,419
// 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. #import "ui/base/l10n/l10n_util_ios.h" #import <Foundation/Foundation.h> #include "base/check.h" #include "base/no_destructor.h" #include "base/strings/sys_string_conversions...
Zhao-PengFei35/chromium_src_4
ui/base/l10n/l10n_util_ios.mm
Objective-C++
unknown
3,463