OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/input_method/input_method_manager_impl.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_manager_impl.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <algorithm> // std::find | 9 #include <algorithm> // std::find |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 #include <sstream> | 12 #include <sstream> |
13 #include <utility> | 13 #include <utility> |
14 | 14 |
15 #include "ash/shell.h" | 15 #include "ash/shell.h" |
16 #include "base/bind.h" | 16 #include "base/bind.h" |
17 #include "base/feature_list.h" | 17 #include "base/feature_list.h" |
18 #include "base/hash.h" | 18 #include "base/hash.h" |
19 #include "base/location.h" | 19 #include "base/location.h" |
20 #include "base/metrics/histogram_macros.h" | 20 #include "base/metrics/histogram_macros.h" |
21 #include "base/metrics/sparse_histogram.h" | 21 #include "base/metrics/sparse_histogram.h" |
22 #include "base/strings/string_split.h" | 22 #include "base/strings/string_split.h" |
23 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
24 #include "base/strings/stringprintf.h" | |
25 #include "base/sys_info.h" | 24 #include "base/sys_info.h" |
26 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
27 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h" | 26 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h" |
28 #include "chrome/browser/chromeos/input_method/component_extension_ime_manager_i
mpl.h" | 27 #include "chrome/browser/chromeos/input_method/component_extension_ime_manager_i
mpl.h" |
29 #include "chrome/browser/chromeos/input_method/input_method_switch_recorder.h" | 28 #include "chrome/browser/chromeos/input_method/input_method_switch_recorder.h" |
30 #include "chrome/browser/chromeos/language_preferences.h" | 29 #include "chrome/browser/chromeos/language_preferences.h" |
31 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 30 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
32 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 31 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
33 #include "chrome/browser/profiles/profile_manager.h" | 32 #include "chrome/browser/profiles/profile_manager.h" |
34 #include "chrome/browser/ui/ash/ash_util.h" | 33 #include "chrome/browser/ui/ash/ash_util.h" |
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 replacements.SetRefStr(overridden_ref); | 1254 replacements.SetRefStr(overridden_ref); |
1256 keyboard::SetOverrideContentUrl(url.ReplaceComponents(replacements)); | 1255 keyboard::SetOverrideContentUrl(url.ReplaceComponents(replacements)); |
1257 } | 1256 } |
1258 | 1257 |
1259 bool InputMethodManagerImpl::IsEmojiHandwritingVoiceOnImeMenuEnabled() { | 1258 bool InputMethodManagerImpl::IsEmojiHandwritingVoiceOnImeMenuEnabled() { |
1260 return base::FeatureList::IsEnabled(features::kEHVInputOnImeMenu); | 1259 return base::FeatureList::IsEnabled(features::kEHVInputOnImeMenu); |
1261 } | 1260 } |
1262 | 1261 |
1263 } // namespace input_method | 1262 } // namespace input_method |
1264 } // namespace chromeos | 1263 } // namespace chromeos |
OLD | NEW |