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

Unified Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view.h

Issue 678093002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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 | « chrome/browser/ui/views/location_bar/translate_icon_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/zoom_bubble_view.h
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.h b/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
index fd4d932a5112893626429b6dcdfa4ca607abff6a..0f1752c44aab0e2eafc93ffc72cbd34d79199496 100644
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.h
@@ -77,7 +77,7 @@ class ZoomBubbleView : public views::BubbleDelegateView,
bool auto_close,
ImmersiveModeController* immersive_mode_controller,
FullscreenController* fullscreen_controller);
- virtual ~ZoomBubbleView();
+ ~ZoomBubbleView() override;
// If the bubble is not anchored to a view, places the bubble in the top
// right (left in RTL) of the |screen_bounds| that contain |web_contents_|'s
@@ -103,32 +103,30 @@ class ZoomBubbleView : public views::BubbleDelegateView,
void StopTimer();
// extensions::IconImage::Observer overrides:
- virtual void OnExtensionIconImageChanged(
- extensions::IconImage* /* image */) override;
+ void OnExtensionIconImageChanged(extensions::IconImage* /* image */) override;
// views::View methods.
- virtual void OnMouseEntered(const ui::MouseEvent& event) override;
- virtual void OnMouseExited(const ui::MouseEvent& event) override;
+ void OnMouseEntered(const ui::MouseEvent& event) override;
+ void OnMouseExited(const ui::MouseEvent& event) override;
// ui::EventHandler method.
- virtual void OnGestureEvent(ui::GestureEvent* event) override;
+ void OnGestureEvent(ui::GestureEvent* event) override;
// views::ButtonListener method.
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) override;
+ void ButtonPressed(views::Button* sender, const ui::Event& event) override;
// views::BubbleDelegateView method.
- virtual void Init() override;
- virtual void WindowClosing() override;
+ void Init() override;
+ void WindowClosing() override;
// content::NotificationObserver method.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// ImmersiveModeController::Observer methods.
- virtual void OnImmersiveRevealStarted() override;
- virtual void OnImmersiveModeControllerDestroyed() override;
+ void OnImmersiveRevealStarted() override;
+ void OnImmersiveModeControllerDestroyed() override;
ZoomBubbleExtensionInfo extension_info_;
« no previous file with comments | « chrome/browser/ui/views/location_bar/translate_icon_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698