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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 1951013003: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's smart pointer fix 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "cc/input/top_controls_state.h" 14 #include "cc/input/top_controls_state.h"
15 #include "cc/output/managed_memory_policy.h" 15 #include "cc/output/managed_memory_policy.h"
16 #include "cc/output/swap_promise.h" 16 #include "cc/output/swap_promise.h"
17 #include "cc/trees/layer_tree_host_client.h" 17 #include "cc/trees/layer_tree_host_client.h"
18 #include "cc/trees/layer_tree_host_single_thread_client.h" 18 #include "cc/trees/layer_tree_host_single_thread_client.h"
19 #include "cc/trees/layer_tree_settings.h" 19 #include "cc/trees/layer_tree_settings.h"
20 #include "cc/trees/remote_proto_channel.h" 20 #include "cc/trees/remote_proto_channel.h"
21 #include "cc/trees/swap_promise_monitor.h" 21 #include "cc/trees/swap_promise_monitor.h"
22 #include "content/common/content_export.h" 22 #include "content/common/content_export.h"
23 #include "content/renderer/gpu/compositor_dependencies.h" 23 #include "content/renderer/gpu/compositor_dependencies.h"
24 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" 24 #include "third_party/WebKit/public/platform/WebLayerTreeView.h"
25 #include "third_party/skia/include/core/SkBitmap.h"
26 #include "ui/gfx/geometry/rect.h" 25 #include "ui/gfx/geometry/rect.h"
27 26
28 namespace ui { 27 namespace ui {
29 class LatencyInfo; 28 class LatencyInfo;
30 } 29 }
31 30
32 namespace cc { 31 namespace cc {
33 class CopyOutputRequest; 32 class CopyOutputRequest;
34 class InputHandler; 33 class InputHandler;
35 class Layer; 34 class Layer;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 215 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
217 216
218 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
219 218
220 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
221 }; 220 };
222 221
223 } // namespace content 222 } // namespace content
224 223
225 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 224 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/renderer/media/canvas_capture_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698