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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 974483002: [WebView] Remove onFailure from VisualStateCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 ca442d27367f9a9f528b4d49454b85457810d156..0f4b797e3a4d4dd46bab829fba0c38e38e385827 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -479,6 +479,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
void OnRenderProcessGone(int status, int error_code);
void OnContextMenu(const ContextMenuParams& params);
void OnJavaScriptExecuteResponse(int id, const base::ListValue& result);
+ void OnVisualStateSwapInfo(int source_frame_number, bool swap_success);
void OnVisualStateResponse(uint64 id);
void OnRunJavaScriptMessage(const base::string16& message,
const base::string16& default_prompt,
@@ -705,6 +706,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
// NOTE: This must be the last member.
base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
+ std::pair<int, bool> last_swap_info_;
+
DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
};

Powered by Google App Engine
This is Rietveld 408576698