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

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

Issue 2156883002: Use content::FrameOwnerProperties instead of blink::WebFrameOwnerProperties in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-frame-owner-properties
Patch Set: Use this everywhere Created 4 years, 5 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 <utility> 10 #include <utility>
(...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1731 is_renderer_suspended_ = true; 1731 is_renderer_suspended_ = true;
1732 renderer_scheduler_->SuspendRenderer(); 1732 renderer_scheduler_->SuspendRenderer();
1733 } 1733 }
1734 1734
1735 void RenderThreadImpl::OnCreateNewFrame(FrameMsg_NewFrame_Params params) { 1735 void RenderThreadImpl::OnCreateNewFrame(FrameMsg_NewFrame_Params params) {
1736 CompositorDependencies* compositor_deps = this; 1736 CompositorDependencies* compositor_deps = this;
1737 RenderFrameImpl::CreateFrame( 1737 RenderFrameImpl::CreateFrame(
1738 params.routing_id, params.proxy_routing_id, params.opener_routing_id, 1738 params.routing_id, params.proxy_routing_id, params.opener_routing_id,
1739 params.parent_routing_id, params.previous_sibling_routing_id, 1739 params.parent_routing_id, params.previous_sibling_routing_id,
1740 params.replication_state, compositor_deps, params.widget_params, 1740 params.replication_state, compositor_deps, params.widget_params,
1741 params.frame_owner_properties.ToWebFrameOwnerProperties()); 1741 params.frame_owner_properties);
1742 } 1742 }
1743 1743
1744 void RenderThreadImpl::OnCreateNewFrameProxy( 1744 void RenderThreadImpl::OnCreateNewFrameProxy(
1745 int routing_id, 1745 int routing_id,
1746 int render_view_routing_id, 1746 int render_view_routing_id,
1747 int opener_routing_id, 1747 int opener_routing_id,
1748 int parent_routing_id, 1748 int parent_routing_id,
1749 const FrameReplicationState& replicated_state) { 1749 const FrameReplicationState& replicated_state) {
1750 // Debug cases of https://crbug.com/575245. 1750 // Debug cases of https://crbug.com/575245.
1751 base::debug::SetCrashKeyValue("newproxy_proxy_id", 1751 base::debug::SetCrashKeyValue("newproxy_proxy_id",
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2229 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical) 2229 v8_memory_pressure_level == v8::MemoryPressureLevel::kCritical)
2230 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate; 2230 v8_memory_pressure_level = v8::MemoryPressureLevel::kModerate;
2231 2231
2232 blink::mainThreadIsolate()->MemoryPressureNotification( 2232 blink::mainThreadIsolate()->MemoryPressureNotification(
2233 v8_memory_pressure_level); 2233 v8_memory_pressure_level);
2234 blink::MemoryPressureNotificationToWorkerThreadIsolates( 2234 blink::MemoryPressureNotificationToWorkerThreadIsolates(
2235 v8_memory_pressure_level); 2235 v8_memory_pressure_level);
2236 } 2236 }
2237 2237
2238 } // namespace content 2238 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl_browsertest.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698