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

Side by Side Diff: cc/test/mock_compositor_frame_sink_support_client.h

Issue 2802023002: Remove SurfaceFactory And SurfaceFactoryClient (Closed)
Patch Set: Rebase SurfaceSynchronizationTest 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_TEST_MOCK_COMPOSITOR_FRAME_SINK_SUPPORT_CLIENT_H_
6 #define CC_TEST_MOCK_COMPOSITOR_FRAME_SINK_SUPPORT_CLIENT_H_
7
8 #include "cc/surfaces/compositor_frame_sink_support_client.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace cc {
12 namespace test {
13
14 class MockCompositorFrameSinkSupportClient
15 : public CompositorFrameSinkSupportClient {
16 public:
17 MockCompositorFrameSinkSupportClient();
18 ~MockCompositorFrameSinkSupportClient() override;
19
20 // CompositorFrameSinkSupportClient implementation.
21 MOCK_METHOD1(DidReceiveCompositorFrameAck,
22 void(const ReturnedResourceArray&));
23 MOCK_METHOD1(OnBeginFrame, void(const BeginFrameArgs&));
24 MOCK_METHOD1(ReclaimResources, void(const ReturnedResourceArray&));
25 MOCK_METHOD2(WillDrawSurface, void(const LocalSurfaceId&, const gfx::Rect&));
26 };
27
28 } // namespace test
29 } // namespace cc
30
31 #endif // CC_TEST_MOCK_COMPOSITOR_FRAME_SINK_SUPPORT_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/test/compositor_frame_helpers.cc ('k') | cc/test/mock_compositor_frame_sink_support_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698