| OLD | NEW |
| 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_UI_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_UI_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_UI_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_UI_API_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 Profile* profile_; | 62 Profile* profile_; |
| 63 std::string extension_id_; | 63 std::string extension_id_; |
| 64 scoped_ptr<chromeos::input_method::IBusUiController> ibus_ui_controller_; | 64 scoped_ptr<chromeos::input_method::IBusUiController> ibus_ui_controller_; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(ExtensionInputUiEventRouter); | 66 DISALLOW_COPY_AND_ASSIGN(ExtensionInputUiEventRouter); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 class RegisterInputUiFunction : public SyncExtensionFunction { | 69 class RegisterInputUiFunction : public SyncExtensionFunction { |
| 70 public: | 70 public: |
| 71 virtual bool RunImpl(); | 71 virtual bool RunImpl(); |
| 72 DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.register"); | 72 DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.ui.register"); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 class CandidateClickedInputUiFunction : public SyncExtensionFunction { | 75 class CandidateClickedInputUiFunction : public SyncExtensionFunction { |
| 76 public: | 76 public: |
| 77 virtual bool RunImpl(); | 77 virtual bool RunImpl(); |
| 78 DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.candidateClicked"); | 78 DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.ui.candidateClicked"); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 class CursorUpInputUiFunction : public SyncExtensionFunction { | 81 class CursorUpInputUiFunction : public SyncExtensionFunction { |
| 82 public: | 82 public: |
| 83 virtual bool RunImpl(); | 83 virtual bool RunImpl(); |
| 84 DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.cursorUp"); | 84 DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.ui.cursorUp"); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 class CursorDownInputUiFunction : public SyncExtensionFunction { | 87 class CursorDownInputUiFunction : public SyncExtensionFunction { |
| 88 public: | 88 public: |
| 89 virtual bool RunImpl(); | 89 virtual bool RunImpl(); |
| 90 DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.cursorDown"); | 90 DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.ui.cursorDown"); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 class PageUpInputUiFunction : public SyncExtensionFunction { | 93 class PageUpInputUiFunction : public SyncExtensionFunction { |
| 94 public: | 94 public: |
| 95 virtual bool RunImpl(); | 95 virtual bool RunImpl(); |
| 96 DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.pageUp"); | 96 DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.ui.pageUp"); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 class PageDownInputUiFunction : public SyncExtensionFunction { | 99 class PageDownInputUiFunction : public SyncExtensionFunction { |
| 100 public: | 100 public: |
| 101 virtual bool RunImpl(); | 101 virtual bool RunImpl(); |
| 102 DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.pageDown"); | 102 DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.ui.pageDown"); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_UI_API_H_ | 105 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_UI_API_H_ |
| OLD | NEW |