| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 virtual bool isCustomScrollbar() const = 0; | 65 virtual bool isCustomScrollbar() const = 0; |
| 66 virtual ScrollbarOrientation orientation() const = 0; | 66 virtual ScrollbarOrientation orientation() const = 0; |
| 67 | 67 |
| 68 virtual int value() const = 0; | 68 virtual int value() const = 0; |
| 69 virtual float currentPos() const = 0; | 69 virtual float currentPos() const = 0; |
| 70 virtual int visibleSize() const = 0; | 70 virtual int visibleSize() const = 0; |
| 71 virtual int totalSize() const = 0; | 71 virtual int totalSize() const = 0; |
| 72 virtual int maximum() const = 0; | 72 virtual int maximum() const = 0; |
| 73 virtual ScrollbarControlSize controlSize() const = 0; | 73 virtual ScrollbarControlSize controlSize() const = 0; |
| 74 | 74 |
| 75 virtual int lineStep() const = 0; | |
| 76 virtual int pageStep() const = 0; | |
| 77 | |
| 78 virtual ScrollbarPart pressedPart() const = 0; | 75 virtual ScrollbarPart pressedPart() const = 0; |
| 79 virtual ScrollbarPart hoveredPart() const = 0; | 76 virtual ScrollbarPart hoveredPart() const = 0; |
| 80 | 77 |
| 81 virtual void styleChanged() = 0; | 78 virtual void styleChanged() = 0; |
| 82 | 79 |
| 83 virtual bool enabled() const = 0; | 80 virtual bool enabled() const = 0; |
| 84 virtual void setEnabled(bool) = 0; | 81 virtual void setEnabled(bool) = 0; |
| 85 | 82 |
| 86 virtual bool isOverlayScrollbar() const = 0; | 83 virtual bool isOverlayScrollbar() const = 0; |
| 87 | 84 |
| 88 virtual bool isAlphaLocked() const = 0; | 85 virtual bool isAlphaLocked() const = 0; |
| 89 virtual void setIsAlphaLocked(bool) = 0; | 86 virtual void setIsAlphaLocked(bool) = 0; |
| 90 | 87 |
| 91 protected: | 88 protected: |
| 92 virtual ~ScrollbarThemeClient() { } | 89 virtual ~ScrollbarThemeClient() { } |
| 93 }; | 90 }; |
| 94 | 91 |
| 95 } // namespace WebCore | 92 } // namespace WebCore |
| 96 | 93 |
| 97 #endif // ScollbarThemeClient_h | 94 #endif // ScollbarThemeClient_h |
| OLD | NEW |