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

Side by Side Diff: ui/base/ime/chromeos/mock_ime_candidate_window_handler.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 | « ui/base/ime/chromeos/ime_bridge.cc ('k') | ui/base/ime/chromeos/mock_ime_engine_handler.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_
6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ 6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_
7 7
8 #include "ui/base/ime/candidate_window.h" 8 #include "ui/base/ime/candidate_window.h"
9 #include "ui/base/ime/chromeos/ime_bridge.h" 9 #include "ui/base/ime/chromeos/ime_bridge.h"
10 #include "ui/base/ui_base_export.h" 10 #include "ui/base/ui_base_export.h"
(...skipping 12 matching lines...) Expand all
23 std::string text; 23 std::string text;
24 bool is_visible; 24 bool is_visible;
25 }; 25 };
26 26
27 MockIMECandidateWindowHandler(); 27 MockIMECandidateWindowHandler();
28 virtual ~MockIMECandidateWindowHandler(); 28 virtual ~MockIMECandidateWindowHandler();
29 29
30 // IMECandidateWindowHandlerInterface override. 30 // IMECandidateWindowHandlerInterface override.
31 virtual void UpdateLookupTable( 31 virtual void UpdateLookupTable(
32 const ui::CandidateWindow& candidate_window, 32 const ui::CandidateWindow& candidate_window,
33 bool visible) OVERRIDE; 33 bool visible) override;
34 virtual void UpdatePreeditText( 34 virtual void UpdatePreeditText(
35 const base::string16& text, uint32 cursor_pos, bool visible) OVERRIDE; 35 const base::string16& text, uint32 cursor_pos, bool visible) override;
36 virtual void SetCursorBounds(const gfx::Rect& cursor_bounds, 36 virtual void SetCursorBounds(const gfx::Rect& cursor_bounds,
37 const gfx::Rect& composition_head) OVERRIDE; 37 const gfx::Rect& composition_head) override;
38 38
39 int set_cursor_bounds_call_count() const { 39 int set_cursor_bounds_call_count() const {
40 return set_cursor_bounds_call_count_; 40 return set_cursor_bounds_call_count_;
41 } 41 }
42 42
43 int update_lookup_table_call_count() const { 43 int update_lookup_table_call_count() const {
44 return update_lookup_table_call_count_; 44 return update_lookup_table_call_count_;
45 } 45 }
46 46
47 const UpdateLookupTableArg& last_update_lookup_table_arg() { 47 const UpdateLookupTableArg& last_update_lookup_table_arg() {
48 return last_update_lookup_table_arg_; 48 return last_update_lookup_table_arg_;
49 } 49 }
50 // Resets all call count. 50 // Resets all call count.
51 void Reset(); 51 void Reset();
52 52
53 private: 53 private:
54 int set_cursor_bounds_call_count_; 54 int set_cursor_bounds_call_count_;
55 int update_lookup_table_call_count_; 55 int update_lookup_table_call_count_;
56 UpdateLookupTableArg last_update_lookup_table_arg_; 56 UpdateLookupTableArg last_update_lookup_table_arg_;
57 }; 57 };
58 58
59 } // namespace chromeos 59 } // namespace chromeos
60 60
61 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ 61 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/ime_bridge.cc ('k') | ui/base/ime/chromeos/mock_ime_engine_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698