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

Unified Diff: content/public/browser/render_frame_host.h

Issue 784343002: [draft] flush visual state prototype (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index 53032b4ccf6353b6d7201de9e6de98c74077c602..be0a7ec6eb32b24dc4190a435ac91e630fe45bea 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -93,6 +93,15 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// result.
virtual void ActivateFindInPageResultForAccessibility(int request_id) = 0;
+ // Roundtrips through the renderer and compositor pipeline to ensure that any
+ // changes to the contents resulting from operations executed prior to this
+ // call are visible on screen. The call completes asynchronously by running
+ // the supplied |callback| with a value of true upon successful completion and
+ // false otherwise (when the frame is destroyed, detached, etc..).
+ typedef base::Callback<void(bool)> FlushVisualStateResultCallback;
+ virtual void FlushVisualState(
+ const FlushVisualStateResultCallback& callback) = 0;
+
// Temporary until we get rid of RenderViewHost.
virtual RenderViewHost* GetRenderViewHost() = 0;
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698