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

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: Keep ProxyMain and ProxyImpl methods private. 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
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/proxy_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5fce5e48a643f39e962d62f304205dc6513abb42
--- /dev/null
+++ b/cc/trees/proxy_common.h
@@ -0,0 +1,28 @@
+// 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;
+};
+
+} // 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698