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

Side by Side Diff: ui/chromeos/ime/candidate_window_view.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_ 5 #ifndef UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_
6 #define UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_ 6 #define UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_
7 7
8 #include "ui/base/ime/candidate_window.h" 8 #include "ui/base/ime/candidate_window.h"
9 #include "ui/chromeos/ui_chromeos_export.h" 9 #include "ui/chromeos/ui_chromeos_export.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void MaybeInitializeCandidateViews( 86 void MaybeInitializeCandidateViews(
87 const ui::CandidateWindow& candidate_window); 87 const ui::CandidateWindow& candidate_window);
88 88
89 // The candidate window data model. 89 // The candidate window data model.
90 ui::CandidateWindow candidate_window_; 90 ui::CandidateWindow candidate_window_;
91 91
92 // The index in the current page of the candidate currently being selected. 92 // The index in the current page of the candidate currently being selected.
93 int selected_candidate_index_in_page_; 93 int selected_candidate_index_in_page_;
94 94
95 // The observers of the object. 95 // The observers of the object.
96 ObserverList<Observer> observers_; 96 base::ObserverList<Observer> observers_;
97 97
98 // Views created in the class will be part of tree of |this|, so these 98 // Views created in the class will be part of tree of |this|, so these
99 // child views will be deleted when |this| is deleted. 99 // child views will be deleted when |this| is deleted.
100 InformationTextArea* auxiliary_text_; 100 InformationTextArea* auxiliary_text_;
101 InformationTextArea* preedit_; 101 InformationTextArea* preedit_;
102 views::View* candidate_area_; 102 views::View* candidate_area_;
103 103
104 // The candidate views are used for rendering candidates. 104 // The candidate views are used for rendering candidates.
105 std::vector<CandidateView*> candidate_views_; 105 std::vector<CandidateView*> candidate_views_;
106 106
(...skipping 20 matching lines...) Expand all
127 // send OnCandidateWindowOpened and OnCandidateWindowClosed events. 127 // send OnCandidateWindowOpened and OnCandidateWindowClosed events.
128 bool was_candidate_window_open_; 128 bool was_candidate_window_open_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView); 130 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView);
131 }; 131 };
132 132
133 } // namespace ime 133 } // namespace ime
134 } // namespace ui 134 } // namespace ui
135 135
136 #endif // UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_ 136 #endif // UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_
OLDNEW
« no previous file with comments | « ui/base/user_activity/user_activity_detector.h ('k') | ui/chromeos/ime/input_method_menu_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698