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/history | |
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/history')
-rw-r--r-- | chrome/browser/history/history_tab_helper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc index 8564749..8bc32c2 100644 --- a/chrome/browser/history/history_tab_helper.cc +++ b/chrome/browser/history/history_tab_helper.cc @@ -99,8 +99,8 @@ void HistoryTabHelper::DidNavigateAnyFrame( // the TabContents' URL getter does. scoped_refptr<history::HistoryAddPageArgs> add_page_args( CreateHistoryAddPageArgs(tab_contents()->GetURL(), details, params)); - if (!tab_contents()->delegate() || - !tab_contents()->delegate()->ShouldAddNavigationToHistory( + if (!tab_contents()->GetDelegate() || + !tab_contents()->GetDelegate()->ShouldAddNavigationToHistory( *add_page_args, details.type)) return; |