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

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

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 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 (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"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void SetSurfaceIdNamespace(uint32_t surface_id_namespace); 92 void SetSurfaceIdNamespace(uint32_t surface_id_namespace);
93 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 93 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
94 cc::ManagedMemoryPolicy GetGpuMemoryPolicy( 94 cc::ManagedMemoryPolicy GetGpuMemoryPolicy(
95 const cc::ManagedMemoryPolicy& policy); 95 const cc::ManagedMemoryPolicy& policy);
96 void SetPaintedDeviceScaleFactor(float device_scale); 96 void SetPaintedDeviceScaleFactor(float device_scale);
97 97
98 // WebLayerTreeView implementation. 98 // WebLayerTreeView implementation.
99 void setRootLayer(const blink::WebLayer& layer) override; 99 void setRootLayer(const blink::WebLayer& layer) override;
100 void clearRootLayer() override; 100 void clearRootLayer() override;
101 void attachCompositorAnimationTimeline( 101 void attachCompositorAnimationTimeline(
102 blink::WebCompositorAnimationTimeline* compositor_timeline) override; 102 cc::AnimationTimeline* compositor_timeline) override;
103 void detachCompositorAnimationTimeline( 103 void detachCompositorAnimationTimeline(
104 blink::WebCompositorAnimationTimeline* compositor_timeline) override; 104 cc::AnimationTimeline* compositor_timeline) override;
105 void setViewportSize(const blink::WebSize& device_viewport_size) override; 105 void setViewportSize(const blink::WebSize& device_viewport_size) override;
106 virtual blink::WebFloatPoint adjustEventPointForPinchZoom( 106 virtual blink::WebFloatPoint adjustEventPointForPinchZoom(
107 const blink::WebFloatPoint& point) const; 107 const blink::WebFloatPoint& point) const;
108 void setDeviceScaleFactor(float device_scale) override; 108 void setDeviceScaleFactor(float device_scale) override;
109 void setBackgroundColor(blink::WebColor color) override; 109 void setBackgroundColor(blink::WebColor color) override;
110 void setHasTransparentBackground(bool transparent) override; 110 void setHasTransparentBackground(bool transparent) override;
111 void setVisible(bool visible) override; 111 void setVisible(bool visible) override;
112 void setPageScaleFactorAndLimits(float page_scale_factor, 112 void setPageScaleFactorAndLimits(float page_scale_factor,
113 float minimum, 113 float minimum,
114 float maximum) override; 114 float maximum) override;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 215 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
216 216
217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
218 218
219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
220 }; 220 };
221 221
222 } // namespace content 222 } // namespace content
223 223
224 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 224 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/child/assert_matching_enums.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698