OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_INPUT_INPUT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_INPUT_INPUT_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_INPUT_INPUT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_INPUT_INPUT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 9 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
10 #include "chrome/browser/extensions/extension_function.h" | 10 #include "extensions/browser/extension_function.h" |
11 | 11 |
12 class Profile; | 12 class Profile; |
13 | 13 |
14 namespace extensions { | 14 namespace extensions { |
15 | 15 |
16 class VirtualKeyboardPrivateInsertTextFunction : public SyncExtensionFunction { | 16 class VirtualKeyboardPrivateInsertTextFunction : public SyncExtensionFunction { |
17 public: | 17 public: |
18 DECLARE_EXTENSION_FUNCTION("virtualKeyboardPrivate.insertText", | 18 DECLARE_EXTENSION_FUNCTION("virtualKeyboardPrivate.insertText", |
19 VIRTUALKEYBOARDPRIVATE_INSERTTEXT); | 19 VIRTUALKEYBOARDPRIVATE_INSERTTEXT); |
20 | 20 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // ProfileKeyedAPI implementation. | 93 // ProfileKeyedAPI implementation. |
94 static const char* service_name() { | 94 static const char* service_name() { |
95 return "InputAPI"; | 95 return "InputAPI"; |
96 } | 96 } |
97 static const bool kServiceIsNULLWhileTesting = true; | 97 static const bool kServiceIsNULLWhileTesting = true; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace extensions | 100 } // namespace extensions |
101 | 101 |
102 #endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_INPUT_H_ | 102 #endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_INPUT_H_ |
OLD | NEW |