| Index: Source/core/rendering/RenderSliderThumb.h
|
| diff --git a/Source/core/dom/StringCallback.h b/Source/core/rendering/RenderSliderThumb.h
|
| similarity index 76%
|
| copy from Source/core/dom/StringCallback.h
|
| copy to Source/core/rendering/RenderSliderThumb.h
|
| index 29324509d6cf43520d0e1ea599ab01f077d8810b..e4e7cf65e28e05d464cb258637deb953d7a48bba 100644
|
| --- a/Source/core/dom/StringCallback.h
|
| +++ b/Source/core/rendering/RenderSliderThumb.h
|
| @@ -1,4 +1,5 @@
|
| /*
|
| + * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
|
| * Copyright (C) 2010 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| @@ -28,24 +29,25 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef StringCallback_h
|
| -#define StringCallback_h
|
| +#ifndef RenderSliderThumb_h
|
| +#define RenderSliderThumb_h
|
|
|
| -#include "wtf/Forward.h"
|
| +#include "core/html/shadow/SliderThumbElement.h"
|
| +#include "core/rendering/RenderBlockFlow.h"
|
|
|
| namespace WebCore {
|
|
|
| -class ExecutionContext;
|
| +class SliderThumbElement;
|
|
|
| -class StringCallback {
|
| +class RenderSliderThumb FINAL : public RenderBlockFlow {
|
| public:
|
| - virtual ~StringCallback() { }
|
| - virtual void handleEvent(const String& data) = 0;
|
| + RenderSliderThumb(SliderThumbElement*);
|
| + void updateAppearance(RenderStyle* parentStyle);
|
|
|
| - // Helper to post callback task.
|
| - static void scheduleCallback(PassOwnPtr<StringCallback>, ExecutionContext*, const String& data, const String& instrumentationName);
|
| +private:
|
| + virtual bool isSliderThumb() const OVERRIDE;
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // StringCallback_h
|
| +#endif // RenderSliderThumb_h
|
|
|