summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframe.h
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-04 01:56:42 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-04 01:56:42 +0000
commit1d5222071e5876b345e84d475573ef5db14ba1b4 (patch)
tree175872c72f290f4e89fd49724fbe6d085a379769 /webkit/glue/webframe.h
parentf25810a9541a15facf4252236432335629d10e50 (diff)
downloadchromium_src-1d5222071e5876b345e84d475573ef5db14ba1b4.zip
chromium_src-1d5222071e5876b345e84d475573ef5db14ba1b4.tar.gz
chromium_src-1d5222071e5876b345e84d475573ef5db14ba1b4.tar.bz2
Callbacks through ChromeClient->RenderView->RenderViewHost for ContentsDidChangeSize so that extensions can change their toolbar size when the contained contents changes size.
Review URL: http://codereview.chromium.org/56122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe.h')
-rw-r--r--webkit/glue/webframe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h
index 7a2c376..93f5698d 100644
--- a/webkit/glue/webframe.h
+++ b/webkit/glue/webframe.h
@@ -140,6 +140,9 @@ class WebFrame {
// the page does not have a valid document, an empty GURL is returned.
virtual GURL GetOSDDURL() const = 0;
+ // Return the minPrefWidth of the content contained in the current Document
+ virtual int GetContentsPreferredWidth() const = 0;
+
// Return the list of feeds specified in the document for the frame. If
// the page does not have a valid document, an empty list is returned.
virtual scoped_refptr<class FeedList> GetFeedList() const = 0;