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

Unified Diff: content/browser/renderer_host/render_message_filter.cc

Issue 652283002: Navigation transitions (web to native app): Get names and rects of transition elements (Chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use struct as IPC params Created 6 years, 2 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/renderer_host/render_message_filter.cc
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc
index 546a95eba93c74e986d647debcd3595fd75ac6c2..4146c91d7ee607245e788c36a1cf77982e055a5c 100644
--- a/content/browser/renderer_host/render_message_filter.cc
+++ b/content/browser/renderer_host/render_message_filter.cc
@@ -1227,13 +1227,15 @@ void RenderMessageFilter::OnWebAudioMediaCodec(
#endif
void RenderMessageFilter::OnAddNavigationTransitionData(
- int render_frame_id,
- const std::string& allowed_destination_host_pattern,
- const std::string& selector,
- const std::string& markup) {
+ FrameHostMsg_AddNavigationTransitionData_Params params) {
TransitionRequestManager::GetInstance()->AddPendingTransitionRequestData(
- render_process_id_, render_frame_id, allowed_destination_host_pattern,
- selector, markup);
+ render_process_id_,
+ params.render_frame_id,
+ params.allowed_destination_host_pattern,
+ params.selector,
+ params.markup,
+ params.names,
+ params.rects);
}
void RenderMessageFilter::OnAllocateGpuMemoryBuffer(

Powered by Google App Engine
This is Rietveld 408576698