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

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

Issue 8233027: Support dynamic switching between integrated and discrete GPUs on Mac OS X. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/gpu/webgraphicscontext3d_in_process_impl.cc ('k') | webkit/plugins/npapi/webplugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin.h
===================================================================
--- webkit/plugins/npapi/webplugin.h (revision 105357)
+++ webkit/plugins/npapi/webplugin.h (working copy)
@@ -9,6 +9,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "ui/gfx/gl/gpu_preference.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/rect.h"
@@ -159,7 +160,8 @@
virtual void BindFakePluginWindowHandle(bool opaque) {}
// Returns the accelerated surface abstraction for accelerated plugins.
- virtual WebPluginAcceleratedSurface* GetAcceleratedSurface();
+ virtual WebPluginAcceleratedSurface* GetAcceleratedSurface(
+ gfx::GpuPreference gpu_preference);
#endif
// Handles NPN_URLRedirectResponse calls issued by plugins in response to
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.cc ('k') | webkit/plugins/npapi/webplugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698