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

Unified Diff: cc/trees/channel_main.h

Issue 1377063003: Split ThreadProxy methods to ProxyMain and ProxyImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing 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/channel_main.h
diff --git a/cc/trees/channel_main.h b/cc/trees/channel_main.h
index c4cdcc632d8a2be06133c95882afa4b162ed7405..a0735fc7a017ba90ae212df96335ba00f9dbcb82 100644
--- a/cc/trees/channel_main.h
+++ b/cc/trees/channel_main.h
@@ -6,9 +6,9 @@
#define CC_TREES_CHANNEL_MAIN_H_
#include "cc/base/cc_export.h"
+#include "cc/output/output_surface.h"
namespace cc {
-
// ChannelMain and ChannelImpl provide an abstract communication layer for
// the main and impl side of the compositor.
//
@@ -23,6 +23,16 @@ class CC_EXPORT ChannelMain {
public:
// Interface for commands sent to the ProxyImpl
virtual void SetThrottleFrameProductionOnImpl(bool throttle) = 0;
+ virtual void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) = 0;
+ virtual void MainThreadHasStoppedFlingingOnImpl() = 0;
+ virtual void SetInputThrottledUntilCommitOnImpl(bool is_throttled) = 0;
+ virtual void SetDeferCommitsOnImpl(bool defer_commits) = 0;
+ virtual void FinishAllRenderingOnImpl() = 0;
+ virtual void SetVisibleOnImpl(bool visible) = 0;
+ virtual void ReleaseOutputSurfaceOnImpl() = 0;
+ virtual void FinishGLOnImpl() = 0;
+ virtual void MainFrameWillHappenOnImplForTesting(
+ bool* main_frame_will_happen) = 0;
virtual ~ChannelMain() {}
};
« no previous file with comments | « cc/trees/channel_impl.h ('k') | cc/trees/proxy_impl.h » ('j') | cc/trees/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698