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 int width() const override; | 52 int width() const override; |
53 int height() const override; | 53 int height() const override; |
54 IntSize size() const override; | 54 IntSize size() const override; |
55 IntPoint location() const override; | 55 IntPoint location() const override; |
56 Widget* parent() const override; | 56 Widget* parent() const override; |
57 Widget* root() const override; | 57 Widget* root() const override; |
58 void setFrameRect(const IntRect&) override; | 58 void setFrameRect(const IntRect&) override; |
59 IntRect frameRect() const override; | 59 IntRect frameRect() const override; |
60 void invalidate() override; | 60 void invalidate() override; |
61 void invalidateRect(const IntRect&) override; | 61 void invalidateRect(const IntRect&) override; |
62 ScrollbarOverlayStyle getScrollbarOverlayStyle() const override; | 62 ScrollbarOverlayColorTheme getScrollbarOverlayColorTheme() const override; |
63 void getTickmarks(Vector<IntRect>&) const override; | 63 void getTickmarks(Vector<IntRect>&) const override; |
64 bool isScrollableAreaActive() const override; | 64 bool isScrollableAreaActive() const override; |
65 IntPoint convertFromRootFrame(const IntPoint&) const override; | 65 IntPoint convertFromRootFrame(const IntPoint&) const override; |
66 bool isCustomScrollbar() const override; | 66 bool isCustomScrollbar() const override; |
67 ScrollbarOrientation orientation() const override; | 67 ScrollbarOrientation orientation() const override; |
68 bool isLeftSideVerticalScrollbar() const override; | 68 bool isLeftSideVerticalScrollbar() const override; |
69 int value() const override; | 69 int value() const override; |
70 float currentPos() const override; | 70 float currentPos() const override; |
71 int visibleSize() const override; | 71 int visibleSize() const override; |
72 int totalSize() const override; | 72 int totalSize() const override; |
73 int maximum() const override; | 73 int maximum() const override; |
74 ScrollbarControlSize controlSize() const override; | 74 ScrollbarControlSize controlSize() const override; |
75 ScrollbarPart pressedPart() const override; | 75 ScrollbarPart pressedPart() const override; |
76 ScrollbarPart hoveredPart() const override; | 76 ScrollbarPart hoveredPart() const override; |
77 void styleChanged() override; | 77 void styleChanged() override; |
78 void visibilityChanged() override; | 78 void visibilityChanged() override; |
79 bool enabled() const override; | 79 bool enabled() const override; |
80 void setEnabled(bool) override; | 80 void setEnabled(bool) override; |
81 bool isOverlayScrollbar() const override; | 81 bool isOverlayScrollbar() const override; |
82 float elasticOverscroll() const override; | 82 float elasticOverscroll() const override; |
83 void setElasticOverscroll(float) override; | 83 void setElasticOverscroll(float) override; |
84 | 84 |
85 private: | 85 private: |
86 WebScrollbar& m_scrollbar; | 86 WebScrollbar& m_scrollbar; |
87 }; | 87 }; |
88 | 88 |
89 } // namespace blink | 89 } // namespace blink |
90 | 90 |
91 #endif // WebScrollbarThemeClientImpl_h | 91 #endif // WebScrollbarThemeClientImpl_h |
OLD | NEW |