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

Side by Side Diff: ui/base/ime/chromeos/mock_ime_input_context_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/mock_ime_engine_handler.h ('k') | ui/base/ime/dummy_input_method.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_INPUT_CONTEXT_HANDLER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_IME_INPUT_CONTEXT_HANDLER_H_
6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_INPUT_CONTEXT_HANDLER_H_ 6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_INPUT_CONTEXT_HANDLER_H_
7 7
8 #include "chromeos/ime/composition_text.h" 8 #include "chromeos/ime/composition_text.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 10 matching lines...) Expand all
21 }; 21 };
22 22
23 struct DeleteSurroundingTextArg { 23 struct DeleteSurroundingTextArg {
24 int32 offset; 24 int32 offset;
25 uint32 length; 25 uint32 length;
26 }; 26 };
27 27
28 MockIMEInputContextHandler(); 28 MockIMEInputContextHandler();
29 virtual ~MockIMEInputContextHandler(); 29 virtual ~MockIMEInputContextHandler();
30 30
31 virtual void CommitText(const std::string& text) OVERRIDE; 31 virtual void CommitText(const std::string& text) override;
32 virtual void UpdateCompositionText(const CompositionText& text, 32 virtual void UpdateCompositionText(const CompositionText& text,
33 uint32 cursor_pos, 33 uint32 cursor_pos,
34 bool visible) OVERRIDE; 34 bool visible) override;
35 virtual void DeleteSurroundingText(int32 offset, uint32 length) OVERRIDE; 35 virtual void DeleteSurroundingText(int32 offset, uint32 length) override;
36 36
37 int commit_text_call_count() const { return commit_text_call_count_; } 37 int commit_text_call_count() const { return commit_text_call_count_; }
38 38
39 int update_preedit_text_call_count() const { 39 int update_preedit_text_call_count() const {
40 return update_preedit_text_call_count_; 40 return update_preedit_text_call_count_;
41 } 41 }
42 42
43 int delete_surrounding_text_call_count() const { 43 int delete_surrounding_text_call_count() const {
44 return delete_surrounding_text_call_count_; 44 return delete_surrounding_text_call_count_;
45 } 45 }
(...skipping 18 matching lines...) Expand all
64 int update_preedit_text_call_count_; 64 int update_preedit_text_call_count_;
65 int delete_surrounding_text_call_count_; 65 int delete_surrounding_text_call_count_;
66 std::string last_commit_text_; 66 std::string last_commit_text_;
67 UpdateCompositionTextArg last_update_composition_arg_; 67 UpdateCompositionTextArg last_update_composition_arg_;
68 DeleteSurroundingTextArg last_delete_surrounding_text_arg_; 68 DeleteSurroundingTextArg last_delete_surrounding_text_arg_;
69 }; 69 };
70 70
71 } // namespace chromeos 71 } // namespace chromeos
72 72
73 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_INPUT_CONTEXT_HANDLER_H_ 73 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_INPUT_CONTEXT_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_engine_handler.h ('k') | ui/base/ime/dummy_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698