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

Side by Side Diff: ash/ime/candidate_window_view.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « ash/ime/candidate_view_unittest.cc ('k') | ash/ime/candidate_window_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 5 #ifndef ASH_IME_CANDIDATE_WINDOW_VIEW_H_
6 #define ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 6 #define ASH_IME_CANDIDATE_WINDOW_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ui/base/ime/candidate_window.h" 9 #include "ui/base/ime/candidate_window.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void UpdateCandidates(const ui::CandidateWindow& candidate_window); 68 void UpdateCandidates(const ui::CandidateWindow& candidate_window);
69 69
70 void SetCursorBounds(const gfx::Rect& cursor_bounds, 70 void SetCursorBounds(const gfx::Rect& cursor_bounds,
71 const gfx::Rect& composition_head); 71 const gfx::Rect& composition_head);
72 72
73 private: 73 private:
74 friend class CandidateWindowViewTest; 74 friend class CandidateWindowViewTest;
75 75
76 // Overridden from views::ButtonListener: 76 // Overridden from views::ButtonListener:
77 virtual void ButtonPressed(views::Button* sender, 77 virtual void ButtonPressed(views::Button* sender,
78 const ui::Event& event) OVERRIDE; 78 const ui::Event& event) override;
79 79
80 void SelectCandidateAt(int index_in_page); 80 void SelectCandidateAt(int index_in_page);
81 void UpdateVisibility(); 81 void UpdateVisibility();
82 82
83 // Initializes the candidate views if needed. 83 // Initializes the candidate views if needed.
84 void MaybeInitializeCandidateViews( 84 void MaybeInitializeCandidateViews(
85 const ui::CandidateWindow& candidate_window); 85 const ui::CandidateWindow& candidate_window);
86 86
87 // The candidate window data model. 87 // The candidate window data model.
88 ui::CandidateWindow candidate_window_; 88 ui::CandidateWindow candidate_window_;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // send OnCandidateWindowOpened and OnCandidateWindowClosed events. 125 // send OnCandidateWindowOpened and OnCandidateWindowClosed events.
126 bool was_candidate_window_open_; 126 bool was_candidate_window_open_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView); 128 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView);
129 }; 129 };
130 130
131 } // namespace ime 131 } // namespace ime
132 } // namespace ash 132 } // namespace ash
133 133
134 #endif // ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 134 #endif // ASH_IME_CANDIDATE_WINDOW_VIEW_H_
OLDNEW
« no previous file with comments | « ash/ime/candidate_view_unittest.cc ('k') | ash/ime/candidate_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698