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

Side by Side Diff: content/browser/renderer_host/render_message_filter.cc

Issue 652953008: Navigation transitions (web to native app): Pass data after starting provisional load (Chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use struct for name+rect Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_message_filter.h" 5 #include "content/browser/renderer_host/render_message_filter.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 #endif 1213 #endif
1214 1214
1215 void RenderMessageFilter::OnAddNavigationTransitionData( 1215 void RenderMessageFilter::OnAddNavigationTransitionData(
1216 FrameHostMsg_AddNavigationTransitionData_Params params) { 1216 FrameHostMsg_AddNavigationTransitionData_Params params) {
1217 TransitionRequestManager::GetInstance()->AddPendingTransitionRequestData( 1217 TransitionRequestManager::GetInstance()->AddPendingTransitionRequestData(
1218 render_process_id_, 1218 render_process_id_,
1219 params.render_frame_id, 1219 params.render_frame_id,
1220 params.allowed_destination_host_pattern, 1220 params.allowed_destination_host_pattern,
1221 params.selector, 1221 params.selector,
1222 params.markup, 1222 params.markup,
1223 params.names, 1223 params.elements);
1224 params.rects);
1225 } 1224 }
1226 1225
1227 void RenderMessageFilter::OnAllocateGpuMemoryBuffer( 1226 void RenderMessageFilter::OnAllocateGpuMemoryBuffer(
1228 uint32 width, 1227 uint32 width,
1229 uint32 height, 1228 uint32 height,
1230 gfx::GpuMemoryBuffer::Format format, 1229 gfx::GpuMemoryBuffer::Format format,
1231 gfx::GpuMemoryBuffer::Usage usage, 1230 gfx::GpuMemoryBuffer::Usage usage,
1232 IPC::Message* reply) { 1231 IPC::Message* reply) {
1233 base::CheckedNumeric<int> size = width; 1232 base::CheckedNumeric<int> size = width;
1234 size *= height; 1233 size *= height;
(...skipping 23 matching lines...) Expand all
1258 } 1257 }
1259 1258
1260 void RenderMessageFilter::OnDeletedGpuMemoryBuffer( 1259 void RenderMessageFilter::OnDeletedGpuMemoryBuffer(
1261 gfx::GpuMemoryBufferType type, 1260 gfx::GpuMemoryBufferType type,
1262 const gfx::GpuMemoryBufferId& id) { 1261 const gfx::GpuMemoryBufferId& id) {
1263 BrowserGpuMemoryBufferManager::current()->ChildProcessDeletedGpuMemoryBuffer( 1262 BrowserGpuMemoryBufferManager::current()->ChildProcessDeletedGpuMemoryBuffer(
1264 type, id, PeerHandle()); 1263 type, id, PeerHandle());
1265 } 1264 }
1266 1265
1267 } // namespace content 1266 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698