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

Unified Diff: sky/viewer/cc/web_scroll_offset_animation_curve_impl.h

Issue 720713003: Remove WebScroll* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/viewer/cc/web_scroll_offset_animation_curve_impl.h
diff --git a/sky/viewer/cc/web_scroll_offset_animation_curve_impl.h b/sky/viewer/cc/web_scroll_offset_animation_curve_impl.h
deleted file mode 100644
index 2765d8cacf52883f393e3bbfc177dcaed1c80888..0000000000000000000000000000000000000000
--- a/sky/viewer/cc/web_scroll_offset_animation_curve_impl.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKY_VIEWER_CC_WEB_SCROLL_OFFSET_ANIMATION_CURVE_IMPL_H_
-#define SKY_VIEWER_CC_WEB_SCROLL_OFFSET_ANIMATION_CURVE_IMPL_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "sky/viewer/cc/sky_viewer_cc_export.h"
-#include "sky/engine/public/platform/WebScrollOffsetAnimationCurve.h"
-
-namespace cc {
-class AnimationCurve;
-class ScrollOffsetAnimationCurve;
-}
-
-namespace sky_viewer_cc {
-
-class WebScrollOffsetAnimationCurveImpl
- : public blink::WebScrollOffsetAnimationCurve {
- public:
- SKY_VIEWER_CC_EXPORT WebScrollOffsetAnimationCurveImpl(
- blink::WebFloatPoint target_value,
- TimingFunctionType timing_function);
- virtual ~WebScrollOffsetAnimationCurveImpl();
-
- // blink::WebCompositorAnimationCurve implementation.
- virtual AnimationCurveType type() const;
-
- // blink::WebScrollOffsetAnimationCurve implementation.
- virtual void setInitialValue(blink::WebFloatPoint initial_value);
- virtual blink::WebFloatPoint getValue(double time) const;
- virtual double duration() const;
-
- scoped_ptr<cc::AnimationCurve> CloneToAnimationCurve() const;
-
- private:
- scoped_ptr<cc::ScrollOffsetAnimationCurve> curve_;
-
- DISALLOW_COPY_AND_ASSIGN(WebScrollOffsetAnimationCurveImpl);
-};
-
-} // namespace sky_viewer_cc
-
-#endif // SKY_VIEWER_CC_WEB_SCROLL_OFFSET_ANIMATION_CURVE_IMPL_H_
« no previous file with comments | « sky/viewer/cc/web_compositor_support_impl.cc ('k') | sky/viewer/cc/web_scroll_offset_animation_curve_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698