Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index e0fa87fa49bcba9d35da5676f8209afd761fb55c..77581234ff6ce5ec37dd823c96f4734357e7ab8f 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -131,6 +131,8 @@ class CONTENT_EXPORT RenderFrameHostImpl |
RenderViewHost* GetRenderViewHost() override; |
ServiceRegistry* GetServiceRegistry() override; |
void ActivateFindInPageResultForAccessibility(int request_id) override; |
+ void FlushVisualState( |
+ const FlushVisualStateResultCallback& callback) override; |
// IPC::Sender |
bool Send(IPC::Message* msg) override; |
@@ -438,6 +440,7 @@ class CONTENT_EXPORT RenderFrameHostImpl |
void OnSwapOutACK(); |
void OnContextMenu(const ContextMenuParams& params); |
void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); |
+ void OnFlushVisualStateResponse(int id); |
void OnRunJavaScriptMessage(const base::string16& message, |
const base::string16& default_prompt, |
const GURL& frame_url, |
@@ -537,6 +540,7 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// The mapping of pending JavaScript calls created by |
// ExecuteJavaScript and their corresponding callbacks. |
std::map<int, JavaScriptResultCallback> javascript_callbacks_; |
+ std::map<int, FlushVisualStateResultCallback> flush_visual_state_callbacks_; |
int routing_id_; |