| 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 "ash/ime/candidate_window_view.h" | 10 #include "ash/ime/candidate_window_view.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 // views::WidgetObserver implementation. | 65 // views::WidgetObserver implementation. |
| 66 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; | 66 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; |
| 67 | 67 |
| 68 // IBusPanelCandidateWindowHandlerInterface implementation. | 68 // IBusPanelCandidateWindowHandlerInterface implementation. |
| 69 virtual void SetCursorBounds(const gfx::Rect& cursor_bounds, | 69 virtual void SetCursorBounds(const gfx::Rect& cursor_bounds, |
| 70 const gfx::Rect& composition_head) OVERRIDE; | 70 const gfx::Rect& composition_head) OVERRIDE; |
| 71 virtual void UpdateLookupTable( | 71 virtual void UpdateLookupTable( |
| 72 const ui::CandidateWindow& candidate_window, | 72 const ui::CandidateWindow& candidate_window, |
| 73 bool visible) OVERRIDE; | 73 bool visible) OVERRIDE; |
| 74 virtual void UpdatePreeditText(const std::string& utf8_text, | 74 virtual void UpdatePreeditText(const base::string16& text, |
| 75 unsigned int cursor, bool visible) OVERRIDE; | 75 unsigned int cursor, bool visible) OVERRIDE; |
| 76 virtual void FocusStateChanged(bool is_focused) OVERRIDE; | 76 virtual void FocusStateChanged(bool is_focused) OVERRIDE; |
| 77 | 77 |
| 78 void InitCandidateWindowView(); | 78 void InitCandidateWindowView(); |
| 79 | 79 |
| 80 // The candidate window view. | 80 // The candidate window view. |
| 81 ash::ime::CandidateWindowView* candidate_window_view_; | 81 ash::ime::CandidateWindowView* candidate_window_view_; |
| 82 | 82 |
| 83 // This is the outer frame of the infolist window view. Owned by the widget. | 83 // This is the outer frame of the infolist window view. Owned by the widget. |
| 84 ash::ime::InfolistWindow* infolist_window_; | 84 ash::ime::InfolistWindow* infolist_window_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 95 | 95 |
| 96 ObserverList<CandidateWindowController::Observer> observers_; | 96 ObserverList<CandidateWindowController::Observer> observers_; |
| 97 | 97 |
| 98 DISALLOW_COPY_AND_ASSIGN(CandidateWindowControllerImpl); | 98 DISALLOW_COPY_AND_ASSIGN(CandidateWindowControllerImpl); |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL
_H_ | 101 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_CONTROLLER_IMPL
_H_ |
| 102 | 102 |
| 103 } // namespace input_method | 103 } // namespace input_method |
| 104 } // namespace chromeos | 104 } // namespace chromeos |
| OLD | NEW |