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

Side by Side Diff: extensions/browser/api/virtual_keyboard_private/virtual_keyboard_private_api.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_priva te_api.h" 5 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_priva te_api.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "extensions/browser/api/extensions_api_client.h" 9 #include "extensions/browser/api/extensions_api_client.h"
10 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg ate.h" 10 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg ate.h"
11 #include "extensions/browser/extension_function_registry.h" 11 #include "extensions/browser/extension_function_registry.h"
12 #include "extensions/common/api/virtual_keyboard_private.h" 12 #include "extensions/common/api/virtual_keyboard_private.h"
13 #include "ui/events/event.h" 13 #include "ui/events/event.h"
14 14
15 namespace SetMode = extensions::core_api::virtual_keyboard_private::SetMode; 15 namespace SetMode = extensions::api::virtual_keyboard_private::SetMode;
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 namespace { 19 namespace {
20 20
21 const char kNotYetImplementedError[] = 21 const char kNotYetImplementedError[] =
22 "API is not implemented on this platform."; 22 "API is not implemented on this platform.";
23 const char kVirtualKeyboardNotEnabled[] = 23 const char kVirtualKeyboardNotEnabled[] =
24 "The virtual keyboard is not enabled."; 24 "The virtual keyboard is not enabled.";
25 25
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 static base::LazyInstance<BrowserContextKeyedAPIFactory<VirtualKeyboardAPI>> 146 static base::LazyInstance<BrowserContextKeyedAPIFactory<VirtualKeyboardAPI>>
147 g_factory = LAZY_INSTANCE_INITIALIZER; 147 g_factory = LAZY_INSTANCE_INITIALIZER;
148 148
149 // static 149 // static
150 BrowserContextKeyedAPIFactory<VirtualKeyboardAPI>* 150 BrowserContextKeyedAPIFactory<VirtualKeyboardAPI>*
151 VirtualKeyboardAPI::GetFactoryInstance() { 151 VirtualKeyboardAPI::GetFactoryInstance() {
152 return g_factory.Pointer(); 152 return g_factory.Pointer();
153 } 153 }
154 154
155 } // namespace extensions 155 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/usb/usb_event_router.cc ('k') | extensions/browser/api/vpn_provider/vpn_provider_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698