annotate modules/web/src/main/native/Source/WebCore/platform/java/ScrollbarThemeJava.h @ 4246:64ece25b039f

RT-31450: Merge with Webkit master (svn revision r150795) win64, scroll fix
author Alexey Utkin <alexey.utkin@oracle.com>
date Tue, 09 Jul 2013 15:40:19 +0400
parents bcd662ba5826
children 94331ac42150
rev   line source
peterz@3550 1 /*
peterz@3550 2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
peterz@3550 3 */
peterz@3550 4
peterz@3550 5 #ifndef ScrollbarThemeJava_h
peterz@3550 6 #define ScrollbarThemeJava_h
peterz@3550 7
peterz@3550 8 #include "JavaEnv.h"
peterz@3550 9 #include "ScrollbarTheme.h"
peterz@3550 10
peterz@3550 11 namespace WebCore {
peterz@3550 12
peterz@3550 13 class ScrollbarThemeJava : public ScrollbarTheme {
peterz@3550 14 public:
alexey@4246 15 virtual bool paint(ScrollbarThemeClient*, GraphicsContext*, const IntRect& /*damageRect*/);
peterz@3550 16
alexey@4246 17 virtual ScrollbarPart hitTest(ScrollbarThemeClient*, const IntPoint&);
peterz@3550 18
peterz@3550 19 virtual void invalidatePart(ScrollbarThemeClient*, ScrollbarPart);
peterz@3550 20
peterz@3550 21 virtual int thumbPosition(ScrollbarThemeClient*);
peterz@3550 22 virtual int thumbLength(ScrollbarThemeClient*);
peterz@3550 23 virtual int trackPosition(ScrollbarThemeClient*);
peterz@3550 24 virtual int trackLength(ScrollbarThemeClient*);
peterz@3550 25
peterz@3550 26 virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar);
peterz@3550 27 };
peterz@3550 28
peterz@3550 29 }
peterz@3550 30 #endif