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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 692973005: Pass origin information for remote frame creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test failures for content:// URLs on Android Created 6 years 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
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 IPC_END_MESSAGE_MAP() 1344 IPC_END_MESSAGE_MAP()
1345 return handled; 1345 return handled;
1346 } 1346 }
1347 1347
1348 void RenderThreadImpl::OnCreateNewFrame(int routing_id, 1348 void RenderThreadImpl::OnCreateNewFrame(int routing_id,
1349 int parent_routing_id, 1349 int parent_routing_id,
1350 int proxy_routing_id) { 1350 int proxy_routing_id) {
1351 RenderFrameImpl::CreateFrame(routing_id, parent_routing_id, proxy_routing_id); 1351 RenderFrameImpl::CreateFrame(routing_id, parent_routing_id, proxy_routing_id);
1352 } 1352 }
1353 1353
1354 void RenderThreadImpl::OnCreateNewFrameProxy(int routing_id, 1354 void RenderThreadImpl::OnCreateNewFrameProxy(
1355 int parent_routing_id, 1355 int routing_id,
1356 int render_view_routing_id) { 1356 int parent_routing_id,
1357 RenderFrameProxy::CreateFrameProxy( 1357 int render_view_routing_id,
1358 routing_id, parent_routing_id, render_view_routing_id); 1358 const FrameReplicationState& replicated_state) {
1359 RenderFrameProxy::CreateFrameProxy(routing_id, parent_routing_id,
1360 render_view_routing_id, replicated_state);
1359 } 1361 }
1360 1362
1361 void RenderThreadImpl::OnSetZoomLevelForCurrentURL(const std::string& scheme, 1363 void RenderThreadImpl::OnSetZoomLevelForCurrentURL(const std::string& scheme,
1362 const std::string& host, 1364 const std::string& host,
1363 double zoom_level) { 1365 double zoom_level) {
1364 RenderViewZoomer zoomer(scheme, host, zoom_level); 1366 RenderViewZoomer zoomer(scheme, host, zoom_level);
1365 RenderView::ForEach(&zoomer); 1367 RenderView::ForEach(&zoomer);
1366 } 1368 }
1367 1369
1368 void RenderThreadImpl::OnCreateNewView(const ViewMsg_New_Params& params) { 1370 void RenderThreadImpl::OnCreateNewView(const ViewMsg_New_Params& params) {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 hidden_widget_count_--; 1620 hidden_widget_count_--;
1619 1621
1620 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1622 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1621 return; 1623 return;
1622 } 1624 }
1623 1625
1624 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1626 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1625 } 1627 }
1626 1628
1627 } // namespace content 1629 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698