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

Side by Side Diff: content/browser/renderer_host/offscreen_canvas_surface_impl.h

Issue 2708153005: Rename SurfaceIdAllocator to LocalSurfaceIdAllocator (Closed)
Patch Set: Refine comments Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_IMPL_H_
7 7
8 #include "cc/ipc/display_compositor.mojom.h" 8 #include "cc/ipc/display_compositor.mojom.h"
9 #include "cc/surfaces/local_surface_id_allocator.h"
boliu 2017/02/22 17:09:15 remove instead
9 #include "cc/surfaces/surface_id.h" 10 #include "cc/surfaces/surface_id.h"
10 #include "cc/surfaces/surface_id_allocator.h"
11 #include "mojo/public/cpp/bindings/interface_request.h" 11 #include "mojo/public/cpp/bindings/interface_request.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 12 #include "mojo/public/cpp/bindings/strong_binding.h"
13 #include "third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_c anvas_surface.mojom.h" 13 #include "third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_c anvas_surface.mojom.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class CONTENT_EXPORT OffscreenCanvasSurfaceImpl 17 class CONTENT_EXPORT OffscreenCanvasSurfaceImpl
18 : public blink::mojom::OffscreenCanvasSurface { 18 : public blink::mojom::OffscreenCanvasSurface {
19 public: 19 public:
20 OffscreenCanvasSurfaceImpl(const cc::FrameSinkId& parent_frame_sink_id, 20 OffscreenCanvasSurfaceImpl(const cc::FrameSinkId& parent_frame_sink_id,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const cc::FrameSinkId frame_sink_id_; 52 const cc::FrameSinkId frame_sink_id_;
53 cc::LocalSurfaceId current_local_surface_id_; 53 cc::LocalSurfaceId current_local_surface_id_;
54 const cc::FrameSinkId parent_frame_sink_id_; 54 const cc::FrameSinkId parent_frame_sink_id_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(OffscreenCanvasSurfaceImpl); 56 DISALLOW_COPY_AND_ASSIGN(OffscreenCanvasSurfaceImpl);
57 }; 57 };
58 58
59 } // namespace content 59 } // namespace content
60 60
61 #endif // CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_IMPL_H_ 61 #endif // CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698