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

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

Issue 8651001: Move functions out of TOUCH_UI defines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/extensions/extension_function.h" 10 #include "chrome/browser/extensions/extension_function.h"
(...skipping 19 matching lines...) Expand all
30 }; 30 };
31 31
32 class SetKeyboardHeightFunction : public AsyncExtensionFunction { 32 class SetKeyboardHeightFunction : public AsyncExtensionFunction {
33 public: 33 public:
34 virtual bool RunImpl() OVERRIDE; 34 virtual bool RunImpl() OVERRIDE;
35 DECLARE_EXTENSION_FUNCTION_NAME( 35 DECLARE_EXTENSION_FUNCTION_NAME(
36 "experimental.input.virtualKeyboard.setKeyboardHeight"); 36 "experimental.input.virtualKeyboard.setKeyboardHeight");
37 }; 37 };
38 #endif 38 #endif
39 39
40 #if defined(OS_CHROMEOS) && defined(TOUCH_UI) 40 #if defined(OS_CHROMEOS) && defined(USE_VIRTUAL_KEYBOARD)
41 // Note that this experimental APIs are currently only available for 41 // Note that these experimental APIs are currently only available for
42 // TOUCH_UI version of Chrome OS. Please also note that the version of Chrome 42 // versions of Chrome OS built with USE_VIRTUAL_KEYBOARD. Please also note that
43 // OS is always built with TOOLKIT_VIEWS. 43 // the version of Chrome OS is always built with TOOLKIT_VIEWS.
44 // 44 //
45 // We may eventually support other platforms, especially non TOUCH_UI version 45 // We may eventually support other platforms, especially non TOUCH_UI version
46 // of Chrome OS. 46 // of Chrome OS.
47 class SendHandwritingStrokeFunction : public SyncExtensionFunction { 47 class SendHandwritingStrokeFunction : public SyncExtensionFunction {
48 public: 48 public:
49 virtual bool RunImpl() OVERRIDE; 49 virtual bool RunImpl() OVERRIDE;
50 DECLARE_EXTENSION_FUNCTION_NAME( 50 DECLARE_EXTENSION_FUNCTION_NAME(
51 "experimental.input.virtualKeyboard.sendHandwritingStroke"); 51 "experimental.input.virtualKeyboard.sendHandwritingStroke");
52 }; 52 };
53 53
54 class CancelHandwritingStrokesFunction : public SyncExtensionFunction { 54 class CancelHandwritingStrokesFunction : public SyncExtensionFunction {
55 public: 55 public:
56 virtual bool RunImpl() OVERRIDE; 56 virtual bool RunImpl() OVERRIDE;
57 DECLARE_EXTENSION_FUNCTION_NAME( 57 DECLARE_EXTENSION_FUNCTION_NAME(
58 "experimental.input.virtualKeyboard.cancelHandwritingStrokes"); 58 "experimental.input.virtualKeyboard.cancelHandwritingStrokes");
59 }; 59 };
60 #endif 60 #endif
61 61
62 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_ 62 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698