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

Unified Diff: services/ui/demo/bitmap_uploader.h

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: Rebased 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 | « services/navigation/view_impl.cc ('k') | services/ui/demo/bitmap_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/bitmap_uploader.h
diff --git a/services/ui/demo/bitmap_uploader.h b/services/ui/demo/bitmap_uploader.h
index c7205e051ac3bd36ba69566e53daaabdb12d5357..465e92da7568a44787935866ac34eeee765f9bdf 100644
--- a/services/ui/demo/bitmap_uploader.h
+++ b/services/ui/demo/bitmap_uploader.h
@@ -16,17 +16,16 @@
#include "cc/output/compositor_frame_sink_client.h"
#include "gpu/GLES2/gl2chromium.h"
#include "gpu/GLES2/gl2extchromium.h"
-#include "services/ui/public/cpp/compositor_frame_sink.h"
-#include "services/ui/public/cpp/window_surface.h"
-#include "services/ui/public/cpp/window_surface_client.h"
+#include "services/ui/public/cpp/window_compositor_frame_sink.h"
namespace gpu {
class GpuChannelHost;
}
namespace ui {
-class GLES2Context;
+
class GpuService;
+class Window;
extern const char kBitmapUploaderForAcceleratedWidget[];
@@ -80,7 +79,7 @@ class BitmapUploader : public cc::CompositorFrameSinkClient {
const gfx::Transform& transform) override;
Window* window_;
- std::unique_ptr<CompositorFrameSink> compositor_frame_sink_;
+ std::unique_ptr<WindowCompositorFrameSink> compositor_frame_sink_;
uint32_t color_;
int width_;
« no previous file with comments | « services/navigation/view_impl.cc ('k') | services/ui/demo/bitmap_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698