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

Side by Side Diff: chrome/browser/chromeos/extensions/input_method_api.cc

Issue 1000443002: [Extensions] Make value_builder.h usable outside of tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | extensions/extensions.gypi » ('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/extensions/input_method_api.h" 5 #include "chrome/browser/chromeos/extensions/input_method_api.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/chromeos/extensions/input_method_event_router.h" 10 #include "chrome/browser/chromeos/extensions/input_method_event_router.h"
11 #include "chrome/browser/chromeos/input_method/input_method_util.h" 11 #include "chrome/browser/chromeos/input_method/input_method_util.h"
12 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h" 12 #include "chrome/browser/extensions/api/input_ime/input_ime_api.h"
13 #include "chrome/browser/spellchecker/spellcheck_factory.h" 13 #include "chrome/browser/spellchecker/spellcheck_factory.h"
14 #include "chrome/browser/spellchecker/spellcheck_service.h" 14 #include "chrome/browser/spellchecker/spellcheck_service.h"
15 #include "chromeos/chromeos_switches.h" 15 #include "chromeos/chromeos_switches.h"
16 #include "extensions/browser/extension_function_registry.h" 16 #include "extensions/browser/extension_function_registry.h"
17 #include "extensions/browser/extension_system.h" 17 #include "extensions/browser/extension_system.h"
18 #include "extensions/common/value_builder.h"
19 #include "ui/base/ime/chromeos/extension_ime_util.h" 18 #include "ui/base/ime/chromeos/extension_ime_util.h"
20 #include "ui/base/ime/chromeos/input_method_descriptor.h" 19 #include "ui/base/ime/chromeos/input_method_descriptor.h"
21 #include "ui/base/ime/chromeos/input_method_manager.h" 20 #include "ui/base/ime/chromeos/input_method_manager.h"
22 21
23 namespace { 22 namespace {
24 23
25 // Prefix, which is used by XKB. 24 // Prefix, which is used by XKB.
26 const char kXkbPrefix[] = "xkb:"; 25 const char kXkbPrefix[] = "xkb:";
27 26
28 } // namespace 27 } // namespace
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 static base::LazyInstance<BrowserContextKeyedAPIFactory<InputMethodAPI> > 201 static base::LazyInstance<BrowserContextKeyedAPIFactory<InputMethodAPI> >
203 g_factory = LAZY_INSTANCE_INITIALIZER; 202 g_factory = LAZY_INSTANCE_INITIALIZER;
204 203
205 // static 204 // static
206 BrowserContextKeyedAPIFactory<InputMethodAPI>* 205 BrowserContextKeyedAPIFactory<InputMethodAPI>*
207 InputMethodAPI::GetFactoryInstance() { 206 InputMethodAPI::GetFactoryInstance() {
208 return g_factory.Pointer(); 207 return g_factory.Pointer();
209 } 208 }
210 209
211 } // namespace extensions 210 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | extensions/extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698