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

Side by Side Diff: content/renderer/child_frame_compositing_helper.h

Issue 1496103002: Reusing base::IdType<...> to implement SurfaceId. Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-id-base
Patch Set: Created 5 years 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
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/render_frame_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 5 #ifndef CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
14 #include "cc/layers/delegated_frame_resource_collection.h" 14 #include "cc/layers/delegated_frame_resource_collection.h"
15 #include "cc/surfaces/surface_id.h"
15 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
16 #include "ui/gfx/geometry/size.h" 17 #include "ui/gfx/geometry/size.h"
17 18
18 namespace base { 19 namespace base {
19 class SharedMemory; 20 class SharedMemory;
20 } 21 }
21 22
22 namespace cc { 23 namespace cc {
23 struct SurfaceId;
24 struct SurfaceSequence; 24 struct SurfaceSequence;
25 25
26 class CompositorFrame; 26 class CompositorFrame;
27 class Layer; 27 class Layer;
28 class SolidColorLayer; 28 class SolidColorLayer;
29 class SurfaceLayer; 29 class SurfaceLayer;
30 class DelegatedFrameProvider; 30 class DelegatedFrameProvider;
31 class DelegatedFrameResourceCollection; 31 class DelegatedFrameResourceCollection;
32 class DelegatedRendererLayer; 32 class DelegatedRendererLayer;
33 } 33 }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 scoped_ptr<blink::WebLayer> web_layer_; 145 scoped_ptr<blink::WebLayer> web_layer_;
146 blink::WebFrame* frame_; 146 blink::WebFrame* frame_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper); 148 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper);
149 }; 149 };
150 150
151 } // namespace content 151 } // namespace content
152 152
153 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ 153 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.h ('k') | content/renderer/render_frame_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698