diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-28 23:51:33 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-28 23:51:33 +0000 |
commit | 2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1 (patch) | |
tree | 51e2f19bdc45bd87c9a378ee4d7d113431f6b9f5 /chrome/browser/ui/browser_window.h | |
parent | 50dbc0376d825c59d08d3c0a4f3ea34fad30e960 (diff) | |
download | chromium_src-2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1.zip chromium_src-2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1.tar.gz chromium_src-2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1.tar.bz2 |
Convert all of the WebContentsDelegate to use WebContents instead of TabContents, and update all the dependent code.
BUG=98716
TBR=joi
Review URL: http://codereview.chromium.org/9008047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_window.h')
-rw-r--r-- | chrome/browser/ui/browser_window.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h index 8ef62ac..1428f64 100644 --- a/chrome/browser/ui/browser_window.h +++ b/chrome/browser/ui/browser_window.h @@ -263,9 +263,9 @@ class BrowserWindow { // during infobar animations). virtual int GetExtraRenderViewHeight() const = 0; - // Notification that |tab_contents| got the focus through user action (click + // Notification that |contents| got the focus through user action (click // on the page). - virtual void TabContentsFocused(TabContents* tab_contents) = 0; + virtual void WebContentsFocused(content::WebContents* contents) = 0; // Shows the page info using the specified information. // |url| is the url of the page/frame the info applies to, |ssl| is the SSL @@ -347,7 +347,7 @@ class BrowserWindow { // changed. We might choose to update the window size to accomodate this // change. // Note that this won't be fired if we change tabs. - virtual void UpdatePreferredSize(TabContents* tab_contents, + virtual void UpdatePreferredSize(content::WebContents* web_contents, const gfx::Size& pref_size) {} // Construct a BrowserWindow implementation for the specified |browser|. |