Chromium Code Reviews| Index: Source/web/mac/WebScrollbarTheme.cpp |
| diff --git a/Source/web/WebCustomElement.cpp b/Source/web/mac/WebScrollbarTheme.cpp |
| similarity index 81% |
| copy from Source/web/WebCustomElement.cpp |
| copy to Source/web/mac/WebScrollbarTheme.cpp |
| index f34222e06d6618038524382490e65e9d7e6fa746..d242f31c6ac2ca81986f149a14f60d427f0a31a0 100644 |
| --- a/Source/web/WebCustomElement.cpp |
| +++ b/Source/web/mac/WebScrollbarTheme.cpp |
| @@ -29,20 +29,20 @@ |
| */ |
| #include "config.h" |
| -#include "WebCustomElement.h" |
| +#include "WebScrollbarTheme.h" |
| -#include "../platform/WebString.h" |
| -#include "RuntimeEnabledFeatures.h" |
| -#include "core/dom/custom/CustomElement.h" |
| +#include "core/platform/ScrollbarThemeMacCommon.h" |
| using namespace WebCore; |
| namespace WebKit { |
| -void WebCustomElement::addEmbedderCustomElementName(const WebString& name) |
| +void WebScrollbarTheme::updateScrollbars( |
| + float initialButtonDelay, float autoscrollButtonDelay, |
| + bool jumpOnTrackClick, bool redraw) |
| { |
| - ASSERT(RuntimeEnabledFeatures::embedderCustomElementsEnabled()); |
| - CustomElement::addEmbedderCustomElementName(name); |
| + static_cast<ScrollbarThemeMacCommon*>(ScrollbarTheme::theme())->preferencesChanged( |
|
abarth-chromium
2013/11/04 00:43:24
Is there some way to DCHECK that this case is vali
Avi (use Gerrit)
2013/11/04 01:40:24
I suppose that's a good point. I'm not sure what t
Avi (use Gerrit)
2013/11/04 16:25:46
Ooooh. Did you mean if this CAST is valid? Does th
|
| + initialButtonDelay, autoscrollButtonDelay, jumpOnTrackClick, redraw); |
| } |
| } // namespace WebKit |