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

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

Issue 831903004: [WebView] Add a new flushVisualState API to AwContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: int -> uint62 everywhere for real. Created 5 years, 10 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 | « 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 a0d609b03f346368df729af2b8ec175770e2d29b..b6ca3029532578853648dd24afcdf452b1ca0fe8 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -94,6 +94,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