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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_mac.h

Issue 3185004: Cleanups to well-behaved accelerated plugin CL requested by... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: chrome/browser/renderer_host/render_widget_host_view_mac.h
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_mac.h (revision 56221)
+++ chrome/browser/renderer_host/render_widget_host_view_mac.h (working copy)
@@ -62,10 +62,6 @@
NSWindow* lastWindow_; // weak
- // The Core Animation layer, if any, hosting the accelerated
- // plugins' and accelerated compositor's output.
- scoped_nsobject<CALayer> acceleratedPluginLayer_;
-
// Variables used by our implementaion of the NSTextInput protocol.
// An input method of Mac calls the methods of this protocol not only to
// notify an application of its status, but also to retrieve the status of
@@ -133,9 +129,6 @@
- (void)setCanBeKeyView:(BOOL)can;
- (void)setCloseOnDeactivate:(BOOL)b;
- (void)setToolTipAtMousePoint:(NSString *)string;
-// Triggers a refresh of the accelerated plugin layer; should be called whenever
-// the shared surface for one of the plugins is updated.
-- (void)drawAcceleratedPluginLayer;
// Set frame, then notify the RenderWidgetHost that the frame has been changed,
// but do it in a separate task, using |performSelector:withObject:afterDelay:|.
// This stops the flickering issue in http://crbug.com/31970
@@ -242,7 +235,8 @@
virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window);
void DrawAcceleratedSurfaceInstance(
CGLContextObj context, gfx::PluginWindowHandle plugin_handle);
- // Informs the plug-in instances that their drawing context has changed.
+ // Forces the textures associated with any accelerated plugin instances
+ // to be reloaded.
void ForceTextureReload();
virtual void SetVisuallyDeemphasized(bool deemphasized);

Powered by Google App Engine
This is Rietveld 408576698