Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: webkit/glue/plugins/webplugin_delegate_impl.h

Issue 165344: Add an UpdateContext call to WebPluginDelegateImpl on the Mac. (Closed)
Patch Set: Stripped down to Mac-only Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/webplugin_delegate_impl.h
diff --git a/webkit/glue/plugins/webplugin_delegate_impl.h b/webkit/glue/plugins/webplugin_delegate_impl.h
index 408a710f4faf70427ab74dbdf336e4fc885ab35b..4cbf9c10924f6b9e4ce1642f3e0ca1dc2f78868e 100644
--- a/webkit/glue/plugins/webplugin_delegate_impl.h
+++ b/webkit/glue/plugins/webplugin_delegate_impl.h
@@ -88,6 +88,12 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
virtual const gfx::Rect& GetClipRect() const { return clip_rect_; }
virtual int GetQuirks() const { return quirks_; }
+#if defined(OS_MACOSX)
+ // Informs the delegate that the context used for painting windowless plugins
+ // has changed.
+ virtual void UpdateContext(gfx::NativeDrawingContext context);
+#endif
+
private:
friend class DeleteTask<WebPluginDelegateImpl>;
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698