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

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

Issue 837283003: Start replicating sandbox flags for OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OnCreateChildFrame usage in unit tests Created 5 years, 11 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 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/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 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 IPC_MESSAGE_HANDLER(ViewMsg_UpdateScrollbarTheme, OnUpdateScrollbarTheme) 1476 IPC_MESSAGE_HANDLER(ViewMsg_UpdateScrollbarTheme, OnUpdateScrollbarTheme)
1477 #endif 1477 #endif
1478 #if defined(ENABLE_PLUGINS) 1478 #if defined(ENABLE_PLUGINS)
1479 IPC_MESSAGE_HANDLER(ViewMsg_PurgePluginListCache, OnPurgePluginListCache) 1479 IPC_MESSAGE_HANDLER(ViewMsg_PurgePluginListCache, OnPurgePluginListCache)
1480 #endif 1480 #endif
1481 IPC_MESSAGE_UNHANDLED(handled = false) 1481 IPC_MESSAGE_UNHANDLED(handled = false)
1482 IPC_END_MESSAGE_MAP() 1482 IPC_END_MESSAGE_MAP()
1483 return handled; 1483 return handled;
1484 } 1484 }
1485 1485
1486 void RenderThreadImpl::OnCreateNewFrame(int routing_id, 1486 void RenderThreadImpl::OnCreateNewFrame(
1487 int parent_routing_id, 1487 int routing_id,
1488 int proxy_routing_id) { 1488 int parent_routing_id,
1489 RenderFrameImpl::CreateFrame(routing_id, parent_routing_id, proxy_routing_id); 1489 int proxy_routing_id,
1490 const FrameReplicationState& replicated_state) {
1491 RenderFrameImpl::CreateFrame(routing_id, parent_routing_id, proxy_routing_id,
1492 replicated_state);
1490 } 1493 }
1491 1494
1492 void RenderThreadImpl::OnCreateNewFrameProxy( 1495 void RenderThreadImpl::OnCreateNewFrameProxy(
1493 int routing_id, 1496 int routing_id,
1494 int parent_routing_id, 1497 int parent_routing_id,
1495 int render_view_routing_id, 1498 int render_view_routing_id,
1496 const FrameReplicationState& replicated_state) { 1499 const FrameReplicationState& replicated_state) {
1497 RenderFrameProxy::CreateFrameProxy(routing_id, parent_routing_id, 1500 RenderFrameProxy::CreateFrameProxy(routing_id, parent_routing_id,
1498 render_view_routing_id, replicated_state); 1501 render_view_routing_id, replicated_state);
1499 } 1502 }
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 hidden_widget_count_--; 1764 hidden_widget_count_--;
1762 1765
1763 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1766 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1764 return; 1767 return;
1765 } 1768 }
1766 1769
1767 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1770 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1768 } 1771 }
1769 1772
1770 } // namespace content 1773 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698