Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_util.cc

Issue 566823003: Move declarative_webrequest: action, rules_registry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert extension_constants changes (this patch violates DEPS ..) Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/declarative_apitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_util.h" 5 #include "chrome/browser/chromeos/input_method/input_method_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/prefs/pref_service.h" 14 #include "base/prefs/pref_service.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "chrome/common/extensions/extension_constants.h"
19 // TODO(nona): move this header from this file. 18 // TODO(nona): move this header from this file.
20 #include "chrome/grit/generated_resources.h" 19 #include "chrome/grit/generated_resources.h"
21 #include "chromeos/ime/component_extension_ime_manager.h" 20 #include "chromeos/ime/component_extension_ime_manager.h"
22 #include "chromeos/ime/extension_ime_util.h" 21 #include "chromeos/ime/extension_ime_util.h"
23 // For SetHardwareKeyboardLayoutForTesting. 22 // For SetHardwareKeyboardLayoutForTesting.
23 #include "chrome/common/extensions/extension_constants.h"
Daniel Erat 2014/09/16 17:42:10 i don't understand why this header got moved down
wjmaclean 2014/09/16 17:51:59 Sorry, this got out of order when I moved extensio
24 #include "chromeos/ime/fake_input_method_delegate.h" 24 #include "chromeos/ime/fake_input_method_delegate.h"
25 #include "chromeos/ime/input_method_delegate.h" 25 #include "chromeos/ime/input_method_delegate.h"
26 #include "chromeos/ime/input_method_whitelist.h" 26 #include "chromeos/ime/input_method_whitelist.h"
27 27
28 namespace { 28 namespace {
29 29
30 // A mapping from an input method id to a string for the language indicator. The 30 // A mapping from an input method id to a string for the language indicator. The
31 // mapping is necessary since some input methods belong to the same language. 31 // mapping is necessary since some input methods belong to the same language.
32 // For example, both "xkb:us::eng" and "xkb:us:dvorak:eng" are for US English. 32 // For example, both "xkb:us::eng" and "xkb:us:dvorak:eng" are for US English.
33 const struct { 33 const struct {
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 "US", 752 "US",
753 layouts, 753 layouts,
754 languages, 754 languages,
755 true, // login keyboard. 755 true, // login keyboard.
756 GURL(), // options page, not available. 756 GURL(), // options page, not available.
757 GURL()); // input view page, not available. 757 GURL()); // input view page, not available.
758 } 758 }
759 759
760 } // namespace input_method 760 } // namespace input_method
761 } // namespace chromeos 761 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/declarative_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698