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 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_ASH_FAKE_IME_KEYBOARD_H_ #define UI_BASE_IME_ASH_FAKE_IME_KEYBOARD_H_ #include "ui/base/ime/ash/ime_keyboard.h" #include <string> #include "base/componen...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/fake_ime_keyboard.h
C++
unknown
1,402
// 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/ash/fake_input_method_delegate.h" namespace ash { namespace input_method { FakeInputMethodDelegate::FakeInputMethodDelegate() : active_locale_("en")...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/fake_input_method_delegate.cc
C++
unknown
1,184
// 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_ASH_FAKE_INPUT_METHOD_DELEGATE_H_ #define UI_BASE_IME_ASH_FAKE_INPUT_METHOD_DELEGATE_H_ #include <vector> #include "base/component_export.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/fake_input_method_delegate.h
C++
unknown
2,139
// 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_ASH_IME_ASSISTIVE_WINDOW_HANDLER_INTERFACE_H_ #define UI_BASE_IME_ASH_IME_ASSISTIVE_WINDOW_HANDLER_INTERFACE_H_ #include <stdint.h> #include <string> #in...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_assistive_window_handler_interface.h
C++
unknown
2,408
// 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/ash/ime_bridge.h" namespace ash { static IMEBridge* g_ime_bridge = nullptr; IMEBridge::IMEBridge() : current_input_context_(ui::TEXT_INPUT_TYPE_NONE) {...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_bridge.cc
C++
unknown
1,970
// 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_ASH_IME_BRIDGE_H_ #define UI_BASE_IME_ASH_IME_BRIDGE_H_ #include "base/component_export.h" #include "base/memory/raw_ptr.h" #include "base/observer_list.h"...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_bridge.h
C++
unknown
3,836
// 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_ASH_IME_BRIDGE_OBSERVER_H_ #define UI_BASE_IME_ASH_IME_BRIDGE_OBSERVER_H_ #include "base/component_export.h" #include "base/observer_list_types.h" namespa...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_bridge_observer.h
C++
unknown
692
// 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_ASH_IME_CANDIDATE_WINDOW_HANDLER_INTERFACE_H_ #define UI_BASE_IME_ASH_IME_CANDIDATE_WINDOW_HANDLER_INTERFACE_H_ #include <stdint.h> #include <string> #in...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_candidate_window_handler_interface.h
C++
unknown
1,889
// 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 <stddef.h> #include "ui/base/ime/ash/ime_keyboard.h" namespace ash { namespace input_method { namespace { const char *kISOLevel5ShiftLayoutIds[] = { "ca(multix)"...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keyboard.cc
C++
unknown
2,047
// 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_ASH_IME_KEYBOARD_H_ #define UI_BASE_IME_ASH_IME_KEYBOARD_H_ #include <string> #include <vector> #include "base/component_export.h" #include "base/observer...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keyboard.h
C++
unknown
3,647
// 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/ash/ime_keyboard_impl.h" #include "base/time/time.h" #include "ui/ozone/public/input_controller.h" namespace ash { namespace input_method { ImeKeyboard...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keyboard_impl.cc
C++
unknown
1,893
// 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_ASH_IME_KEYBOARD_IMPL_H_ #define UI_BASE_IME_ASH_IME_KEYBOARD_IMPL_H_ #include "base/component_export.h" #include "base/memory/raw_ptr.h" #include "ui/base...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keyboard_impl.h
C++
unknown
1,471
// 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/ime/ash/ime_keyboard.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/ime/ash/fake_ime_keyboard.h" namespace ash { namespace input_method...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keyboard_unittest.cc
C++
unknown
1,456
// 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/ash/ime_keymap.h" #include <stddef.h> #include <map> #include "base/lazy_instance.h" #include "ui/events/keycodes/keyboard_codes.h" namespace ash { n...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keymap.cc
C++
unknown
8,486
// 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_ASH_IME_KEYMAP_H_ #define UI_BASE_IME_ASH_IME_KEYMAP_H_ #include <string> #include "base/component_export.h" #include "ui/events/keycodes/keyboard_codes.h...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keymap.h
C++
unknown
721
// 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_ASH_IME_KEYSET_H_ #define UI_BASE_IME_ASH_IME_KEYSET_H_ namespace ash { namespace input_method { // Used by the virtual keyboard to represent different ke...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/ime_keyset.h
C++
unknown
633
// 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/ash/input_method_ash.h" #include <stddef.h> #include <algorithm> #include <cstring> #include <set> #include <tuple> #include <utility> #include <vector>...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_ash.cc
C++
unknown
40,282
// 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_ASH_INPUT_METHOD_ASH_H_ #define UI_BASE_IME_ASH_INPUT_METHOD_ASH_H_ #include <stdint.h> #include <memory> #include <set> #include "base/component_export....
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_ash.h
C++
unknown
9,052
// 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/ash/input_method_ash.h" #include <stddef.h> #include <stdint.h> #include <memory> #include <queue> #include <string> #include "base/functional/bind.h" ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_ash_unittest.cc
C++
unknown
61,938
// 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_ASH_INPUT_METHOD_DELEGATE_H_ #define UI_BASE_IME_ASH_INPUT_METHOD_DELEGATE_H_ #include <string> namespace ash { namespace input_method { // Provides acce...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_delegate.h
C++
unknown
1,382
// 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/ash/input_method_descriptor.h" #include <sstream> #include "base/check.h" #include "base/strings/string_split.h" #include "base/strings/string_util.h" #...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_descriptor.cc
C++
unknown
1,988
// 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_ASH_INPUT_METHOD_DESCRIPTOR_H_ #define UI_BASE_IME_ASH_INPUT_METHOD_DESCRIPTOR_H_ #include <string> #include <vector> #include "base/component_export.h" #...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_descriptor.h
C++
unknown
2,980
// 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/ash/input_method_descriptor.h" #include <stddef.h> #include <string> #include "base/strings/utf_string_conversions.h" #include "testing/gtest/include/gt...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_descriptor_unittest.cc
C++
unknown
2,689
// 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/ash/input_method_manager.h" #include "base/check.h" namespace ash { namespace input_method { namespace { InputMethodManager* g_input_method_manager = ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_manager.cc
C++
unknown
1,038
// 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_ASH_INPUT_METHOD_MANAGER_H_ #define UI_BASE_IME_ASH_INPUT_METHOD_MANAGER_H_ #include <stddef.h> #include <map> #include <memory> #include <string> #includ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_manager.h
C++
unknown
16,093
// 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/ime/ash/input_method_ukm.h" #include "services/metrics/public/cpp/ukm_builders.h" #include "ui/base/ui_base_features.h" namespace ash { void RecordUkmNonCo...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_ukm.cc
C++
unknown
1,171
// 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_IME_ASH_INPUT_METHOD_UKM_H_ #define UI_BASE_IME_ASH_INPUT_METHOD_UKM_H_ #include "base/component_export.h" #include "chromeos/ash/services/ime/public/mojom/inp...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_ukm.h
C++
unknown
1,060
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/ime/ash/input_method_util.h" #include <stddef.h> #include <functional> #include <map> #include <memory> #include <unordered_set> #include <utility> #includ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_util.cc
C++
unknown
35,054
// 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_ASH_INPUT_METHOD_UTIL_H_ #define UI_BASE_IME_ASH_INPUT_METHOD_UTIL_H_ #include <cstddef> #include <map> #include <memory> #include <string> #include <vecto...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_util.h
C++
unknown
7,624
// 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/ash/input_method_util.h" #include <stddef.h> #include <memory> #include <string> #include "base/functional/bind.h" #include "base/strings/utf_string_co...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/input_method_util_unittest.cc
C++
unknown
15,734
// 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/ime/ash/mock_component_extension_ime_manager.h" namespace ash { input_method::InputMethodDescriptors MockComponentExtensionIMEManager::GetXkbIMEAsInputMetho...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_component_extension_ime_manager.cc
C++
unknown
408
// 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_IME_ASH_MOCK_COMPONENT_EXTENSION_IME_MANAGER_H_ #define UI_BASE_IME_ASH_MOCK_COMPONENT_EXTENSION_IME_MANAGER_H_ #include "base/component_export.h" #include "ui...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_component_extension_ime_manager.h
C++
unknown
695
// 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/ash/mock_component_extension_ime_manager_delegate.h" #include "ui/base/ime/ash/component_extension_ime_manager.h" namespace ash { namespace input_method ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_component_extension_ime_manager_delegate.cc
C++
unknown
1,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. #ifndef UI_BASE_IME_ASH_MOCK_COMPONENT_EXTENSION_IME_MANAGER_DELEGATE_H_ #define UI_BASE_IME_ASH_MOCK_COMPONENT_EXTENSION_IME_MANAGER_DELEGATE_H_ #include <set> #include "bas...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_component_extension_ime_manager_delegate.h
C++
unknown
1,960
// 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/ash/mock_ime_candidate_window_handler.h" namespace ash { MockIMECandidateWindowHandler::MockIMECandidateWindowHandler() : set_cursor_and_composition...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_ime_candidate_window_handler.cc
C++
unknown
1,458
// 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_ASH_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ #define UI_BASE_IME_ASH_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ #include <stdint.h> #include "base/component_export....
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_ime_candidate_window_handler.h
C++
unknown
1,983
// 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/ash/mock_ime_engine_handler.h" #include "ui/base/ime/text_input_flags.h" namespace ash { MockIMEEngineHandler::MockIMEEngineHandler() : focus_in_cal...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_ime_engine_handler.cc
C++
unknown
2,583
// 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_ASH_MOCK_IME_ENGINE_HANDLER_H_ #define UI_BASE_IME_ASH_MOCK_IME_ENGINE_HANDLER_H_ #include <stddef.h> #include <stdint.h> #include <vector> #include "base...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_ime_engine_handler.h
C++
unknown
3,175
// 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/ash/mock_ime_input_context_handler.h" #include "base/logging.h" #include "base/notreached.h" #include "base/strings/utf_string_conversions.h" #include "u...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_ime_input_context_handler.cc
C++
unknown
5,397
// 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_ASH_MOCK_IME_INPUT_CONTEXT_HANDLER_H_ #define UI_BASE_IME_ASH_MOCK_IME_INPUT_CONTEXT_HANDLER_H_ #include <stdint.h> #include <string> #include "base/comp...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_ime_input_context_handler.h
C++
unknown
4,622
// 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/ash/mock_input_method_manager.h" #include <utility> #include "ui/base/ime/ash/input_method_util.h" namespace ash { namespace input_method { MockInputM...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_input_method_manager.cc
C++
unknown
7,155
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_IME_ASH_MOCK_INPUT_METHOD_MANAGER_H_ #define UI_BASE_IME_ASH_MOCK_INPUT_METHOD_MANAGER_H_ #include "base/component_export.h" #include "base/observer_list.h" #i...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_input_method_manager.h
C++
unknown
6,341
// 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/ime/ash/mock_input_method_manager_impl.h" #include <memory> #include <utility> #include "ui/base/ime/ash/input_method_util.h" namespace ash { namespace inp...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_input_method_manager_impl.cc
C++
unknown
4,296
// 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_IME_ASH_MOCK_INPUT_METHOD_MANAGER_IMPL_H_ #define UI_BASE_IME_ASH_MOCK_INPUT_METHOD_MANAGER_IMPL_H_ #include <stddef.h> #include "base/memory/raw_ptr.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/mock_input_method_manager_impl.h
C++
unknown
4,144
// 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_ASH_TEXT_INPUT_METHOD_H_ #define UI_BASE_IME_ASH_TEXT_INPUT_METHOD_H_ #include <stddef.h> #include <stdint.h> #include <string> #include <vector> #includ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/text_input_method.h
C++
unknown
5,779
// 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_ASH_TEXT_INPUT_TARGET_H_ #define UI_BASE_IME_ASH_TEXT_INPUT_TARGET_H_ #include <stdint.h> #include <string> #include "base/component_export.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/text_input_target.h
C++
unknown
4,042
// 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/ime/ash/typing_session_manager.h" #include <stddef.h> #include <algorithm> #include <cstring> #include <set> #include <utility> #include "base/metrics/hist...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/typing_session_manager.cc
C++
unknown
2,781
// 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_IME_ASH_TYPING_SESSION_MANAGER_H_ #define UI_BASE_IME_ASH_TYPING_SESSION_MANAGER_H_ #include <stdint.h> #include "base/memory/raw_ptr.h" #include "base/time/d...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/typing_session_manager.h
C++
unknown
1,204
// 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/ime/ash/typing_session_manager.h" #include <memory> #include <utility> #include "base/guid.h" #include "base/strings/utf_string_conversions.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ash/typing_session_manager_unittest.cc
C++
unknown
6,985
// 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_IME_AUTOCORRECT_INFO_H_ #define UI_BASE_IME_AUTOCORRECT_INFO_H_ #include "base/component_export.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/range/ran...
Zhao-PengFei35/chromium_src_4
ui/base/ime/autocorrect_info.h
C++
unknown
613
// 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/candidate_window.h" #include <stddef.h> #include <string> #include "base/check.h" #include "base/strings/utf_string_conversions.h" #include "base/values...
Zhao-PengFei35/chromium_src_4
ui/base/ime/candidate_window.cc
C++
unknown
3,176
// 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_CANDIDATE_WINDOW_H_ #define UI_BASE_IME_CANDIDATE_WINDOW_H_ #include <stdint.h> #include <memory> #include <string> #include <vector> #include "base/comp...
Zhao-PengFei35/chromium_src_4
ui/base/ime/candidate_window.h
C++
unknown
4,524
// 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. // TODO(nona): Add more tests. #include "ui/base/ime/candidate_window.h" #include <stddef.h> #include <memory> #include <string> #include "base/compiler_specific.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ime/candidate_window_unittest.cc
C++
unknown
8,156
// 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/character_composer.h" #include <algorithm> #include <iterator> #include <string> #include "base/check.h" #include "base/notreached.h" #include "base/str...
Zhao-PengFei35/chromium_src_4
ui/base/ime/character_composer.cc
C++
unknown
10,422
// 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_CHARACTER_COMPOSER_H_ #define UI_BASE_IME_CHARACTER_COMPOSER_H_ #include <stddef.h> #include <stdint.h> #include <vector> #include "base/component_export...
Zhao-PengFei35/chromium_src_4
ui/base/ime/character_composer.h
C++
unknown
4,153
// 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/character_composer.h" #include <stdint.h> #include <memory> #include "base/containers/contains.h" #include "base/strings/utf_string_conversions.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/base/ime/character_composer_unittest.cc
C++
unknown
30,024
// 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/composition_text.h" namespace ui { CompositionText::CompositionText() = default; CompositionText::CompositionText(const CompositionText& other) = defau...
Zhao-PengFei35/chromium_src_4
ui/base/ime/composition_text.cc
C++
unknown
680
// 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_COMPOSITION_TEXT_H_ #define UI_BASE_IME_COMPOSITION_TEXT_H_ #include <stddef.h> #include <string> #include "base/component_export.h" #include "ui/base/im...
Zhao-PengFei35/chromium_src_4
ui/base/ime/composition_text.h
C++
unknown
1,225
// 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/composition_text.h" #include <stddef.h> #include "base/strings/utf_string_conversions.h" #include "testing/gtest/include/gtest/gtest.h" namespace ui { ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/composition_text_unittest.cc
C++
unknown
2,173
// 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/constants.h" namespace ui { // Here, we define attributes of ui::Event::Properties objects // kPropertyFromVK const char kPropertyFromVK[] = "from_vk"; ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/constants.cc
C++
unknown
745
// 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_CONSTANTS_H_ #define UI_BASE_IME_CONSTANTS_H_ #include "base/component_export.h" #include "stddef.h" namespace ui { // The name of the property that is a...
Zhao-PengFei35/chromium_src_4
ui/base/ime/constants.h
C++
unknown
982
// 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/dummy_input_method.h" #include "build/build_config.h" #include "ui/events/event.h" namespace ui { DummyInputMethod::DummyInputMethod() { } DummyInputMe...
Zhao-PengFei35/chromium_src_4
ui/base/ime/dummy_input_method.cc
C++
unknown
2,026
// 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_DUMMY_INPUT_METHOD_H_ #define UI_BASE_IME_DUMMY_INPUT_METHOD_H_ #include "build/build_config.h" #include "ui/base/ime/input_method.h" namespace ui { clas...
Zhao-PengFei35/chromium_src_4
ui/base/ime/dummy_input_method.h
C++
unknown
1,947
// 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/dummy_text_input_client.h" #include "base/notreached.h" #include "base/strings/string_util.h" #include "build/build_config.h" #include "build/chromeos_bu...
Zhao-PengFei35/chromium_src_4
ui/base/ime/dummy_text_input_client.cc
C++
unknown
5,975
// 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_DUMMY_TEXT_INPUT_CLIENT_H_ #define UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ #include <stddef.h> #include <stdint.h> #include "build/build_config.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ime/dummy_text_input_client.h
C++
unknown
5,216
// 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/fake_text_input_client.h" #include "base/check_op.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" #include "ui/events/event_con...
Zhao-PengFei35/chromium_src_4
ui/base/ime/fake_text_input_client.cc
C++
unknown
5,913
// 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_FAKE_TEXT_INPUT_CLIENT_H_ #define UI_BASE_IME_FAKE_TEXT_INPUT_CLIENT_H_ #include <stddef.h> #include <stdint.h> #include "build/build_config.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/base/ime/fake_text_input_client.h
C++
unknown
4,547
// 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/fuchsia/input_method_fuchsia.h" #include <lib/sys/cpp/component_context.h> #include <memory> #include <utility> #include "base/fuchsia/process_context.h...
Zhao-PengFei35/chromium_src_4
ui/base/ime/fuchsia/input_method_fuchsia.cc
C++
unknown
2,868
// 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_FUCHSIA_INPUT_METHOD_FUCHSIA_H_ #define UI_BASE_IME_FUCHSIA_INPUT_METHOD_FUCHSIA_H_ #include <fidl/fuchsia.ui.views/cpp/common_types.h> #include <lib/fidl/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/fuchsia/input_method_fuchsia.h
C++
unknown
1,779
// 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/ime/fuchsia/keyboard_client.h" #include <lib/async/default.h> #include <limits> #include <tuple> #include <utility> #include "base/fuchsia/fuchsia_logging....
Zhao-PengFei35/chromium_src_4
ui/base/ime/fuchsia/keyboard_client.cc
C++
unknown
9,268
// 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_IME_FUCHSIA_KEYBOARD_CLIENT_H_ #define UI_BASE_IME_FUCHSIA_KEYBOARD_CLIENT_H_ #include <fidl/fuchsia.ui.input3/cpp/fidl.h> #include <lib/fidl/cpp/binding.h> #...
Zhao-PengFei35/chromium_src_4
ui/base/ime/fuchsia/keyboard_client.h
C++
unknown
2,150
// 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/fuchsia/virtual_keyboard_controller_fuchsia.h" #include <fidl/fuchsia.input.virtualkeyboard/cpp/natural_ostream.h> #include <lib/async/default.h> #includ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/fuchsia/virtual_keyboard_controller_fuchsia.cc
C++
unknown
5,834
// 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_FUCHSIA_VIRTUAL_KEYBOARD_CONTROLLER_FUCHSIA_H_ #define UI_BASE_IME_FUCHSIA_VIRTUAL_KEYBOARD_CONTROLLER_FUCHSIA_H_ #include <fidl/fuchsia.input.virtualkeybo...
Zhao-PengFei35/chromium_src_4
ui/base/ime/fuchsia/virtual_keyboard_controller_fuchsia.h
C++
unknown
2,506
#!/usr/bin/env python3 # 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. """Generate a compact character composition table. Normal use: ./generate_character_composer_data.py \ --output character_composer_data.h \ c...
Zhao-PengFei35/chromium_src_4
ui/base/ime/generate_character_composer_data.py
Python
unknown
13,657
// 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/ime/grammar_fragment.h" namespace ui { GrammarFragment::GrammarFragment(const gfx::Range& range, const std::string& suggest...
Zhao-PengFei35/chromium_src_4
ui/base/ime/grammar_fragment.cc
C++
unknown
755
// 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_IME_GRAMMAR_FRAGMENT_H_ #define UI_BASE_IME_GRAMMAR_FRAGMENT_H_ #include <string> #include "base/component_export.h" #include "ui/gfx/range/range.h" namespac...
Zhao-PengFei35/chromium_src_4
ui/base/ime/grammar_fragment.h
C++
unknown
991
// 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_IME_KEY_EVENT_DISPATCHER_H_ #define UI_BASE_IME_IME_KEY_EVENT_DISPATCHER_H_ #include "base/component_export.h" namespace ui { class KeyEvent; struct Even...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ime_key_event_dispatcher.h
C++
unknown
826
// 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/ime/ime_text_span.h" #include <string> #include <vector> namespace ui { ImeTextSpan::ImeTextSpan(Type type, size_t start_offset, ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ime_text_span.cc
C++
unknown
1,057
// 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_IME_TEXT_SPAN_H_ #define UI_BASE_IME_IME_TEXT_SPAN_H_ #include <stdint.h> #include <string> #include <vector> #include "base/component_export.h" #include...
Zhao-PengFei35/chromium_src_4
ui/base/ime/ime_text_span.h
C++
unknown
3,040
// 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/infolist_entry.h" namespace ui { InfolistEntry::InfolistEntry(const std::u16string& title, const std::u16string& body) ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/infolist_entry.cc
C++
unknown
653
// 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_INFOLIST_ENTRY_H_ #define UI_BASE_IME_INFOLIST_ENTRY_H_ #include <string> #include "base/component_export.h" namespace ui { // The data model of infolis...
Zhao-PengFei35/chromium_src_4
ui/base/ime/infolist_entry.h
C++
unknown
702
include_rules = [ "+ui/ozone/public" ]
Zhao-PengFei35/chromium_src_4
ui/base/ime/init/DEPS
Python
unknown
41
// 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/init/input_method_factory.h" #include "base/command_line.h" #include "base/logging.h" #include "base/memory/ptr_util.h" #include "build/build_config.h" #...
Zhao-PengFei35/chromium_src_4
ui/base/ime/init/input_method_factory.cc
C++
unknown
3,123
// 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_INIT_INPUT_METHOD_FACTORY_H_ #define UI_BASE_IME_INIT_INPUT_METHOD_FACTORY_H_ #include <memory> #include "base/component_export.h" #include "ui/base/ime/i...
Zhao-PengFei35/chromium_src_4
ui/base/ime/init/input_method_factory.h
C++
unknown
1,238
// 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/init/input_method_initializer.h" #include "base/functional/bind.h" #include "base/functional/callback.h" #include "build/build_config.h" #include "build/...
Zhao-PengFei35/chromium_src_4
ui/base/ime/init/input_method_initializer.cc
C++
unknown
1,839
// 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_INIT_INPUT_METHOD_INITIALIZER_H_ #define UI_BASE_IME_INIT_INPUT_METHOD_INITIALIZER_H_ #include "base/component_export.h" namespace ui { // Initializes th...
Zhao-PengFei35/chromium_src_4
ui/base/ime/init/input_method_initializer.h
C++
unknown
1,196
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_IME_INPUT_METHOD_H_ #define UI_BASE_IME_INPUT_METHOD_H_ #include <stdint.h> #include "build/build_config.h" #include "ui/base/ime/text_input_mode.h" #include ...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method.h
C++
unknown
7,273
// 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/input_method_base.h" #include <tuple> #include "base/check.h" #include "base/functional/bind.h" #include "base/functional/callback_helpers.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method_base.cc
C++
unknown
5,351
// 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_INPUT_METHOD_BASE_H_ #define UI_BASE_IME_INPUT_METHOD_BASE_H_ #include <memory> #include <vector> #include "base/component_export.h" #include "base/memory...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method_base.h
C++
unknown
4,290
// 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/input_method_base.h" #include <memory> #include "base/gtest_prod_util.h" #include "base/memory/raw_ptr.h" #include "base/memory/raw_ptr_exclusion.h" #in...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method_base_unittest.cc
C++
unknown
10,849
// 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/input_method_minimal.h" #include <stdint.h> #include "ui/base/ime/text_input_client.h" #include "ui/events/event.h" #include "ui/events/types/event_type...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method_minimal.cc
C++
unknown
1,502
// 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_INPUT_METHOD_MINIMAL_H_ #define UI_BASE_IME_INPUT_METHOD_MINIMAL_H_ #include "base/component_export.h" #include "ui/base/ime/input_method_base.h" namespac...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method_minimal.h
C++
unknown
1,156
// 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/input_method_minimal.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/base/ime/dummy_text_input_client.h" #include "ui/base/ime/ime_key_eve...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method_minimal_unittest.cc
C++
unknown
2,981
// 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_INPUT_METHOD_OBSERVER_H_ #define UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ #include "base/component_export.h" namespace ui { class InputMethod; class TextInpu...
Zhao-PengFei35/chromium_src_4
ui/base/ime/input_method_observer.h
C++
unknown
1,504
// 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/composition_text_util_pango.h" #include <pango/pango-attributes.h> #include <stddef.h> #include <algorithm> #include <string> #include "base/i18n...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/composition_text_util_pango.cc
C++
unknown
4,703
// 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_COMPOSITION_TEXT_UTIL_PANGO_H_ #define UI_BASE_IME_LINUX_COMPOSITION_TEXT_UTIL_PANGO_H_ #include "base/component_export.h" typedef struct _PangoAttr...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/composition_text_util_pango.h
C++
unknown
812
// 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/composition_text_util_pango.h" #include <pango/pango-attributes.h> #include <stddef.h> #include <stdint.h> #include <string> #include <utility> #...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/composition_text_util_pango_unittest.cc
C++
unknown
5,735
// 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/fake_input_method_context.h" namespace ui { FakeInputMethodContext::FakeInputMethodContext() = default; // Overriden from ui::LinuxInputMethodCon...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/fake_input_method_context.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_FAKE_INPUT_METHOD_CONTEXT_H_ #define UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_ #include "base/component_export.h" #include "ui/base/ime/linux/li...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/fake_input_method_context.h
C++
unknown
1,810
// 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/input_method_auralinux.h" #include "base/auto_reset.h" #include "base/environment.h" #include "base/functional/bind.h" #include "base/strings/utf_o...
Zhao-PengFei35/chromium_src_4
ui/base/ime/linux/input_method_auralinux.cc
C++
unknown
24,828