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

Side by Side Diff: cc/trees/proxy_common.h

Issue 1377063003: Split ThreadProxy methods to ProxyMain and ProxyImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add remaining post task methods. Created 5 years, 2 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 2015 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_TREES_PROXY_COMMON_H_
6 #define CC_TREES_PROXY_COMMON_H_
7
8 #include "cc/base/cc_export.h"
9 #include "cc/output/begin_frame_args.h"
10 #include "cc/trees/layer_tree_host_common.h"
11
12 namespace cc {
13 class LayerTreeHost;
14
15 struct CC_EXPORT BeginMainFrameAndCommitState {
16 BeginMainFrameAndCommitState();
17 ~BeginMainFrameAndCommitState();
18
19 unsigned int begin_frame_id;
20 BeginFrameArgs begin_frame_args;
21 scoped_ptr<ScrollAndScaleSet> scroll_info;
22 size_t memory_allocation_limit_bytes;
23 bool evicted_ui_resources;
24 };
25
26 struct CC_EXPORT BlockedMainCommitState {
Khushal 2015/10/17 02:02:48 This is basically to simulate some form of message
27 BlockedMainCommitState();
28 ~BlockedMainCommitState();
29
30 LayerTreeHost* layer_tree_host;
31 bool* commit_waits_for_activation;
32 };
33
34 } // namespace cc
35
36 #endif // CC_TREES_PROXY_COMMON_H_
OLDNEW
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/proxy_common.cc » ('j') | cc/trees/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698