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

Side by Side Diff: cc/test/fake_compositor_frame_sink_support_client.cc

Issue 2848223003: Enforce constant size and device scale factor for surfaces (Closed)
Patch Set: Notify CFSSClient when a frame is rejected Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "cc/test/fake_compositor_frame_sink_support_client.h" 5 #include "cc/test/fake_compositor_frame_sink_support_client.h"
6 6
7 #include "cc/surfaces/surface_manager.h" 7 #include "cc/surfaces/surface_manager.h"
8 8
9 namespace cc { 9 namespace cc {
10 10
(...skipping 15 matching lines...) Expand all
26 returned_resources_ = resources; 26 returned_resources_ = resources;
27 } 27 }
28 28
29 void FakeCompositorFrameSinkSupportClient::WillDrawSurface( 29 void FakeCompositorFrameSinkSupportClient::WillDrawSurface(
30 const LocalSurfaceId& local_surface_id, 30 const LocalSurfaceId& local_surface_id,
31 const gfx::Rect& damage_rect) { 31 const gfx::Rect& damage_rect) {
32 last_local_surface_id_ = local_surface_id; 32 last_local_surface_id_ = local_surface_id;
33 last_damage_rect_ = damage_rect; 33 last_damage_rect_ = damage_rect;
34 } 34 }
35 35
36 void FakeCompositorFrameSinkSupportClient::DidRejectCompositorFrame() {
37 NOTREACHED();
38 }
39
36 }; // namespace cc 40 }; // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698