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

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

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/browser/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 2897 matching lines...) Expand 10 before | Expand all | Expand 10 after
2908 host_->WasResized(); 2908 host_->WasResized();
2909 } 2909 }
2910 2910
2911 void RenderWidgetHostViewAura::DelegatedFrameHostSendCompositorSwapAck( 2911 void RenderWidgetHostViewAura::DelegatedFrameHostSendCompositorSwapAck(
2912 int output_surface_id, 2912 int output_surface_id,
2913 const cc::CompositorFrameAck& ack) { 2913 const cc::CompositorFrameAck& ack) {
2914 host_->Send(new ViewMsg_SwapCompositorFrameAck(host_->GetRoutingID(), 2914 host_->Send(new ViewMsg_SwapCompositorFrameAck(host_->GetRoutingID(),
2915 output_surface_id, ack)); 2915 output_surface_id, ack));
2916 } 2916 }
2917 2917
2918 void RenderWidgetHostViewAura::DelegatedFrameHostSendReclaimCompositorResources(
2919 int output_surface_id,
2920 const cc::CompositorFrameAck& ack) {
2921 host_->Send(new ViewMsg_ReclaimCompositorResources(host_->GetRoutingID(),
2922 output_surface_id, ack));
2923 }
2924
2925 void RenderWidgetHostViewAura::DelegatedFrameHostOnLostCompositorResources() { 2918 void RenderWidgetHostViewAura::DelegatedFrameHostOnLostCompositorResources() {
2926 host_->ScheduleComposite(); 2919 host_->ScheduleComposite();
2927 } 2920 }
2928 2921
2929 void RenderWidgetHostViewAura::DelegatedFrameHostUpdateVSyncParameters( 2922 void RenderWidgetHostViewAura::DelegatedFrameHostUpdateVSyncParameters(
2930 const base::TimeTicks& timebase, 2923 const base::TimeTicks& timebase,
2931 const base::TimeDelta& interval) { 2924 const base::TimeDelta& interval) {
2932 host_->UpdateVSyncParameters(timebase, interval); 2925 host_->UpdateVSyncParameters(timebase, interval);
2933 } 2926 }
2934 2927
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
3001 2994
3002 //////////////////////////////////////////////////////////////////////////////// 2995 ////////////////////////////////////////////////////////////////////////////////
3003 // RenderWidgetHostViewBase, public: 2996 // RenderWidgetHostViewBase, public:
3004 2997
3005 // static 2998 // static
3006 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { 2999 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) {
3007 GetScreenInfoForWindow(results, NULL); 3000 GetScreenInfoForWindow(results, NULL);
3008 } 3001 }
3009 3002
3010 } // namespace content 3003 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698