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

Unified Diff: blimp/client/core/compositor/blimp_compositor.h

Issue 2382733007: Add BlimpDocument, pull out functions in BlimpCompositor. (Closed)
Patch Set: Remove Webkit DEPS modification. Created 4 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 | « blimp/client/core/compositor/BUILD.gn ('k') | blimp/client/core/compositor/blimp_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/compositor/blimp_compositor.h
diff --git a/blimp/client/core/compositor/blimp_compositor.h b/blimp/client/core/compositor/blimp_compositor.h
index 85fda70d20c11475166709d687242ed456245e6b..60bebcb3088b8fd696d900056aca39b7db6a9bb9 100644
--- a/blimp/client/core/compositor/blimp_compositor.h
+++ b/blimp/client/core/compositor/blimp_compositor.h
@@ -57,13 +57,11 @@ class BlimpCompositorClient {
// Should send web gesture events which could not be handled locally by the
// compositor to the engine.
virtual void SendWebGestureEvent(
- int render_widget_id,
const blink::WebGestureEvent& gesture_event) = 0;
// Should send the compositor messages from the remote client LayerTreeHost of
// this compositor to the corresponding remote server LayerTreeHost.
virtual void SendCompositorMessage(
- int render_widget_id,
const cc::proto::CompositorMessage& message) = 0;
protected:
@@ -85,8 +83,7 @@ class BlimpCompositor : public cc::LayerTreeHostClient,
public BlimpCompositorFrameSinkProxy,
public cc::SurfaceFactoryClient {
public:
- BlimpCompositor(const int render_widget_id,
- BlimpCompositorDependencies* compositor_dependencies,
+ BlimpCompositor(BlimpCompositorDependencies* compositor_dependencies,
BlimpCompositorClient* client);
~BlimpCompositor() override;
@@ -110,8 +107,6 @@ class BlimpCompositor : public cc::LayerTreeHostClient,
scoped_refptr<cc::Layer> layer() const { return layer_; }
- int render_widget_id() const { return render_widget_id_; }
-
private:
friend class BlimpCompositorForTesting;
@@ -182,9 +177,6 @@ class BlimpCompositor : public cc::LayerTreeHostClient,
// of the count.
void CheckPendingCommitCounts(bool flush);
- // The unique identifier for the render widget for this compositor.
- const int render_widget_id_;
-
BlimpCompositorClient* client_;
BlimpCompositorDependencies* compositor_dependencies_;
« no previous file with comments | « blimp/client/core/compositor/BUILD.gn ('k') | blimp/client/core/compositor/blimp_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698