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

Unified Diff: ash/wm/overview/transparent_activate_window_button.cc

Issue 676403006: 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 | « ash/wm/overview/transparent_activate_window_button.h ('k') | ash/wm/overview/window_grid.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/transparent_activate_window_button.cc
diff --git a/ash/wm/overview/transparent_activate_window_button.cc b/ash/wm/overview/transparent_activate_window_button.cc
index 1cb3c4f10b858010efd72ac158c83cdf6cf209ee..0937819a640f62043fc38c8d1fbffcfc5ab66f71 100644
--- a/ash/wm/overview/transparent_activate_window_button.cc
+++ b/ash/wm/overview/transparent_activate_window_button.cc
@@ -22,7 +22,7 @@ class TransparentButton : public views::CustomButton {
explicit TransparentButton(views::ButtonListener* listener)
: CustomButton(listener) {
}
- virtual ~TransparentButton() {}
+ ~TransparentButton() override {}
// views::CustomButton:
void OnGestureEvent(ui::GestureEvent* event) override {
@@ -42,9 +42,7 @@ class TransparentButton : public views::CustomButton {
event->StopPropagation();
}
- virtual const char* GetClassName() const override {
- return kTransparentButtonName;
- }
+ const char* GetClassName() const override { return kTransparentButtonName; }
private:
DISALLOW_COPY_AND_ASSIGN(TransparentButton);
« no previous file with comments | « ash/wm/overview/transparent_activate_window_button.h ('k') | ash/wm/overview/window_grid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698