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

Unified Diff: blimp/client/feature/compositor/blimp_compositor_manager.h

Issue 1965843002: Revert of Changed Blimp client to start with white screen before drawing contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: blimp/client/feature/compositor/blimp_compositor_manager.h
diff --git a/blimp/client/feature/compositor/blimp_compositor_manager.h b/blimp/client/feature/compositor/blimp_compositor_manager.h
index ed5d677a420a9d7ff9a6cafa0184e5dabce437e7..9382c0d90ae5424f7bcc6dbd0c4d8149c0113f7b 100644
--- a/blimp/client/feature/compositor/blimp_compositor_manager.h
+++ b/blimp/client/feature/compositor/blimp_compositor_manager.h
@@ -14,11 +14,6 @@
namespace blimp {
namespace client {
-class BlimpCompositorManagerClient {
- public:
- virtual void OnSwapBuffersCompleted() = 0;
-};
-
// The BlimpCompositorManager manages multiple BlimpCompositor instances, each
// mapped to a render widget on the engine. The compositor corresponding to
// the render widget initialized on the engine will be the |active_compositor_|.
@@ -29,8 +24,7 @@
: public RenderWidgetFeature::RenderWidgetFeatureDelegate,
public BlimpCompositorClient {
public:
- explicit BlimpCompositorManager(RenderWidgetFeature* render_widget_feature,
- BlimpCompositorManagerClient* client);
+ explicit BlimpCompositorManager(RenderWidgetFeature* render_widget_feature);
~BlimpCompositorManager() override;
void SetVisible(bool visible);
@@ -67,7 +61,6 @@
std::unique_ptr<cc::proto::CompositorMessage> message) override;
// BlimpCompositorClient implementation.
- void DidCompleteSwapBuffers() override;
cc::LayerTreeSettings* GetLayerTreeSettings() override;
scoped_refptr<base::SingleThreadTaskRunner>
GetCompositorTaskRunner() override;
@@ -110,7 +103,6 @@
// BlimpCompositorManager does not own this and it is expected to outlive this
// BlimpCompositorManager instance.
RenderWidgetFeature* render_widget_feature_;
- BlimpCompositorManagerClient* client_;
DISALLOW_COPY_AND_ASSIGN(BlimpCompositorManager);
};
« no previous file with comments | « blimp/client/feature/compositor/blimp_compositor.cc ('k') | blimp/client/feature/compositor/blimp_compositor_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698