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

Unified Diff: cc/trees/proxy_impl.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/proxy_impl.h
diff --git a/cc/trees/proxy_impl.h b/cc/trees/proxy_impl.h
index 998463f76692a987a5e5028731bc69376403eacf..000b601648931ec66d70a5c4eefc03a16c87d4be 100644
--- a/cc/trees/proxy_impl.h
+++ b/cc/trees/proxy_impl.h
@@ -7,9 +7,9 @@
#include "base/memory/weak_ptr.h"
#include "cc/base/cc_export.h"
+#include "cc/output/output_surface.h"
namespace cc {
-
// TODO(khushalsagar): The impl side of ThreadProxy. It is currently defined as
// an interface with the implementation provided by ThreadProxy and will be
// made an independent class.
@@ -20,6 +20,16 @@ class CC_EXPORT ProxyImpl {
public:
// Callback for impl side commands received from the channel.
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;
// TODO(khushalsagar): Rename as GetWeakPtr() once ThreadProxy is split.
virtual base::WeakPtr<ProxyImpl> GetImplWeakPtr() = 0;
« no previous file with comments | « cc/trees/channel_main.h ('k') | cc/trees/proxy_main.h » ('j') | cc/trees/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698