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

Unified Diff: cc/trees/channel_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
« no previous file with comments | « no previous file | cc/trees/channel_main.h » ('j') | cc/trees/thread_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/channel_impl.h
diff --git a/cc/trees/channel_impl.h b/cc/trees/channel_impl.h
index dcaf41687afa0a1e56a8de9f519c02b9e5eb9186..fc21731a4150254351a4732d3fa7e3b290f51ed3 100644
--- a/cc/trees/channel_impl.h
+++ b/cc/trees/channel_impl.h
@@ -5,7 +5,10 @@
#ifndef CC_TREES_CHANNEL_IMPL_H_
#define CC_TREES_CHANNEL_IMPL_H_
+#include "cc/animation/animation_events.h"
#include "cc/base/cc_export.h"
+#include "cc/debug/frame_timing_tracker.h"
+#include "cc/output/renderer_capabilities.h"
namespace cc {
@@ -17,6 +20,20 @@ class CC_EXPORT ChannelImpl {
public:
// Interface for commands sent to ProxyMain
virtual void DidCompleteSwapBuffers() = 0;
+ virtual void SetRendererCapabilitiesMainCopy(
+ const RendererCapabilities& capabilities) = 0;
+ virtual void BeginMainFrameNotExpectedSoon() = 0;
+ virtual void DidCommitAndDrawFrame() = 0;
+ virtual void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue) = 0;
+ virtual void DidLoseOutputSurface() = 0;
+ virtual void RequestNewOutputSurface() = 0;
+ virtual void DidInitializeOutputSurface(
+ bool success,
+ const RendererCapabilities& capabilities) = 0;
+ virtual void DidCompletePageScaleAnimation() = 0;
+ virtual void PostFrameTimingEventsOnMain(
+ scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
+ scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) = 0;
protected:
virtual ~ChannelImpl() {}
« no previous file with comments | « no previous file | cc/trees/channel_main.h » ('j') | cc/trees/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698