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

Unified Diff: Source/core/rendering/RenderSliderThumb.h

Issue 403523003: Move Shadow DOM renderers into rendering/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 years, 5 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 | « Source/core/rendering/RenderSliderContainer.cpp ('k') | Source/core/rendering/RenderSliderThumb.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/rendering/RenderSliderContainer.cpp ('k') | Source/core/rendering/RenderSliderThumb.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698