OLD | NEW |
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_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h" | 8 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h" |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 virtual void OnCandidateWindowOpened() OVERRIDE; | 78 virtual void OnCandidateWindowOpened() OVERRIDE; |
79 virtual void OnCandidateWindowClosed() OVERRIDE; | 79 virtual void OnCandidateWindowClosed() OVERRIDE; |
80 | 80 |
81 // Creates the candidate window view. | 81 // Creates the candidate window view. |
82 void CreateView(); | 82 void CreateView(); |
83 | 83 |
84 // IBusUiController::Observer overrides. | 84 // IBusUiController::Observer overrides. |
85 virtual void OnHideAuxiliaryText() OVERRIDE; | 85 virtual void OnHideAuxiliaryText() OVERRIDE; |
86 virtual void OnHideLookupTable() OVERRIDE; | 86 virtual void OnHideLookupTable() OVERRIDE; |
87 virtual void OnHidePreeditText() OVERRIDE; | 87 virtual void OnHidePreeditText() OVERRIDE; |
88 virtual void OnSetCursorLocation(const gfx::Rect& cursor_position, | 88 virtual void OnSetCursorLocation(const ibus::Rect& cursor_position, |
89 const gfx::Rect& composition_head) OVERRIDE; | 89 const ibus::Rect& composition_head) OVERRIDE; |
90 virtual void OnUpdateAuxiliaryText(const std::string& utf8_text, | 90 virtual void OnUpdateAuxiliaryText(const std::string& utf8_text, |
91 bool visible) OVERRIDE; | 91 bool visible) OVERRIDE; |
92 virtual void OnUpdateLookupTable( | 92 virtual void OnUpdateLookupTable( |
93 const ibus::IBusLookupTable& lookup_table, | 93 const ibus::IBusLookupTable& lookup_table, |
94 bool visible) OVERRIDE; | 94 bool visible) OVERRIDE; |
95 virtual void OnUpdatePreeditText(const std::string& utf8_text, | 95 virtual void OnUpdatePreeditText(const std::string& utf8_text, |
96 unsigned int cursor, bool visible) OVERRIDE; | 96 unsigned int cursor, bool visible) OVERRIDE; |
97 | 97 |
98 // IBusController::Observer override | 98 // IBusController::Observer override |
99 virtual void PropertyChanged() OVERRIDE; | 99 virtual void PropertyChanged() OVERRIDE; |
(...skipping 25 matching lines...) Expand all Loading... |
125 | 125 |
126 ObserverList<CandidateWindowController::Observer> observers_; | 126 ObserverList<CandidateWindowController::Observer> observers_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(CandidateWindowControllerImpl); | 128 DISALLOW_COPY_AND_ASSIGN(CandidateWindowControllerImpl); |
129 }; | 129 }; |
130 | 130 |
131 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL
_H_ | 131 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL
_H_ |
132 | 132 |
133 } // namespace input_method | 133 } // namespace input_method |
134 } // namespace chromeos | 134 } // namespace chromeos |
OLD | NEW |