diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 05:07:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 12:08:25 +0000 |
commit | c2282aa89148883769f87c74cc3c4608c0933489 (patch) | |
tree | ffa48a41ac574fc701cac64f5457dfc08d2c0c27 /content/browser/screen_orientation | |
parent | c793742b02142aed967568c48def709d6d16bd38 (diff) | |
download | chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.zip chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.tar.gz chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.tar.bz2 |
Standardize usage of virtual/override/final in content/browser/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/667943003
Cr-Commit-Position: refs/heads/master@{#300469}
Diffstat (limited to 'content/browser/screen_orientation')
-rw-r--r-- | content/browser/screen_orientation/screen_orientation_browsertest.cc | 2 | ||||
-rw-r--r-- | content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/content/browser/screen_orientation/screen_orientation_browsertest.cc b/content/browser/screen_orientation/screen_orientation_browsertest.cc index c79cad0..1246136 100644 --- a/content/browser/screen_orientation/screen_orientation_browsertest.cc +++ b/content/browser/screen_orientation/screen_orientation_browsertest.cc @@ -32,7 +32,7 @@ class ScreenOrientationBrowserTest : public ContentBrowserTest { ScreenOrientationBrowserTest() { } - virtual void SetUpCommandLine(CommandLine* command_line) override { + void SetUpCommandLine(CommandLine* command_line) override { command_line->AppendSwitch( switches::kEnableExperimentalWebPlatformFeatures); } diff --git a/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h b/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h index c22d65b..a884083 100644 --- a/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h +++ b/content/browser/screen_orientation/screen_orientation_dispatcher_host_impl.h @@ -24,19 +24,19 @@ class CONTENT_EXPORT ScreenOrientationDispatcherHostImpl public WebContentsObserver { public: explicit ScreenOrientationDispatcherHostImpl(WebContents* web_contents); - virtual ~ScreenOrientationDispatcherHostImpl(); + ~ScreenOrientationDispatcherHostImpl() override; // ScreenOrientationDispatcherHost: - virtual void NotifyLockSuccess(int request_id) override; - virtual void NotifyLockError(int request_id, - blink::WebLockOrientationError error) override; - virtual void OnOrientationChange() override; + void NotifyLockSuccess(int request_id) override; + void NotifyLockError(int request_id, + blink::WebLockOrientationError error) override; + void OnOrientationChange() override; // WebContentsObserver: - virtual bool OnMessageReceived(const IPC::Message&, - RenderFrameHost* render_frame_host) override; - virtual void DidNavigateMainFrame(const LoadCommittedDetails& details, - const FrameNavigateParams& params) override; + bool OnMessageReceived(const IPC::Message&, + RenderFrameHost* render_frame_host) override; + void DidNavigateMainFrame(const LoadCommittedDetails& details, + const FrameNavigateParams& params) override; private: void OnLockRequest(RenderFrameHost* render_frame_host, |