OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 virtual void setFrameRect(const IntRect&) = 0; | 53 virtual void setFrameRect(const IntRect&) = 0; |
54 virtual IntRect frameRect() const = 0; | 54 virtual IntRect frameRect() const = 0; |
55 | 55 |
56 virtual void invalidate() = 0; | 56 virtual void invalidate() = 0; |
57 virtual void invalidateRect(const IntRect&) = 0; | 57 virtual void invalidateRect(const IntRect&) = 0; |
58 | 58 |
59 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const = 0; | 59 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const = 0; |
60 virtual void getTickmarks(Vector<IntRect>&) const = 0; | 60 virtual void getTickmarks(Vector<IntRect>&) const = 0; |
61 virtual bool isScrollableAreaActive() const = 0; | 61 virtual bool isScrollableAreaActive() const = 0; |
62 virtual bool isScrollViewScrollbar() const = 0; | |
63 | 62 |
64 virtual IntPoint convertFromContainingWindow(const IntPoint& windowPoint) =
0; | 63 virtual IntPoint convertFromContainingWindow(const IntPoint& windowPoint) =
0; |
65 | 64 |
66 virtual bool isCustomScrollbar() const = 0; | 65 virtual bool isCustomScrollbar() const = 0; |
67 virtual ScrollbarOrientation orientation() const = 0; | 66 virtual ScrollbarOrientation orientation() const = 0; |
68 virtual bool isLeftSideVerticalScrollbar() const = 0; | 67 virtual bool isLeftSideVerticalScrollbar() const = 0; |
69 | 68 |
70 virtual int value() const = 0; | 69 virtual int value() const = 0; |
71 virtual float currentPos() const = 0; | 70 virtual float currentPos() const = 0; |
72 virtual int visibleSize() const = 0; | 71 virtual int visibleSize() const = 0; |
(...skipping 14 matching lines...) Expand all Loading... |
87 virtual bool isAlphaLocked() const = 0; | 86 virtual bool isAlphaLocked() const = 0; |
88 virtual void setIsAlphaLocked(bool) = 0; | 87 virtual void setIsAlphaLocked(bool) = 0; |
89 | 88 |
90 protected: | 89 protected: |
91 virtual ~ScrollbarThemeClient() { } | 90 virtual ~ScrollbarThemeClient() { } |
92 }; | 91 }; |
93 | 92 |
94 } // namespace blink | 93 } // namespace blink |
95 | 94 |
96 #endif // ScollbarThemeClient_h | 95 #endif // ScollbarThemeClient_h |
OLD | NEW |