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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: 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 OffscreenCanvasFrameDispatcherImpl_h 5 #ifndef OffscreenCanvasFrameDispatcherImpl_h
6 #define OffscreenCanvasFrameDispatcherImpl_h 6 #define OffscreenCanvasFrameDispatcherImpl_h
7 7
8 #include <memory>
8 #include "cc/ipc/mojo_compositor_frame_sink.mojom-blink.h" 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom-blink.h"
9 #include "cc/output/begin_frame_args.h" 10 #include "cc/output/begin_frame_args.h"
10 #include "cc/resources/shared_bitmap.h" 11 #include "cc/resources/shared_bitmap.h"
11 #include "cc/surfaces/surface_id.h" 12 #include "cc/surfaces/surface_id.h"
12 #include "cc/surfaces/surface_id_allocator.h" 13 #include "cc/surfaces/surface_id_allocator.h"
13 #include "mojo/public/cpp/bindings/binding.h" 14 #include "mojo/public/cpp/bindings/binding.h"
14 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h" 15 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h"
15 #include "platform/graphics/StaticBitmapImage.h" 16 #include "platform/graphics/StaticBitmapImage.h"
16 #include "wtf/Compiler.h" 17 #include "wtf/Compiler.h"
17 #include <memory>
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final 21 class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final
22 : public OffscreenCanvasFrameDispatcher, 22 : public OffscreenCanvasFrameDispatcher,
23 NON_EXPORTED_BASE( 23 NON_EXPORTED_BASE(
24 public cc::mojom::blink::MojoCompositorFrameSinkClient) { 24 public cc::mojom::blink::MojoCompositorFrameSinkClient) {
25 public: 25 public:
26 OffscreenCanvasFrameDispatcherImpl(OffscreenCanvasFrameDispatcherClient*, 26 OffscreenCanvasFrameDispatcherImpl(OffscreenCanvasFrameDispatcherClient*,
27 uint32_t clientId, 27 uint32_t clientId,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 RefPtr<StaticBitmapImage>); 84 RefPtr<StaticBitmapImage>);
85 void setTransferableResourceToSharedGPUContext(cc::TransferableResource&, 85 void setTransferableResourceToSharedGPUContext(cc::TransferableResource&,
86 RefPtr<StaticBitmapImage>); 86 RefPtr<StaticBitmapImage>);
87 void setTransferableResourceToStaticBitmapImage(cc::TransferableResource&, 87 void setTransferableResourceToStaticBitmapImage(cc::TransferableResource&,
88 RefPtr<StaticBitmapImage>); 88 RefPtr<StaticBitmapImage>);
89 }; 89 };
90 90
91 } // namespace blink 91 } // namespace blink
92 92
93 #endif // OffscreenCanvasFrameDispatcherImpl_h 93 #endif // OffscreenCanvasFrameDispatcherImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698