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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual void SetFrameRect(const IntRect&) = 0; | 47 virtual void SetFrameRect(const IntRect&) = 0; |
48 virtual IntRect FrameRect() const = 0; | 48 virtual IntRect FrameRect() const = 0; |
49 | 49 |
50 virtual void Invalidate() = 0; | 50 virtual void Invalidate() = 0; |
51 virtual void InvalidateRect(const IntRect&) = 0; | 51 virtual void InvalidateRect(const IntRect&) = 0; |
52 | 52 |
53 virtual ScrollbarOverlayColorTheme GetScrollbarOverlayColorTheme() const = 0; | 53 virtual ScrollbarOverlayColorTheme GetScrollbarOverlayColorTheme() const = 0; |
54 virtual void GetTickmarks(Vector<IntRect>&) const = 0; | 54 virtual void GetTickmarks(Vector<IntRect>&) const = 0; |
55 virtual bool IsScrollableAreaActive() const = 0; | 55 virtual bool IsScrollableAreaActive() const = 0; |
56 | 56 |
57 virtual IntPoint ConvertFromRootFrame( | 57 virtual IntPoint ConvertFromRootFrame(const IntPoint&) const = 0; |
58 const IntPoint& point_in_root_frame) const = 0; | |
59 | 58 |
60 virtual bool IsCustomScrollbar() const = 0; | 59 virtual bool IsCustomScrollbar() const = 0; |
61 virtual ScrollbarOrientation Orientation() const = 0; | 60 virtual ScrollbarOrientation Orientation() const = 0; |
62 virtual bool IsLeftSideVerticalScrollbar() const = 0; | 61 virtual bool IsLeftSideVerticalScrollbar() const = 0; |
63 | 62 |
64 virtual int Value() const = 0; | 63 virtual int Value() const = 0; |
65 virtual float CurrentPos() const = 0; | 64 virtual float CurrentPos() const = 0; |
66 virtual int VisibleSize() const = 0; | 65 virtual int VisibleSize() const = 0; |
67 virtual int TotalSize() const = 0; | 66 virtual int TotalSize() const = 0; |
68 virtual int Maximum() const = 0; | 67 virtual int Maximum() const = 0; |
(...skipping 13 matching lines...) Expand all Loading... |
82 virtual float ElasticOverscroll() const = 0; | 81 virtual float ElasticOverscroll() const = 0; |
83 virtual void SetElasticOverscroll(float) = 0; | 82 virtual void SetElasticOverscroll(float) = 0; |
84 | 83 |
85 protected: | 84 protected: |
86 virtual ~ScrollbarThemeClient() {} | 85 virtual ~ScrollbarThemeClient() {} |
87 }; | 86 }; |
88 | 87 |
89 } // namespace blink | 88 } // namespace blink |
90 | 89 |
91 #endif // ScollbarThemeClient_h | 90 #endif // ScollbarThemeClient_h |
OLD | NEW |