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

Unified Diff: ui/views/controls/native/native_view_host_aura.h

Issue 681883002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ui/views/controls/native/native_view_host.h ('k') | ui/views/controls/native/native_view_host_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/native/native_view_host_aura.h
diff --git a/ui/views/controls/native/native_view_host_aura.h b/ui/views/controls/native/native_view_host_aura.h
index 149bb41796e779a4d5377f17c8729b5a8e535c58..3942ce01399988013ff6771a299068f36ad3e2c5 100644
--- a/ui/views/controls/native/native_view_host_aura.h
+++ b/ui/views/controls/native/native_view_host_aura.h
@@ -21,21 +21,21 @@ class VIEWS_EXPORT NativeViewHostAura : public NativeViewHostWrapper,
public aura::WindowObserver {
public:
explicit NativeViewHostAura(NativeViewHost* host);
- virtual ~NativeViewHostAura();
+ ~NativeViewHostAura() override;
// Overridden from NativeViewHostWrapper:
- virtual void AttachNativeView() override;
- virtual void NativeViewDetaching(bool destroyed) override;
- virtual void AddedToWidget() override;
- virtual void RemovedFromWidget() override;
- virtual void InstallClip(int x, int y, int w, int h) override;
- virtual bool HasInstalledClip() override;
- virtual void UninstallClip() override;
- virtual void ShowWidget(int x, int y, int w, int h) override;
- virtual void HideWidget() override;
- virtual void SetFocus() override;
- virtual gfx::NativeViewAccessible GetNativeViewAccessible() override;
- virtual gfx::NativeCursor GetCursor(int x, int y) override;
+ void AttachNativeView() override;
+ void NativeViewDetaching(bool destroyed) override;
+ void AddedToWidget() override;
+ void RemovedFromWidget() override;
+ void InstallClip(int x, int y, int w, int h) override;
+ bool HasInstalledClip() override;
+ void UninstallClip() override;
+ void ShowWidget(int x, int y, int w, int h) override;
+ void HideWidget() override;
+ void SetFocus() override;
+ gfx::NativeViewAccessible GetNativeViewAccessible() override;
+ gfx::NativeCursor GetCursor(int x, int y) override;
private:
friend class NativeViewHostAuraTest;
@@ -43,8 +43,8 @@ class VIEWS_EXPORT NativeViewHostAura : public NativeViewHostWrapper,
class ClippingWindowDelegate;
// Overridden from aura::WindowObserver:
- virtual void OnWindowDestroying(aura::Window* window) override;
- virtual void OnWindowDestroyed(aura::Window* window) override;
+ void OnWindowDestroying(aura::Window* window) override;
+ void OnWindowDestroyed(aura::Window* window) override;
// Reparents the native view with the clipping window existing between it and
// its old parent, so that the fast resize path works.
« no previous file with comments | « ui/views/controls/native/native_view_host.h ('k') | ui/views/controls/native/native_view_host_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698