| 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 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // Implement WebScrollbar methods | 38 // Implement WebScrollbar methods |
| 39 virtual bool isOverlay() const override; | 39 virtual bool isOverlay() const override; |
| 40 virtual int value() const override; | 40 virtual int value() const override; |
| 41 virtual WebPoint location() const override; | 41 virtual WebPoint location() const override; |
| 42 virtual WebSize size() const override; | 42 virtual WebSize size() const override; |
| 43 virtual bool enabled() const override; | 43 virtual bool enabled() const override; |
| 44 virtual int maximum() const override; | 44 virtual int maximum() const override; |
| 45 virtual int totalSize() const override; | 45 virtual int totalSize() const override; |
| 46 virtual bool isScrollableAreaActive() const override; | 46 virtual bool isScrollableAreaActive() const override; |
| 47 virtual void getTickmarks(WebVector<WebRect>& tickmarks) const override; | |
| 48 virtual ScrollbarPart pressedPart() const override; | 47 virtual ScrollbarPart pressedPart() const override; |
| 49 virtual ScrollbarPart hoveredPart() const override; | 48 virtual ScrollbarPart hoveredPart() const override; |
| 50 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const override; | 49 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const override; |
| 51 virtual Orientation orientation() const override; | 50 virtual Orientation orientation() const override; |
| 52 virtual bool isLeftSideVerticalScrollbar() const override; | 51 virtual bool isLeftSideVerticalScrollbar() const override; |
| 53 | 52 |
| 54 private: | 53 private: |
| 55 RefPtr<Scrollbar> m_scrollbar; | 54 RefPtr<Scrollbar> m_scrollbar; |
| 56 }; | 55 }; |
| 57 | 56 |
| 58 } // namespace blink | 57 } // namespace blink |
| 59 | 58 |
| 60 #endif | 59 #endif |
| OLD | NEW |