engine scrollbars actually exist.
* platform/ScrollBar.h:
(WebCore::ScrollBar::hasPlatformScrollBars):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15997
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-23 David Hyatt <hyatt@apple.com>
+
+ Remove the ifdef for platform scrollbars vs. engine scrollbars until
+ engine scrollbars actually exist.
+
+ * platform/ScrollBar.h:
+ (WebCore::ScrollBar::hasPlatformScrollBars):
+
2006-08-23 Justin Garcia <justin.garcia@apple.com>
Reviewed by harrison
virtual void paint(GraphicsContext*, const IntRect& damageRect) = 0;
static bool hasPlatformScrollBars() {
- // To use the platform's built-in scrollbars by default add to this ifdef.
-#if PLATFORM(MAC)
+ // To use the platform's built-in scrollbars by default, return true. We may
+ // support styled engine scrollbars someday, and some platforms may wish to not
+ // implement a platform scrollbar at all by default. That's what this method is for.
return true;
-#else
- return false; // The engine will create scrollbars (so the RenderTheme will need to support scrollbar painting).
-#endif
}
protected: