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

Unified Diff: ui/web_dialogs/web_dialog_ui.h

Issue 667923002: Standardize usage of virtual/override/final in ui/ (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/web_dialogs/test/test_web_dialog_delegate.h ('k') | ui/web_dialogs/web_dialog_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/web_dialogs/web_dialog_ui.h
diff --git a/ui/web_dialogs/web_dialog_ui.h b/ui/web_dialogs/web_dialog_ui.h
index 144b8c7f8fb262bb7eacce1b4ffe2da22f9b1149..6bd91dc8047c6205a420080e1be602c819ab9f37 100644
--- a/ui/web_dialogs/web_dialog_ui.h
+++ b/ui/web_dialogs/web_dialog_ui.h
@@ -57,7 +57,7 @@ class WEB_DIALOGS_EXPORT WebDialogUI : public content::WebUIController {
// When created, the delegate should already be set as user data on the
// WebContents.
explicit WebDialogUI(content::WebUI* web_ui);
- virtual ~WebDialogUI();
+ ~WebDialogUI() override;
// Close the dialog, passing the specified arguments to the close handler.
void CloseDialog(const base::ListValue* args);
@@ -68,8 +68,7 @@ class WEB_DIALOGS_EXPORT WebDialogUI : public content::WebUIController {
private:
// WebUIController
- virtual void RenderViewCreated(
- content::RenderViewHost* render_view_host) override;
+ void RenderViewCreated(content::RenderViewHost* render_view_host) override;
// Gets the delegate for the WebContent set with SetDelegate.
static WebDialogDelegate* GetDelegate(content::WebContents* web_contents);
@@ -88,7 +87,7 @@ class WEB_DIALOGS_EXPORT WebDialogUI : public content::WebUIController {
class WEB_DIALOGS_EXPORT ExternalWebDialogUI : public WebDialogUI {
public:
explicit ExternalWebDialogUI(content::WebUI* web_ui);
- virtual ~ExternalWebDialogUI();
+ ~ExternalWebDialogUI() override;
};
} // namespace ui
« no previous file with comments | « ui/web_dialogs/test/test_web_dialog_delegate.h ('k') | ui/web_dialogs/web_dialog_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698