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

Side by Side Diff: chrome/browser/chromeos/input_method/candidate_window_controller_impl.h

Issue 162723003: Migrate CandidateWindow::Entry to string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browsertest compilation Created 6 years, 10 months 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) 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
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
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
OLDNEW
« no previous file with comments | « ash/ime/candidate_window_view_unittest.cc ('k') | chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698