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

Side by Side Diff: ui/base/ime/chromeos/mock_ime_engine_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
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_ENGINE_HANDLER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_
6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ 6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_
7 7
8 #include "ui/base/ime/chromeos/ime_bridge.h" 8 #include "ui/base/ime/chromeos/ime_bridge.h"
9 #include "ui/base/ui_base_export.h" 9 #include "ui/base/ui_base_export.h"
10 #include "ui/events/event.h" 10 #include "ui/events/event.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 class UI_BASE_EXPORT MockIMEEngineHandler : public IMEEngineHandlerInterface { 14 class UI_BASE_EXPORT MockIMEEngineHandler : public IMEEngineHandlerInterface {
15 public: 15 public:
16 MockIMEEngineHandler(); 16 MockIMEEngineHandler();
17 virtual ~MockIMEEngineHandler(); 17 virtual ~MockIMEEngineHandler();
18 18
19 virtual void FocusIn(const InputContext& input_context) OVERRIDE; 19 virtual void FocusIn(const InputContext& input_context) override;
20 virtual void FocusOut() OVERRIDE; 20 virtual void FocusOut() override;
21 virtual void Enable(const std::string& component_id) OVERRIDE; 21 virtual void Enable(const std::string& component_id) override;
22 virtual void Disable() OVERRIDE; 22 virtual void Disable() override;
23 virtual void PropertyActivate(const std::string& property_name) OVERRIDE; 23 virtual void PropertyActivate(const std::string& property_name) override;
24 virtual void Reset() OVERRIDE; 24 virtual void Reset() override;
25 virtual void ProcessKeyEvent(const ui::KeyEvent& key_event, 25 virtual void ProcessKeyEvent(const ui::KeyEvent& key_event,
26 const KeyEventDoneCallback& callback) OVERRIDE; 26 const KeyEventDoneCallback& callback) override;
27 virtual void CandidateClicked(uint32 index) OVERRIDE; 27 virtual void CandidateClicked(uint32 index) override;
28 virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos, 28 virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos,
29 uint32 anchor_pos) OVERRIDE; 29 uint32 anchor_pos) override;
30 30
31 int focus_in_call_count() const { return focus_in_call_count_; } 31 int focus_in_call_count() const { return focus_in_call_count_; }
32 int focus_out_call_count() const { return focus_out_call_count_; } 32 int focus_out_call_count() const { return focus_out_call_count_; }
33 int reset_call_count() const { return reset_call_count_; } 33 int reset_call_count() const { return reset_call_count_; }
34 int set_surrounding_text_call_count() const { 34 int set_surrounding_text_call_count() const {
35 return set_surrounding_text_call_count_; 35 return set_surrounding_text_call_count_;
36 } 36 }
37 int process_key_event_call_count() const { 37 int process_key_event_call_count() const {
38 return process_key_event_call_count_; 38 return process_key_event_call_count_;
39 } 39 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::string last_set_surrounding_text_; 77 std::string last_set_surrounding_text_;
78 uint32 last_set_surrounding_cursor_pos_; 78 uint32 last_set_surrounding_cursor_pos_;
79 uint32 last_set_surrounding_anchor_pos_; 79 uint32 last_set_surrounding_anchor_pos_;
80 scoped_ptr<ui::KeyEvent> last_processed_key_event_; 80 scoped_ptr<ui::KeyEvent> last_processed_key_event_;
81 KeyEventDoneCallback last_passed_callback_; 81 KeyEventDoneCallback last_passed_callback_;
82 }; 82 };
83 83
84 } // namespace chromeos 84 } // namespace chromeos
85 85
86 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ 86 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_candidate_window_handler.h ('k') | ui/base/ime/chromeos/mock_ime_input_context_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698