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

Side by Side Diff: cc/test/mock_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/mock_compositor_frame_sink_support_client.h" 5 #include "cc/test/mock_compositor_frame_sink_support_client.h"
6 6
7 #include "cc/output/begin_frame_args.h" 7 #include "cc/output/begin_frame_args.h"
8 #include "cc/surfaces/local_surface_id.h" 8 #include "cc/surfaces/local_surface_id.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 10
11 namespace cc { 11 namespace cc {
12 namespace test { 12 namespace test {
13 13
14 MockCompositorFrameSinkSupportClient::MockCompositorFrameSinkSupportClient() = 14 MockCompositorFrameSinkSupportClient::MockCompositorFrameSinkSupportClient() =
15 default; 15 default;
16 16
17 MockCompositorFrameSinkSupportClient::~MockCompositorFrameSinkSupportClient() = 17 MockCompositorFrameSinkSupportClient::~MockCompositorFrameSinkSupportClient() =
18 default; 18 default;
19 19
20 void MockCompositorFrameSinkSupportClient::DidRejectCompositorFrame() {
21 NOTREACHED();
22 }
23
20 } // namespace test 24 } // namespace test
21 25
22 } // namespace cc 26 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698