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

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

Issue 12487003: Fix painting glitch with text and NPAPI plugins. This was a regression from r167042. The problem wa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix silverlight Created 7 years, 10 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 | « webkit/plugins/npapi/plugin_instance.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin_delegate_impl.h
===================================================================
--- webkit/plugins/npapi/webplugin_delegate_impl.h (revision 186240)
+++ webkit/plugins/npapi/webplugin_delegate_impl.h (working copy)
@@ -135,7 +135,9 @@
unsigned long resource_id, int range_request_id) OVERRIDE;
// End of WebPluginDelegate implementation.
- bool IsWindowless() const { return windowless_ ; }
+ gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; }
+ bool IsWindowless() const { return windowless_; }
+ PluginInstance* instance() { return instance_.get(); }
gfx::Rect GetRect() const { return window_rect_; }
gfx::Rect GetClipRect() const { return clip_rect_; }
@@ -198,10 +200,6 @@
void CGPaint(CGContextRef context, const gfx::Rect& rect);
#endif // OS_MACOSX && !USE_AURA
- gfx::PluginWindowHandle windowed_handle() const {
- return windowed_handle_;
- }
-
#if defined(OS_MACOSX)
// Allow setting a "fake" window handle to associate this plug-in with
// an IOSurface in the browser. Used for accelerated drawing surfaces.
@@ -296,8 +294,6 @@
bool PlatformHandleInputEvent(const WebKit::WebInputEvent& event,
WebKit::WebCursorInfo* cursor_info);
- PluginInstance* instance() { return instance_.get(); }
-
// Closes down and destroys our plugin instance.
void DestroyInstance();
« no previous file with comments | « webkit/plugins/npapi/plugin_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698