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

Unified Diff: chrome/browser/ui/ash/ash_keyboard_controller_proxy.h

Issue 686563002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
diff --git a/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h b/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
index 1a21c6d2fb311d9478393488e24a916fc6bca08c..e5b8dd0e40f81a7d060360740afe7f25455287cf 100644
--- a/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
+++ b/chrome/browser/ui/ash/ash_keyboard_controller_proxy.h
@@ -33,19 +33,20 @@ class AshKeyboardControllerProxy
public extensions::ExtensionFunctionDispatcher::Delegate {
public:
AshKeyboardControllerProxy();
- virtual ~AshKeyboardControllerProxy();
+ ~AshKeyboardControllerProxy() override;
private:
void OnRequest(const ExtensionHostMsg_Request_Params& params);
// keyboard::KeyboardControllerProxy overrides
- virtual content::BrowserContext* GetBrowserContext() override;
- virtual ui::InputMethod* GetInputMethod() override;
- virtual void RequestAudioInput(content::WebContents* web_contents,
+ content::BrowserContext* GetBrowserContext() override;
+ ui::InputMethod* GetInputMethod() override;
+ void RequestAudioInput(
+ content::WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback) override;
- virtual void SetupWebContents(content::WebContents* contents) override;
- virtual void ShowKeyboardContainer(aura::Window* container) override;
+ void SetupWebContents(content::WebContents* contents) override;
+ void ShowKeyboardContainer(aura::Window* container) override;
// The overridden implementation dispatches
// chrome.virtualKeyboardPrivate.onTextInputBoxFocused event to extension to
@@ -54,15 +55,14 @@ class AshKeyboardControllerProxy
// information, but not when the virtual keyboard is used in conjunction with
// another IME. virtualKeyboardPrivate.onTextInputBoxFocused is the remedy in
// that case.
- virtual void SetUpdateInputType(ui::TextInputType type) override;
+ void SetUpdateInputType(ui::TextInputType type) override;
// extensions::ExtensionFunctionDispatcher::Delegate overrides
- virtual extensions::WindowController* GetExtensionWindowController() const
- override;
- virtual content::WebContents* GetAssociatedWebContents() const override;
+ extensions::WindowController* GetExtensionWindowController() const override;
+ content::WebContents* GetAssociatedWebContents() const override;
// content::WebContentsObserver overrides
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
scoped_ptr<extensions::ExtensionFunctionDispatcher>
extension_function_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698