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

Side by Side Diff: cc/blink/web_layer_impl.h

Issue 1637083004: CC Animation: Remove meaningless method from WebLayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/animation/layer_animation_controller.cc ('k') | cc/blink/web_layer_impl.cc » ('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 CC_BLINK_WEB_LAYER_IMPL_H_ 5 #ifndef CC_BLINK_WEB_LAYER_IMPL_H_
6 #define CC_BLINK_WEB_LAYER_IMPL_H_ 6 #define CC_BLINK_WEB_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "cc/blink/cc_blink_export.h" 17 #include "cc/blink/cc_blink_export.h"
18 #include "cc/layers/layer_client.h" 18 #include "cc/layers/layer_client.h"
19 #include "third_party/WebKit/public/platform/WebCString.h" 19 #include "third_party/WebKit/public/platform/WebCString.h"
20 #include "third_party/WebKit/public/platform/WebColor.h" 20 #include "third_party/WebKit/public/platform/WebColor.h"
21 #include "third_party/WebKit/public/platform/WebCompositorAnimation.h"
22 #include "third_party/WebKit/public/platform/WebDoublePoint.h" 21 #include "third_party/WebKit/public/platform/WebDoublePoint.h"
23 #include "third_party/WebKit/public/platform/WebFloatPoint.h" 22 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
24 #include "third_party/WebKit/public/platform/WebLayer.h" 23 #include "third_party/WebKit/public/platform/WebLayer.h"
25 #include "third_party/WebKit/public/platform/WebPoint.h" 24 #include "third_party/WebKit/public/platform/WebPoint.h"
26 #include "third_party/WebKit/public/platform/WebRect.h" 25 #include "third_party/WebKit/public/platform/WebRect.h"
27 #include "third_party/WebKit/public/platform/WebSize.h" 26 #include "third_party/WebKit/public/platform/WebSize.h"
28 #include "third_party/WebKit/public/platform/WebString.h" 27 #include "third_party/WebKit/public/platform/WebString.h"
29 #include "third_party/WebKit/public/platform/WebVector.h" 28 #include "third_party/WebKit/public/platform/WebVector.h"
30 #include "third_party/skia/include/utils/SkMatrix44.h" 29 #include "third_party/skia/include/utils/SkMatrix44.h"
31 30
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void setRenderingContext(int context) override; 102 void setRenderingContext(int context) override;
104 void setUseParentBackfaceVisibility(bool visible) override; 103 void setUseParentBackfaceVisibility(bool visible) override;
105 void setBackgroundColor(blink::WebColor color) override; 104 void setBackgroundColor(blink::WebColor color) override;
106 blink::WebColor backgroundColor() const override; 105 blink::WebColor backgroundColor() const override;
107 void setFilters(const blink::WebFilterOperations& filters) override; 106 void setFilters(const blink::WebFilterOperations& filters) override;
108 void setBackgroundFilters(const blink::WebFilterOperations& filters) override; 107 void setBackgroundFilters(const blink::WebFilterOperations& filters) override;
109 void setAnimationDelegate( 108 void setAnimationDelegate(
110 blink::WebCompositorAnimationDelegate* delegate) override; 109 blink::WebCompositorAnimationDelegate* delegate) override;
111 bool addAnimation(blink::WebCompositorAnimation* animation) override; 110 bool addAnimation(blink::WebCompositorAnimation* animation) override;
112 void removeAnimation(int animation_id) override; 111 void removeAnimation(int animation_id) override;
113 void removeAnimation(int animation_id,
114 blink::WebCompositorAnimation::TargetProperty) override;
115 void pauseAnimation(int animation_id, double time_offset) override; 112 void pauseAnimation(int animation_id, double time_offset) override;
116 void abortAnimation(int animation_id) override; 113 void abortAnimation(int animation_id) override;
117 bool hasActiveAnimation() override; 114 bool hasActiveAnimation() override;
118 void setForceRenderSurface(bool force) override; 115 void setForceRenderSurface(bool force) override;
119 void setScrollPositionDouble(blink::WebDoublePoint position) override; 116 void setScrollPositionDouble(blink::WebDoublePoint position) override;
120 blink::WebDoublePoint scrollPositionDouble() const override; 117 blink::WebDoublePoint scrollPositionDouble() const override;
121 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; 118 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override;
122 void setScrollClipLayer(blink::WebLayer* clip_layer) override; 119 void setScrollClipLayer(blink::WebLayer* clip_layer) override;
123 bool scrollable() const override; 120 bool scrollable() const override;
124 void setUserScrollable(bool horizontal, bool vertical) override; 121 void setUserScrollable(bool horizontal, bool vertical) override;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 166
170 private: 167 private:
171 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 168 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
172 169
173 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 170 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
174 }; 171 };
175 172
176 } // namespace cc_blink 173 } // namespace cc_blink
177 174
178 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ 175 #endif // CC_BLINK_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/animation/layer_animation_controller.cc ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698