Index: public/platform/mac/WebThemeEngine.h |
diff --git a/public/platform/mac/WebThemeEngine.h b/public/platform/mac/WebThemeEngine.h |
index 1753c2eddd9879023aedf67e303fd1d96a605583..6a469260c92eed6b6a1fc041a3d23a2e37fc66ec 100644 |
--- a/public/platform/mac/WebThemeEngine.h |
+++ b/public/platform/mac/WebThemeEngine.h |
@@ -28,51 +28,7 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebThemeEngine_h |
-#define WebThemeEngine_h |
+// FIXME: crbug.com/327471. Remove this header after we've updated all the |
+// callers to use platform/WebThemeEngine.h directly. |
-#include "../WebCanvas.h" |
- |
-namespace blink { |
- |
-struct WebRect; |
- |
-class WebThemeEngine { |
-public: |
- enum State { |
- StateDisabled, |
- StateInactive, |
- StateActive, |
- StatePressed, |
- }; |
- |
- enum Size { |
- SizeRegular, |
- SizeSmall, |
- }; |
- |
- enum ScrollbarOrientation { |
- ScrollbarOrientationHorizontal, |
- ScrollbarOrientationVertical, |
- }; |
- |
- enum ScrollbarParent { |
- ScrollbarParentScrollView, |
- ScrollbarParentRenderLayer, |
- }; |
- |
- struct ScrollbarInfo { |
- ScrollbarOrientation orientation; |
- ScrollbarParent parent; |
- int maxValue; |
- int currentValue; |
- int visibleSize; |
- int totalSize; |
- }; |
- |
- virtual void paintScrollbarThumb(WebCanvas*, State, Size, const WebRect&, const ScrollbarInfo&) { } |
-}; |
- |
-} // namespace blink |
- |
-#endif |
+#include "../WebThemeEngine.h" |