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

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: Add conversion functions for SandboxFlags 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 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 IPC_MESSAGE_HANDLER(ViewMsg_UpdateScrollbarTheme, OnUpdateScrollbarTheme) 1474 IPC_MESSAGE_HANDLER(ViewMsg_UpdateScrollbarTheme, OnUpdateScrollbarTheme)
1475 #endif 1475 #endif
1476 #if defined(ENABLE_PLUGINS) 1476 #if defined(ENABLE_PLUGINS)
1477 IPC_MESSAGE_HANDLER(ViewMsg_PurgePluginListCache, OnPurgePluginListCache) 1477 IPC_MESSAGE_HANDLER(ViewMsg_PurgePluginListCache, OnPurgePluginListCache)
1478 #endif 1478 #endif
1479 IPC_MESSAGE_UNHANDLED(handled = false) 1479 IPC_MESSAGE_UNHANDLED(handled = false)
1480 IPC_END_MESSAGE_MAP() 1480 IPC_END_MESSAGE_MAP()
1481 return handled; 1481 return handled;
1482 } 1482 }
1483 1483
1484 void RenderThreadImpl::OnCreateNewFrame(int routing_id, 1484 void RenderThreadImpl::OnCreateNewFrame(
1485 int parent_routing_id, 1485 int routing_id,
1486 int proxy_routing_id) { 1486 int parent_routing_id,
1487 RenderFrameImpl::CreateFrame(routing_id, parent_routing_id, proxy_routing_id); 1487 int proxy_routing_id,
1488 const FrameReplicationState& replicated_state) {
1489 RenderFrameImpl::CreateFrame(routing_id, parent_routing_id, proxy_routing_id,
1490 replicated_state);
1488 } 1491 }
1489 1492
1490 void RenderThreadImpl::OnCreateNewFrameProxy( 1493 void RenderThreadImpl::OnCreateNewFrameProxy(
1491 int routing_id, 1494 int routing_id,
1492 int parent_routing_id, 1495 int parent_routing_id,
1493 int render_view_routing_id, 1496 int render_view_routing_id,
1494 const FrameReplicationState& replicated_state) { 1497 const FrameReplicationState& replicated_state) {
1495 RenderFrameProxy::CreateFrameProxy(routing_id, parent_routing_id, 1498 RenderFrameProxy::CreateFrameProxy(routing_id, parent_routing_id,
1496 render_view_routing_id, replicated_state); 1499 render_view_routing_id, replicated_state);
1497 } 1500 }
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 hidden_widget_count_--; 1762 hidden_widget_count_--;
1760 1763
1761 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) { 1764 if (!GetContentClient()->renderer()->RunIdleHandlerWhenWidgetsHidden()) {
1762 return; 1765 return;
1763 } 1766 }
1764 1767
1765 ScheduleIdleHandler(kLongIdleHandlerDelayMs); 1768 ScheduleIdleHandler(kLongIdleHandlerDelayMs);
1766 } 1769 }
1767 1770
1768 } // namespace content 1771 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698