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

Side by Side Diff: blimp/client/feature/compositor/blimp_compositor.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 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class BlimpCompositorClient { 45 class BlimpCompositorClient {
46 public: 46 public:
47 // These methods should provide the dependencies for cc::LayerTreeHost for 47 // These methods should provide the dependencies for cc::LayerTreeHost for
48 // this compositor. 48 // this compositor.
49 virtual cc::LayerTreeSettings* GetLayerTreeSettings() = 0; 49 virtual cc::LayerTreeSettings* GetLayerTreeSettings() = 0;
50 virtual scoped_refptr<base::SingleThreadTaskRunner> 50 virtual scoped_refptr<base::SingleThreadTaskRunner>
51 GetCompositorTaskRunner() = 0; 51 GetCompositorTaskRunner() = 0;
52 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; 52 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
53 virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0; 53 virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0;
54 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0; 54 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0;
55 virtual void DidCompleteSwapBuffers() = 0;
56 55
57 // Should send web gesture events which could not be handled locally by the 56 // Should send web gesture events which could not be handled locally by the
58 // compositor to the engine. 57 // compositor to the engine.
59 virtual void SendWebGestureEvent( 58 virtual void SendWebGestureEvent(
60 int render_widget_id, 59 int render_widget_id,
61 const blink::WebGestureEvent& gesture_event) = 0; 60 const blink::WebGestureEvent& gesture_event) = 0;
62 61
63 // Should send the compositor messages from the remote client LayerTreeHost of 62 // Should send the compositor messages from the remote client LayerTreeHost of
64 // this compositor to the corresponding remote server LayerTreeHost. 63 // this compositor to the corresponding remote server LayerTreeHost.
65 virtual void SendCompositorMessage( 64 virtual void SendCompositorMessage(
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // widget. 206 // widget.
208 std::unique_ptr<BlimpInputManager> input_manager_; 207 std::unique_ptr<BlimpInputManager> input_manager_;
209 208
210 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); 209 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor);
211 }; 210 };
212 211
213 } // namespace client 212 } // namespace client
214 } // namespace blimp 213 } // namespace blimp
215 214
216 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 215 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « blimp/client/app/linux/blimp_display_manager.cc ('k') | blimp/client/feature/compositor/blimp_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698