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

Unified Diff: cc/blink/web_layer_impl.h

Issue 1739743003: Blink Compositor Animation: Erase old animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude histograms.xml 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/blink/web_image_layer_impl.cc ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.h
diff --git a/cc/blink/web_layer_impl.h b/cc/blink/web_layer_impl.h
index 28da9320e96cacf2e761d12c65e04f20337b4429..79e0bc983445376533f58073aac827190187cebc 100644
--- a/cc/blink/web_layer_impl.h
+++ b/cc/blink/web_layer_impl.h
@@ -39,7 +39,6 @@ class ConvertableToTraceFormat;
}
namespace cc {
-class Animation;
class FilterOperations;
class Layer;
class LayerSettings;
@@ -47,18 +46,12 @@ class LayerSettings;
namespace cc_blink {
-class WebToCCAnimationDelegateAdapter;
-
class WebLayerImpl : public blink::WebLayer {
public:
CC_BLINK_EXPORT WebLayerImpl();
CC_BLINK_EXPORT explicit WebLayerImpl(scoped_refptr<cc::Layer>);
~WebLayerImpl() override;
- CC_BLINK_EXPORT static void SetLayerSettings(
- const cc::LayerSettings& settings);
- CC_BLINK_EXPORT static const cc::LayerSettings& LayerSettings();
-
CC_BLINK_EXPORT cc::Layer* layer() const;
// If set to true, content opaqueness cannot be changed using setOpaque.
@@ -106,13 +99,7 @@ class WebLayerImpl : public blink::WebLayer {
blink::WebColor backgroundColor() const override;
void setFilters(const cc::FilterOperations& filters) override;
void setBackgroundFilters(const cc::FilterOperations& filters) override;
- void setAnimationDelegate(
- blink::WebCompositorAnimationDelegate* delegate) override;
- bool addAnimation(cc::Animation* animation) override;
- void removeAnimation(int animation_id) override;
- void pauseAnimation(int animation_id, double time_offset) override;
- void abortAnimation(int animation_id) override;
- bool hasActiveAnimation() override;
+ bool hasActiveAnimationForTesting() override;
void setForceRenderSurface(bool force) override;
void setScrollPositionDouble(blink::WebDoublePoint position) override;
blink::WebDoublePoint scrollPositionDouble() const override;
@@ -161,8 +148,6 @@ class WebLayerImpl : public blink::WebLayer {
bool contents_opaque_is_fixed_;
private:
- scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
-
DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
};
« no previous file with comments | « cc/blink/web_image_layer_impl.cc ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698