| 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 // The header files provides APIs for monitoring and controlling input | 5 // The header files provides APIs for monitoring and controlling input |
| 6 // method UI status. The APIs encapsulate the APIs of IBus, the underlying | 6 // method UI status. The APIs encapsulate the APIs of IBus, the underlying |
| 7 // input method framework. | 7 // input method framework. |
| 8 | 8 |
| 9 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_UI_CONTROLLER_H_ | 9 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_UI_CONTROLLER_H_ |
| 10 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_UI_CONTROLLER_H_ | 10 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_UI_CONTROLLER_H_ |
| 11 #pragma once | 11 #pragma once |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 18 #include "third_party/mozc/session/candidates_lite.pb.h" | 18 #include "third_party/mozc/session/commands.pb.h" |
| 19 | 19 |
| 20 namespace chromeos { | 20 namespace chromeos { |
| 21 namespace input_method { | 21 namespace input_method { |
| 22 | 22 |
| 23 // A key for attaching the |ibus_service_panel_| object to |ibus_|. | 23 // A key for attaching the |ibus_service_panel_| object to |ibus_|. |
| 24 const char kPanelObjectKey[] = "panel-object"; | 24 const char kPanelObjectKey[] = "panel-object"; |
| 25 | 25 |
| 26 // The struct represents the input method lookup table (list of candidates). | 26 // The struct represents the input method lookup table (list of candidates). |
| 27 // Used for InputMethodUpdateLookupTableMonitorFunction. | 27 // Used for InputMethodUpdateLookupTableMonitorFunction. |
| 28 struct InputMethodLookupTable { | 28 struct InputMethodLookupTable { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 // Notifies that the page down button is clicked. |PageDown| signal will be | 139 // Notifies that the page down button is clicked. |PageDown| signal will be |
| 140 // sent to the ibus-daemon | 140 // sent to the ibus-daemon |
| 141 virtual void NotifyPageDown() = 0; | 141 virtual void NotifyPageDown() = 0; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } // namespace input_method | 144 } // namespace input_method |
| 145 } // namespace chromeos | 145 } // namespace chromeos |
| 146 | 146 |
| 147 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_UI_CONTROLLER_H_ | 147 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_UI_CONTROLLER_H_ |
| OLD | NEW |