diff options
author | dglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-30 18:48:28 +0000 |
---|---|---|
committer | dglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-30 18:48:28 +0000 |
commit | 074ff16d3029256a9585529cad5487c1ae6eb409 (patch) | |
tree | e4d57cd79c533507a632ebf70c8ea8850113a9fc /webkit/glue/webplugin_impl.h | |
parent | 332ff119039b7dd3ba3d1994dde0b077f015bc03 (diff) | |
download | chromium_src-074ff16d3029256a9585529cad5487c1ae6eb409.zip chromium_src-074ff16d3029256a9585529cad5487c1ae6eb409.tar.gz chromium_src-074ff16d3029256a9585529cad5487c1ae6eb409.tar.bz2 |
Landing 36102:37604 merge on trunk
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_impl.h')
-rw-r--r-- | webkit/glue/webplugin_impl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/glue/webplugin_impl.h b/webkit/glue/webplugin_impl.h index b5473c5..77e0100 100644 --- a/webkit/glue/webplugin_impl.h +++ b/webkit/glue/webplugin_impl.h @@ -55,16 +55,16 @@ class WebPluginContainer : public WebCore::Widget { WebPluginContainer(WebPluginImpl* impl); virtual ~WebPluginContainer(); NPObject* GetPluginScriptableObject(); - virtual WebCore::IntRect windowClipRect() const; - virtual void geometryChanged() const; - virtual void setFrameGeometry(const WebCore::IntRect& rect); + + // Widget methods: + virtual void setFrameRect(const WebCore::IntRect& rect); virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect& rect); + virtual void invalidateRect(const WebCore::IntRect&); virtual void setFocus(); virtual void show(); virtual void hide(); virtual void handleEvent(WebCore::Event* event); - virtual void attachToWindow(); - virtual void detachFromWindow(); + virtual void frameRectsChanged() const {} #if USE(JSC) virtual bool isPluginView() const; @@ -203,7 +203,7 @@ class WebPluginImpl : public WebPlugin, // Override for when our window changes size or position. // Used to notify the plugin when the size or position changes. - virtual void setFrameGeometry(const WebCore::IntRect& rect); + virtual void setFrameRect(const WebCore::IntRect& rect); // Overrides paint so we can notify the underlying widget to repaint. virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect& rect); |