| Index: public/platform/WebScrollOffsetAnimationCurve.h
|
| diff --git a/public/web/WebLeakDetector.h b/public/platform/WebScrollOffsetAnimationCurve.h
|
| similarity index 78%
|
| copy from public/web/WebLeakDetector.h
|
| copy to public/platform/WebScrollOffsetAnimationCurve.h
|
| index 652fd3b709b03a39f68f44385f212c792e77ae7c..ee9e1f974df56d31874479762bc062b6a318106f 100644
|
| --- a/public/web/WebLeakDetector.h
|
| +++ b/public/platform/WebScrollOffsetAnimationCurve.h
|
| @@ -28,21 +28,24 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebLeakDetector_h
|
| -#define WebLeakDetector_h
|
| +#ifndef WebScrollOffsetAnimationCurve_h
|
| +#define WebScrollOffsetAnimationCurve_h
|
|
|
| -#include "public/platform/WebCommon.h"
|
| +#include "WebAnimationCurve.h"
|
|
|
| -namespace blink {
|
| +#include "WebFloatPoint.h"
|
|
|
| -class WebFrame;
|
| +namespace blink {
|
|
|
| -class WebLeakDetector {
|
| +class WebScrollOffsetAnimationCurve : public WebAnimationCurve {
|
| public:
|
| - // Cleans up the DOM objects and counts them. This is supposed to be used for detecting DOM-object leaks.
|
| - BLINK_EXPORT static void collectGarbargeAndGetDOMCounts(WebFrame*, unsigned* numberOfLiveDocuments, unsigned* numberOfLiveNodes);
|
| + virtual ~WebScrollOffsetAnimationCurve() { }
|
| +
|
| + virtual void setInitialValue(WebFloatPoint) = 0;
|
| + virtual WebFloatPoint getValue(double time) const = 0;
|
| + virtual double duration() const = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebLeakDetector_h
|
| +#endif // WebScrollOffsetAnimationCurve_h
|
|
|