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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 11475017: Revert 171569 as it broke some browser_tests on win_aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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_impl.h
===================================================================
--- content/browser/renderer_host/render_widget_host_impl.h (revision 171661)
+++ content/browser/renderer_host/render_widget_host_impl.h (working copy)
@@ -397,7 +397,7 @@
static void AcknowledgeBufferPresent(
int32 route_id,
int gpu_host_id,
- uint64 surface_handle,
+ bool presented,
uint32 sync_point);
// Called by the view in response to AcceleratedSurfaceBuffersSwapped for
@@ -410,6 +410,15 @@
// Called by the view when the parent changes. If a parent isn't available,
// NULL is used.
void ParentChanged(gfx::NativeViewId new_parent);
+
+ // Called by the view in response to visibility changes:
+ // 1. After the front surface is guarenteed to no longer be in use by the ui
+ // (protected false),
+ // 2. When the ui expects to have a valid front surface (protected true).
+ static void SendFrontSurfaceIsProtected(bool is_protected,
+ uint32 protection_state_id,
+ int32 route_id,
+ int gpu_host_id);
#endif
// Signals that the compositing surface was updated, e.g. after a lost context
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698