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

Side by Side Diff: blimp/client/feature/compositor/blimp_compositor.h

Issue 1925863003: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class BlimpCompositorClient { 46 class BlimpCompositorClient {
47 public: 47 public:
48 // These methods should provide the dependencies for cc::LayerTreeHost for 48 // These methods should provide the dependencies for cc::LayerTreeHost for
49 // this compositor. 49 // this compositor.
50 virtual cc::LayerTreeSettings* GetLayerTreeSettings() = 0; 50 virtual cc::LayerTreeSettings* GetLayerTreeSettings() = 0;
51 virtual scoped_refptr<base::SingleThreadTaskRunner> 51 virtual scoped_refptr<base::SingleThreadTaskRunner>
52 GetCompositorTaskRunner() = 0; 52 GetCompositorTaskRunner() = 0;
53 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; 53 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
54 virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0; 54 virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0;
55 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0; 55 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0;
56 virtual void DidCompleteSwapBuffers() = 0;
56 57
57 // Should send web gesture events which could not be handled locally by the 58 // Should send web gesture events which could not be handled locally by the
58 // compositor to the engine. 59 // compositor to the engine.
59 virtual void SendWebGestureEvent( 60 virtual void SendWebGestureEvent(
60 int render_widget_id, 61 int render_widget_id,
61 const blink::WebGestureEvent& gesture_event) = 0; 62 const blink::WebGestureEvent& gesture_event) = 0;
62 63
63 // Should send the compositor messages from the remote client LayerTreeHost of 64 // Should send the compositor messages from the remote client LayerTreeHost of
64 // this compositor to the corresponding remote server LayerTreeHost. 65 // this compositor to the corresponding remote server LayerTreeHost.
65 virtual void SendCompositorMessage( 66 virtual void SendCompositorMessage(
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // widget. 208 // widget.
208 std::unique_ptr<BlimpInputManager> input_manager_; 209 std::unique_ptr<BlimpInputManager> input_manager_;
209 210
210 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); 211 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor);
211 }; 212 };
212 213
213 } // namespace client 214 } // namespace client
214 } // namespace blimp 215 } // namespace blimp
215 216
216 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 217 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698