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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed auto-resize and fullscreen toggle Created 8 years, 8 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: content/browser/renderer_host/render_widget_host_view_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index cad5c9b7823503b95a83ae3d4bd3e8ddd61e3309..a88311ec90801b5177721faa0add78e58d9d69e7 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -2251,6 +2251,14 @@ void RenderWidgetHostViewWin::AcceleratedSurfaceSuspend() {
accelerated_surface_->Suspend();
}
+bool RenderWidgetHostViewWin::HasAcceleratedSurface(
+ const gfx::Size& desired_size) {
+ // TODO(jbates) Implement this so this view can use GetBackingStore for both
+ // software and GPU frames. Defaulting to false just makes GetBackingStore
+ // only useable for software frames.
+ return false;
+}
+
void RenderWidgetHostViewWin::SetAccessibilityFocus(int acc_obj_id) {
if (!render_widget_host_)
return;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.h ('k') | content/browser/renderer_host/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698