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

Unified Diff: chrome/browser/ui/webui/constrained_html_ui.h

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/webui/conflicts_ui.cc ('k') | chrome/browser/ui/webui/constrained_html_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/constrained_html_ui.h
===================================================================
--- chrome/browser/ui/webui/constrained_html_ui.h (revision 116011)
+++ chrome/browser/ui/webui/constrained_html_ui.h (working copy)
@@ -12,7 +12,6 @@
class HtmlDialogUIDelegate;
class Profile;
class RenderViewHost;
-class TabContents;
class TabContentsWrapper;
namespace base {
@@ -27,9 +26,9 @@
// message from WebUI.
virtual void OnDialogCloseFromWebUI() = 0;
- // If called, on dialog closure, the dialog will release its TabContents
+ // If called, on dialog closure, the dialog will release its WebContents
// instead of destroying it. After which point, the caller will own the
- // released TabContents.
+ // released WebContents.
virtual void ReleaseTabContentsOnDialogClose() = 0;
// Returns the ConstrainedWindow.
@@ -50,7 +49,7 @@
// implementations, this class is just a factory stub.
class ConstrainedHtmlUI : public ChromeWebUI {
public:
- explicit ConstrainedHtmlUI(TabContents* contents);
+ explicit ConstrainedHtmlUI(content::WebContents* contents);
virtual ~ConstrainedHtmlUI();
virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
@@ -64,12 +63,12 @@
TabContentsWrapper* overshadowed);
// Returns a property accessor that can be used to set the
- // ConstrainedHtmlUIDelegate property on a TabContents.
+ // ConstrainedHtmlUIDelegate property on a WebContents.
static base::PropertyAccessor<ConstrainedHtmlUIDelegate*>&
GetPropertyAccessor();
protected:
- // Returns the TabContents' PropertyBag's ConstrainedHtmlUIDelegate.
+ // Returns the WebContents' PropertyBag's ConstrainedHtmlUIDelegate.
// Returns NULL if that property is not set.
ConstrainedHtmlUIDelegate* GetConstrainedDelegate();
« no previous file with comments | « chrome/browser/ui/webui/conflicts_ui.cc ('k') | chrome/browser/ui/webui/constrained_html_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698