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

Side by Side Diff: ui/keyboard/webui/vk_mojo_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/keyboard/test/run_all_unittests.cc ('k') | ui/keyboard/webui/vk_webui_controller.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 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 UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ 5 #ifndef UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_
6 #define UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ 6 #define UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/base/ime/input_method_observer.h" 9 #include "ui/base/ime/input_method_observer.h"
10 #include "ui/keyboard/webui/keyboard.mojom.h" 10 #include "ui/keyboard/webui/keyboard.mojom.h"
11 11
12 namespace keyboard { 12 namespace keyboard {
13 13
14 class VKMojoHandler : public mojo::InterfaceImpl<KeyboardUIHandlerMojo>, 14 class VKMojoHandler : public mojo::InterfaceImpl<KeyboardUIHandlerMojo>,
15 public ui::InputMethodObserver { 15 public ui::InputMethodObserver {
16 public: 16 public:
17 VKMojoHandler(); 17 VKMojoHandler();
18 virtual ~VKMojoHandler(); 18 virtual ~VKMojoHandler();
19 19
20 private: 20 private:
21 ui::InputMethod* GetInputMethod(); 21 ui::InputMethod* GetInputMethod();
22 22
23 // mojo::InterfaceImpl<>: 23 // mojo::InterfaceImpl<>:
24 virtual void OnConnectionEstablished() OVERRIDE; 24 virtual void OnConnectionEstablished() override;
25 25
26 // KeyboardUIHandlerMojo: 26 // KeyboardUIHandlerMojo:
27 virtual void SendKeyEvent(const mojo::String& event_type, 27 virtual void SendKeyEvent(const mojo::String& event_type,
28 int32_t char_value, 28 int32_t char_value,
29 int32_t key_code, 29 int32_t key_code,
30 const mojo::String& key_name, 30 const mojo::String& key_name,
31 int32_t modifiers) OVERRIDE; 31 int32_t modifiers) override;
32 virtual void HideKeyboard() OVERRIDE; 32 virtual void HideKeyboard() override;
33 33
34 // ui::InputMethodObserver: 34 // ui::InputMethodObserver:
35 virtual void OnTextInputTypeChanged( 35 virtual void OnTextInputTypeChanged(
36 const ui::TextInputClient* client) OVERRIDE; 36 const ui::TextInputClient* client) override;
37 virtual void OnFocus() OVERRIDE; 37 virtual void OnFocus() override;
38 virtual void OnBlur() OVERRIDE; 38 virtual void OnBlur() override;
39 virtual void OnCaretBoundsChanged(const ui::TextInputClient* client) OVERRIDE; 39 virtual void OnCaretBoundsChanged(const ui::TextInputClient* client) override;
40 virtual void OnTextInputStateChanged( 40 virtual void OnTextInputStateChanged(
41 const ui::TextInputClient* text_client) OVERRIDE; 41 const ui::TextInputClient* text_client) override;
42 virtual void OnInputMethodDestroyed( 42 virtual void OnInputMethodDestroyed(
43 const ui::InputMethod* input_method) OVERRIDE; 43 const ui::InputMethod* input_method) override;
44 virtual void OnShowImeIfNeeded() OVERRIDE; 44 virtual void OnShowImeIfNeeded() override;
45 45
46 DISALLOW_COPY_AND_ASSIGN(VKMojoHandler); 46 DISALLOW_COPY_AND_ASSIGN(VKMojoHandler);
47 }; 47 };
48 48
49 } // namespace keyboard 49 } // namespace keyboard
50 50
51 #endif // UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ 51 #endif // UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/keyboard/test/run_all_unittests.cc ('k') | ui/keyboard/webui/vk_webui_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698