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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/proxy_common.h
diff --git a/cc/trees/proxy_common.h b/cc/trees/proxy_common.h
new file mode 100644
index 0000000000000000000000000000000000000000..59aaf39625ae8c5c8ebeca4f0cd67bfc61143d65
--- /dev/null
+++ b/cc/trees/proxy_common.h
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_TREES_PROXY_COMMON_H_
+#define CC_TREES_PROXY_COMMON_H_
+
+#include "cc/base/cc_export.h"
+#include "cc/output/begin_frame_args.h"
+#include "cc/trees/layer_tree_host_common.h"
+
+namespace cc {
+class LayerTreeHost;
+
+struct CC_EXPORT BeginMainFrameAndCommitState {
+ BeginMainFrameAndCommitState();
+ ~BeginMainFrameAndCommitState();
+
+ unsigned int begin_frame_id;
+ BeginFrameArgs begin_frame_args;
+ scoped_ptr<ScrollAndScaleSet> scroll_info;
+ size_t memory_allocation_limit_bytes;
+ bool evicted_ui_resources;
+};
+
+struct CC_EXPORT BlockedMainCommitState {
Khushal 2015/10/17 02:02:48 This is basically to simulate some form of message
+ BlockedMainCommitState();
+ ~BlockedMainCommitState();
+
+ LayerTreeHost* layer_tree_host;
+ bool* commit_waits_for_activation;
+};
+
+} // namespace cc
+
+#endif // CC_TREES_PROXY_COMMON_H_
« 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