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

Side by Side Diff: ui/base/ime/linux/fake_input_method_context.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/input_method_win.h ('k') | ui/base/ime/linux/fake_input_method_context_factory.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_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_ 5 #ifndef UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_
6 #define UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_ 6 #define UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_
7 7
8 #include "ui/base/ime/linux/linux_input_method_context.h" 8 #include "ui/base/ime/linux/linux_input_method_context.h"
9 9
10 namespace ui { 10 namespace ui {
11 11
12 // A fake implementation of LinuxInputMethodContext, which does nothing. 12 // A fake implementation of LinuxInputMethodContext, which does nothing.
13 class FakeInputMethodContext : public LinuxInputMethodContext { 13 class FakeInputMethodContext : public LinuxInputMethodContext {
14 public: 14 public:
15 FakeInputMethodContext(); 15 FakeInputMethodContext();
16 16
17 // Overriden from ui::LinuxInputMethodContext 17 // Overriden from ui::LinuxInputMethodContext
18 virtual bool DispatchKeyEvent(const ui::KeyEvent& key_event) OVERRIDE; 18 virtual bool DispatchKeyEvent(const ui::KeyEvent& key_event) override;
19 virtual void Reset() OVERRIDE; 19 virtual void Reset() override;
20 virtual void OnTextInputTypeChanged(ui::TextInputType text_input_type) 20 virtual void OnTextInputTypeChanged(ui::TextInputType text_input_type)
21 OVERRIDE; 21 override;
22 virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) OVERRIDE; 22 virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) override;
23 23
24 private: 24 private:
25 DISALLOW_COPY_AND_ASSIGN(FakeInputMethodContext); 25 DISALLOW_COPY_AND_ASSIGN(FakeInputMethodContext);
26 }; 26 };
27 27
28 } // namespace ui 28 } // namespace ui
29 29
30 #endif // UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_ 30 #endif // UI_BASE_IME_LINUX_FAKE_INPUT_METHOD_CONTEXT_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_win.h ('k') | ui/base/ime/linux/fake_input_method_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698