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

Side by Side Diff: chrome/browser/ui/webui/html_dialog_ui.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/devtools_ui.cc ('k') | chrome/browser/ui/webui/html_dialog_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // Close the dialog, passing the specified arguments to the close handler. 139 // Close the dialog, passing the specified arguments to the close handler.
140 void CloseDialog(const base::ListValue* args); 140 void CloseDialog(const base::ListValue* args);
141 141
142 // Returns the PropertyBag accessor object used to write the delegate pointer 142 // Returns the PropertyBag accessor object used to write the delegate pointer
143 // into the WebContents (see class-level comment above). 143 // into the WebContents (see class-level comment above).
144 static base::PropertyAccessor<HtmlDialogUIDelegate*>& GetPropertyAccessor(); 144 static base::PropertyAccessor<HtmlDialogUIDelegate*>& GetPropertyAccessor();
145 145
146 private: 146 private:
147 // WebUIController 147 // WebUIController
148 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 148 virtual void RenderViewCreated(
149 content::RenderViewHost* render_view_host) OVERRIDE;
149 150
150 // JS message handler. 151 // JS message handler.
151 void OnDialogClosed(const base::ListValue* args); 152 void OnDialogClosed(const base::ListValue* args);
152 153
153 DISALLOW_COPY_AND_ASSIGN(HtmlDialogUI); 154 DISALLOW_COPY_AND_ASSIGN(HtmlDialogUI);
154 }; 155 };
155 156
156 // Displays external URL contents inside a modal HTML dialog. 157 // Displays external URL contents inside a modal HTML dialog.
157 // 158 //
158 // Intended to be the place to collect the settings and lockdowns 159 // Intended to be the place to collect the settings and lockdowns
159 // necessary for running external UI components securely (e.g., the 160 // necessary for running external UI components securely (e.g., the
160 // cloud print dialog). 161 // cloud print dialog).
161 class ExternalHtmlDialogUI : public HtmlDialogUI { 162 class ExternalHtmlDialogUI : public HtmlDialogUI {
162 public: 163 public:
163 explicit ExternalHtmlDialogUI(content::WebUI* web_ui); 164 explicit ExternalHtmlDialogUI(content::WebUI* web_ui);
164 virtual ~ExternalHtmlDialogUI(); 165 virtual ~ExternalHtmlDialogUI();
165 }; 166 };
166 167
167 #endif // CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_ 168 #endif // CHROME_BROWSER_UI_WEBUI_HTML_DIALOG_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/devtools_ui.cc ('k') | chrome/browser/ui/webui/html_dialog_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698