| 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #include "WebPoint.h" | 28 #include "WebPoint.h" |
| 29 #include "WebRect.h" | 29 #include "WebRect.h" |
| 30 #include "WebSize.h" | 30 #include "WebSize.h" |
| 31 #include "WebVector.h" | 31 #include "WebVector.h" |
| 32 #if INSIDE_BLINK | 32 #if INSIDE_BLINK |
| 33 #include "wtf/PassOwnPtr.h" | 33 #include "wtf/PassOwnPtr.h" |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 class Scrollbar; | |
| 38 } | |
| 39 | |
| 40 namespace blink { | |
| 41 | 37 |
| 42 // A const accessor interface for a WebKit scrollbar | 38 // A const accessor interface for a WebKit scrollbar |
| 43 class BLINK_PLATFORM_EXPORT WebScrollbar { | 39 class BLINK_PLATFORM_EXPORT WebScrollbar { |
| 44 public: | 40 public: |
| 45 enum Orientation { | 41 enum Orientation { |
| 46 Horizontal, | 42 Horizontal, |
| 47 Vertical | 43 Vertical |
| 48 }; | 44 }; |
| 49 | 45 |
| 50 enum ScrollDirection { | 46 enum ScrollDirection { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 virtual bool isCustomScrollbar() const = 0; | 103 virtual bool isCustomScrollbar() const = 0; |
| 108 virtual Orientation orientation() const = 0; | 104 virtual Orientation orientation() const = 0; |
| 109 virtual bool isLeftSideVerticalScrollbar() const = 0; | 105 virtual bool isLeftSideVerticalScrollbar() const = 0; |
| 110 virtual bool isAlphaLocked() const { return false; } | 106 virtual bool isAlphaLocked() const { return false; } |
| 111 virtual void setIsAlphaLocked(bool) { } | 107 virtual void setIsAlphaLocked(bool) { } |
| 112 }; | 108 }; |
| 113 | 109 |
| 114 } // namespace blink | 110 } // namespace blink |
| 115 | 111 |
| 116 #endif | 112 #endif |
| OLD | NEW |