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 720235227365ec2a878d20f71b2ef2cba69e3af9..eeeb08097ec9c908815d5d90a2e104ea3d7b9e94 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -130,6 +130,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; |
@@ -436,6 +438,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, |
@@ -535,6 +538,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_; |