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

Side by Side Diff: ui/web_dialogs/web_dialog_ui.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ 5 #ifndef UI_WEB_DIALOGS_WEB_DIALOG_UI_H_
6 #define UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ 6 #define UI_WEB_DIALOGS_WEB_DIALOG_UI_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Close the dialog, passing the specified arguments to the close handler. 62 // Close the dialog, passing the specified arguments to the close handler.
63 void CloseDialog(const base::ListValue* args); 63 void CloseDialog(const base::ListValue* args);
64 64
65 // Sets the delegate on the WebContents. 65 // Sets the delegate on the WebContents.
66 static void SetDelegate(content::WebContents* web_contents, 66 static void SetDelegate(content::WebContents* web_contents,
67 WebDialogDelegate* delegate); 67 WebDialogDelegate* delegate);
68 68
69 private: 69 private:
70 // WebUIController 70 // WebUIController
71 virtual void RenderViewCreated( 71 virtual void RenderViewCreated(
72 content::RenderViewHost* render_view_host) OVERRIDE; 72 content::RenderViewHost* render_view_host) override;
73 73
74 // Gets the delegate for the WebContent set with SetDelegate. 74 // Gets the delegate for the WebContent set with SetDelegate.
75 static WebDialogDelegate* GetDelegate(content::WebContents* web_contents); 75 static WebDialogDelegate* GetDelegate(content::WebContents* web_contents);
76 76
77 // JS message handler. 77 // JS message handler.
78 void OnDialogClosed(const base::ListValue* args); 78 void OnDialogClosed(const base::ListValue* args);
79 79
80 DISALLOW_COPY_AND_ASSIGN(WebDialogUI); 80 DISALLOW_COPY_AND_ASSIGN(WebDialogUI);
81 }; 81 };
82 82
83 // Displays external URL contents inside a modal web dialog. 83 // Displays external URL contents inside a modal web dialog.
84 // 84 //
85 // Intended to be the place to collect the settings and lockdowns 85 // Intended to be the place to collect the settings and lockdowns
86 // necessary for running external UI components securely (e.g., the 86 // necessary for running external UI components securely (e.g., the
87 // cloud print dialog). 87 // cloud print dialog).
88 class WEB_DIALOGS_EXPORT ExternalWebDialogUI : public WebDialogUI { 88 class WEB_DIALOGS_EXPORT ExternalWebDialogUI : public WebDialogUI {
89 public: 89 public:
90 explicit ExternalWebDialogUI(content::WebUI* web_ui); 90 explicit ExternalWebDialogUI(content::WebUI* web_ui);
91 virtual ~ExternalWebDialogUI(); 91 virtual ~ExternalWebDialogUI();
92 }; 92 };
93 93
94 } // namespace ui 94 } // namespace ui
95 95
96 #endif // UI_WEB_DIALOGS_WEB_DIALOG_UI_H_ 96 #endif // UI_WEB_DIALOGS_WEB_DIALOG_UI_H_
OLDNEW
« no previous file with comments | « ui/web_dialogs/test/test_web_dialog_delegate.h ('k') | ui/web_dialogs/web_dialog_web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698