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

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

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added empty implementation for linux client 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 public: 45 public:
46 // These methods should provide the dependencies for cc::LayerTreeHost for 46 // These methods should provide the dependencies for cc::LayerTreeHost for
47 // this compositor. 47 // this compositor.
48 virtual cc::LayerTreeSettings* GetLayerTreeSettings() = 0; 48 virtual cc::LayerTreeSettings* GetLayerTreeSettings() = 0;
49 virtual scoped_refptr<base::SingleThreadTaskRunner> 49 virtual scoped_refptr<base::SingleThreadTaskRunner>
50 GetCompositorTaskRunner() = 0; 50 GetCompositorTaskRunner() = 0;
51 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; 51 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
52 virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0; 52 virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0;
53 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0; 53 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor() = 0;
54 virtual void DidCompleteSwapBuffers() = 0; 54 virtual void DidCompleteSwapBuffers() = 0;
55 virtual void DidCommitAndDrawFrame() = 0;
55 56
56 // Should send web gesture events which could not be handled locally by the 57 // Should send web gesture events which could not be handled locally by the
57 // compositor to the engine. 58 // compositor to the engine.
58 virtual void SendWebGestureEvent( 59 virtual void SendWebGestureEvent(
59 int render_widget_id, 60 int render_widget_id,
60 const blink::WebGestureEvent& gesture_event) = 0; 61 const blink::WebGestureEvent& gesture_event) = 0;
61 62
62 // Should send the compositor messages from the remote client LayerTreeHost of 63 // Should send the compositor messages from the remote client LayerTreeHost of
63 // this compositor to the corresponding remote server LayerTreeHost. 64 // this compositor to the corresponding remote server LayerTreeHost.
64 virtual void SendCompositorMessage( 65 virtual void SendCompositorMessage(
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // widget. 210 // widget.
210 std::unique_ptr<BlimpInputManager> input_manager_; 211 std::unique_ptr<BlimpInputManager> input_manager_;
211 212
212 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); 213 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor);
213 }; 214 };
214 215
215 } // namespace client 216 } // namespace client
216 } // namespace blimp 217 } // namespace blimp
217 218
218 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 219 #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