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

Side by Side Diff: cc/blimp/remote_compositor_bridge_client.h

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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
« no previous file with comments | « cc/blimp/remote_compositor_bridge.cc ('k') | cc/blimp/synced_property_remote.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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_BLIMP_REMOTE_COMPOSITOR_BRIDGE_CLIENT_H_
6 #define CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_CLIENT_H_
7
8 #include <unordered_map>
9
10 #include "base/macros.h"
11 #include "cc/base/cc_export.h"
12
13 namespace gfx {
14 class ScrollOffset;
15 } // namespace gfx
16
17 namespace cc {
18 namespace proto {
19 class ClientStateUpdate;
20 } // namespace proto
21
22 class CC_EXPORT RemoteCompositorBridgeClient {
23 public:
24 using ScrollOffsetMap = std::unordered_map<int, gfx::ScrollOffset>;
25
26 virtual ~RemoteCompositorBridgeClient() {}
27
28 // Called in response to a ScheduleMainFrame request made on the
29 // RemoteCompositorBridge.
30 // Note: The method should always be invoked asynchronously after the request
31 // is made.
32 virtual void BeginMainFrame() = 0;
33
34 // Applied state updates reported from the client onto the main thread state
35 // on the engine.
36 virtual void ApplyStateUpdateFromClient(
37 const proto::ClientStateUpdate& client_state_update) = 0;
38 };
39
40 } // namespace cc
41
42 #endif // CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/blimp/remote_compositor_bridge.cc ('k') | cc/blimp/synced_property_remote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698