Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |