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

Unified Diff: public/platform/mac/WebThemeEngine.h

Issue 154733004: Switch to a single merged version of WebThemeEngine.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: reorder the State enums to not break the mock theme Created 6 years, 10 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 | « public/platform/mac/DEPS ('k') | public/platform/win/WebThemeEngine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « public/platform/mac/DEPS ('k') | public/platform/win/WebThemeEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698