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

Unified Diff: ui/views/window/client_view.h

Issue 661033006: 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 | « no previous file | ui/views/window/custom_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/client_view.h
diff --git a/ui/views/window/client_view.h b/ui/views/window/client_view.h
index 53d393b5708d9cd9a6c5241d22556a3c5d35be4e..70dac75dc362fc9d95c42a1c1738ec914bb43f33 100644
--- a/ui/views/window/client_view.h
+++ b/ui/views/window/client_view.h
@@ -30,7 +30,7 @@ class VIEWS_EXPORT ClientView : public View {
// |widget|, |contents_view| must be valid if you want the initial size of
// the widget to be based on |contents_view|'s preferred size.
ClientView(Widget* widget, View* contents_view);
- virtual ~ClientView() {}
+ ~ClientView() override {}
// Manual RTTI ftw.
virtual DialogClientView* AsDialogClientView();
@@ -57,17 +57,17 @@ class VIEWS_EXPORT ClientView : public View {
virtual int NonClientHitTest(const gfx::Point& point);
// Overridden from View:
- virtual gfx::Size GetPreferredSize() const override;
- virtual gfx::Size GetMinimumSize() const override;
- virtual gfx::Size GetMaximumSize() const override;
- virtual void Layout() override;
- virtual const char* GetClassName() const override;
+ gfx::Size GetPreferredSize() const override;
+ gfx::Size GetMinimumSize() const override;
+ gfx::Size GetMaximumSize() const override;
+ void Layout() override;
+ const char* GetClassName() const override;
protected:
// Overridden from View:
- virtual void GetAccessibleState(ui::AXViewState* state) override;
- virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
- virtual void ViewHierarchyChanged(
+ void GetAccessibleState(ui::AXViewState* state) override;
+ void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
+ void ViewHierarchyChanged(
const ViewHierarchyChangedDetails& details) override;
// Accessors for private data members.
« no previous file with comments | « no previous file | ui/views/window/custom_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698