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

Side by Side Diff: chrome/browser/extensions/extension_input_api.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_
7 #pragma once
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
11 10
12 // Note that this experimental API is currently only available for 11 // Note that this experimental API is currently only available for
13 // TOOLKIT_VIEWS (see chrome/chrome_browser.gypi). 12 // TOOLKIT_VIEWS (see chrome/chrome_browser.gypi).
14 // 13 //
15 // We may eventually support other platforms by adding the necessary 14 // We may eventually support other platforms by adding the necessary
16 // synthetic event distribution code to this Function. 15 // synthetic event distribution code to this Function.
17 class SendKeyboardEventInputFunction : public SyncExtensionFunction { 16 class SendKeyboardEventInputFunction : public SyncExtensionFunction {
18 public: 17 public:
19 DECLARE_EXTENSION_FUNCTION_NAME( 18 DECLARE_EXTENSION_FUNCTION_NAME(
20 "experimental.input.virtualKeyboard.sendKeyboardEvent"); 19 "experimental.input.virtualKeyboard.sendKeyboardEvent");
21 20
22 protected: 21 protected:
23 virtual ~SendKeyboardEventInputFunction() {} 22 virtual ~SendKeyboardEventInputFunction() {}
24 23
25 // ExtensionFunction: 24 // ExtensionFunction:
26 virtual bool RunImpl() OVERRIDE; 25 virtual bool RunImpl() OVERRIDE;
27 }; 26 };
28 27
29 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_ 28 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_infobar_delegate.h ('k') | chrome/browser/extensions/extension_input_ime_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698