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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void SetFrameRect(const IntRect&) override; | 56 void SetFrameRect(const IntRect&) override; |
57 IntRect FrameRect() const override; | 57 IntRect FrameRect() const override; |
58 void Invalidate() override; | 58 void Invalidate() override; |
59 void InvalidateRect(const IntRect&) override; | 59 void InvalidateRect(const IntRect&) override; |
60 ScrollbarOverlayColorTheme GetScrollbarOverlayColorTheme() const override; | 60 ScrollbarOverlayColorTheme GetScrollbarOverlayColorTheme() const override; |
61 void GetTickmarks(Vector<IntRect>&) const override; | 61 void GetTickmarks(Vector<IntRect>&) const override; |
62 bool IsScrollableAreaActive() const override; | 62 bool IsScrollableAreaActive() const override; |
63 IntPoint ConvertFromRootFrame(const IntPoint&) const override; | 63 IntPoint ConvertPointFromRootFrame(const IntPoint&) const override; |
64 bool IsCustomScrollbar() const override; | 64 bool IsCustomScrollbar() const override; |
65 ScrollbarOrientation Orientation() const override; | 65 ScrollbarOrientation Orientation() const override; |
66 bool IsLeftSideVerticalScrollbar() const override; | 66 bool IsLeftSideVerticalScrollbar() const override; |
67 int Value() const override; | 67 int Value() const override; |
68 float CurrentPos() const override; | 68 float CurrentPos() const override; |
69 int VisibleSize() const override; | 69 int VisibleSize() const override; |
70 int TotalSize() const override; | 70 int TotalSize() const override; |
71 int Maximum() const override; | 71 int Maximum() const override; |
72 ScrollbarControlSize GetControlSize() const override; | 72 ScrollbarControlSize GetControlSize() const override; |
73 ScrollbarPart PressedPart() const override; | 73 ScrollbarPart PressedPart() const override; |
74 ScrollbarPart HoveredPart() const override; | 74 ScrollbarPart HoveredPart() const override; |
75 void StyleChanged() override; | 75 void StyleChanged() override; |
76 void SetScrollbarsHidden(bool) override; | 76 void SetScrollbarsHidden(bool) override; |
77 bool Enabled() const override; | 77 bool Enabled() const override; |
78 void SetEnabled(bool) override; | 78 void SetEnabled(bool) override; |
79 bool IsOverlayScrollbar() const override; | 79 bool IsOverlayScrollbar() const override; |
80 float ElasticOverscroll() const override; | 80 float ElasticOverscroll() const override; |
81 void SetElasticOverscroll(float) override; | 81 void SetElasticOverscroll(float) override; |
82 | 82 |
83 private: | 83 private: |
84 WebScrollbar& scrollbar_; | 84 WebScrollbar& scrollbar_; |
85 }; | 85 }; |
86 | 86 |
87 } // namespace blink | 87 } // namespace blink |
88 | 88 |
89 #endif // WebScrollbarThemeClientImpl_h | 89 #endif // WebScrollbarThemeClientImpl_h |
OLD | NEW |