diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 00:04:51 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-20 00:04:51 +0000 |
commit | 6934a70facaac1c8f400f0740a3e6fe9697bb4a8 (patch) | |
tree | fed96e821d5499f078a5378e985a7745755d1f75 /chrome/browser/ui/webui | |
parent | 95c60794f0b0122930b441df82eac8235e4e33ec (diff) | |
download | chromium_src-6934a70facaac1c8f400f0740a3e6fe9697bb4a8.zip chromium_src-6934a70facaac1c8f400f0740a3e6fe9697bb4a8.tar.gz chromium_src-6934a70facaac1c8f400f0740a3e6fe9697bb4a8.tar.bz2 |
Start creating the content::WebPage interface around TabContents. This is just the start of moving 4 very commonly used unix_hacker functions into CamelCase. I've added the interface with just these methods, it's not actually used yet.
The long term plan is that TabContentsWrapper would become TabContents, while TabContents will become WebPageImpl
BUG=98716
Review URL: http://codereview.chromium.org/8997020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui')
-rw-r--r-- | chrome/browser/ui/webui/constrained_html_ui.cc | 2 | ||||
-rw-r--r-- | chrome/browser/ui/webui/html_dialog_ui.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/webui/constrained_html_ui.cc b/chrome/browser/ui/webui/constrained_html_ui.cc index ee880a5..1c6515d 100644 --- a/chrome/browser/ui/webui/constrained_html_ui.cc +++ b/chrome/browser/ui/webui/constrained_html_ui.cc @@ -71,7 +71,7 @@ void ConstrainedHtmlUI::OnDialogCloseMessage(const ListValue* args) { ConstrainedHtmlUIDelegate* ConstrainedHtmlUI::GetConstrainedDelegate() { ConstrainedHtmlUIDelegate** property = - GetPropertyAccessor().GetProperty(tab_contents()->property_bag()); + GetPropertyAccessor().GetProperty(tab_contents()->GetPropertyBag()); return property ? *property : NULL; } diff --git a/chrome/browser/ui/webui/html_dialog_ui.cc b/chrome/browser/ui/webui/html_dialog_ui.cc index 4a35f0a..dce3f95 100644 --- a/chrome/browser/ui/webui/html_dialog_ui.cc +++ b/chrome/browser/ui/webui/html_dialog_ui.cc @@ -56,7 +56,7 @@ void HtmlDialogUI::RenderViewCreated(RenderViewHost* render_view_host) { std::string dialog_args; std::vector<WebUIMessageHandler*> handlers; HtmlDialogUIDelegate** delegate = GetPropertyAccessor().GetProperty( - tab_contents()->property_bag()); + tab_contents()->GetPropertyBag()); if (delegate) { dialog_args = (*delegate)->GetDialogArgs(); (*delegate)->GetWebUIMessageHandlers(&handlers); @@ -80,7 +80,7 @@ void HtmlDialogUI::RenderViewCreated(RenderViewHost* render_view_host) { void HtmlDialogUI::OnDialogClosed(const ListValue* args) { HtmlDialogUIDelegate** delegate = GetPropertyAccessor().GetProperty( - tab_contents()->property_bag()); + tab_contents()->GetPropertyBag()); if (delegate) { std::string json_retval; if (args && !args->empty() && !args->GetString(0, &json_retval)) |