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

Unified Diff: chrome/browser/ui/views/frame/contents_web_view.h

Issue 686463004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
Index: chrome/browser/ui/views/frame/contents_web_view.h
diff --git a/chrome/browser/ui/views/frame/contents_web_view.h b/chrome/browser/ui/views/frame/contents_web_view.h
index 93a2fc061e560fe62653f82e3e12788a2127c43b..6cc7d68296eaafaa22a4e90e325831530a59d8e0 100644
--- a/chrome/browser/ui/views/frame/contents_web_view.h
+++ b/chrome/browser/ui/views/frame/contents_web_view.h
@@ -25,26 +25,25 @@ class ContentsWebView
public WebContentsCloseHandlerDelegate {
public:
explicit ContentsWebView(content::BrowserContext* browser_context);
- virtual ~ContentsWebView();
+ ~ContentsWebView() override;
// Sets the status bubble, which should be repositioned every time
// this view changes visible bounds.
void SetStatusBubble(StatusBubbleViews* status_bubble);
// WebView overrides:
- virtual bool GetNeedsNotificationWhenVisibleBoundsChange() const override;
- virtual void OnVisibleBoundsChanged() override;
- virtual void ViewHierarchyChanged(const ViewHierarchyChangedDetails& details)
- override;
- virtual void OnThemeChanged() override;
+ bool GetNeedsNotificationWhenVisibleBoundsChange() const override;
+ void OnVisibleBoundsChanged() override;
+ void ViewHierarchyChanged(
+ const ViewHierarchyChangedDetails& details) override;
+ void OnThemeChanged() override;
// ui::LayerOwnerDelegate overrides:
- virtual void OnLayerRecreated(ui::Layer* old_layer,
- ui::Layer* new_layer) override;
+ void OnLayerRecreated(ui::Layer* old_layer, ui::Layer* new_layer) override;
// WebContentsCloseHandlerDelegate overrides:
- virtual void CloneWebContentsLayer() override;
- virtual void DestroyClonedLayer() override;
+ void CloneWebContentsLayer() override;
+ void DestroyClonedLayer() override;
private:
StatusBubbleViews* status_bubble_;
« no previous file with comments | « chrome/browser/ui/views/frame/contents_layout_manager.h ('k') | chrome/browser/ui/views/frame/desktop_browser_frame_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698