Index: Source/web/WebPluginScrollbarImpl.h |
diff --git a/Source/web/WebPluginScrollbarImpl.h b/Source/web/WebPluginScrollbarImpl.h |
index 6c6da990165695ffc4b1dcf9d8a5b691c17d2e34..c6de820fa244e0696eecbe7e91dad467f646b021 100644 |
--- a/Source/web/WebPluginScrollbarImpl.h |
+++ b/Source/web/WebPluginScrollbarImpl.h |
@@ -37,7 +37,7 @@ class IntRect; |
class Scrollbar; |
class ScrollbarGroup; |
-class WebPluginScrollbarImpl FINAL : public WebPluginScrollbar { |
+class WebPluginScrollbarImpl final : public WebPluginScrollbar { |
public: |
WebPluginScrollbarImpl(Orientation, ScrollbarGroup*, WebPluginScrollbarClient*); |
virtual ~WebPluginScrollbarImpl(); |
@@ -53,33 +53,33 @@ public: |
Scrollbar* scrollbar() { return m_scrollbar.get(); } |
// WebScrollbar methods |
- virtual bool isOverlay() const OVERRIDE; |
- virtual int value() const OVERRIDE; |
- virtual WebPoint location() const OVERRIDE; |
- virtual WebSize size() const OVERRIDE; |
- virtual bool enabled() const OVERRIDE; |
- virtual int maximum() const OVERRIDE; |
- virtual int totalSize() const OVERRIDE; |
- virtual bool isScrollViewScrollbar() const OVERRIDE; |
- virtual bool isScrollableAreaActive() const OVERRIDE; |
- virtual void getTickmarks(WebVector<WebRect>& tickmarks) const OVERRIDE; |
- virtual WebScrollbar::ScrollbarControlSize controlSize() const OVERRIDE; |
- virtual WebScrollbar::ScrollbarPart pressedPart() const OVERRIDE; |
- virtual WebScrollbar::ScrollbarPart hoveredPart() const OVERRIDE; |
- virtual WebScrollbar::ScrollbarOverlayStyle scrollbarOverlayStyle() const OVERRIDE; |
- virtual WebScrollbar::Orientation orientation() const OVERRIDE; |
- virtual bool isLeftSideVerticalScrollbar() const OVERRIDE; |
- virtual bool isCustomScrollbar() const OVERRIDE; |
+ virtual bool isOverlay() const override; |
+ virtual int value() const override; |
+ virtual WebPoint location() const override; |
+ virtual WebSize size() const override; |
+ virtual bool enabled() const override; |
+ virtual int maximum() const override; |
+ virtual int totalSize() const override; |
+ virtual bool isScrollViewScrollbar() const override; |
+ virtual bool isScrollableAreaActive() const override; |
+ virtual void getTickmarks(WebVector<WebRect>& tickmarks) const override; |
+ virtual WebScrollbar::ScrollbarControlSize controlSize() const override; |
+ virtual WebScrollbar::ScrollbarPart pressedPart() const override; |
+ virtual WebScrollbar::ScrollbarPart hoveredPart() const override; |
+ virtual WebScrollbar::ScrollbarOverlayStyle scrollbarOverlayStyle() const override; |
+ virtual WebScrollbar::Orientation orientation() const override; |
+ virtual bool isLeftSideVerticalScrollbar() const override; |
+ virtual bool isCustomScrollbar() const override; |
// WebPluginScrollbar methods |
- virtual void setLocation(const WebRect&) OVERRIDE; |
- virtual void setValue(int position) OVERRIDE; |
- virtual void setDocumentSize(int) OVERRIDE; |
- virtual void scroll(ScrollDirection, ScrollGranularity, float multiplier) OVERRIDE; |
- virtual void paint(WebCanvas*, const WebRect&) OVERRIDE; |
- virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; |
- virtual bool isAlphaLocked() const OVERRIDE; |
- virtual void setIsAlphaLocked(bool) OVERRIDE; |
+ virtual void setLocation(const WebRect&) override; |
+ virtual void setValue(int position) override; |
+ virtual void setDocumentSize(int) override; |
+ virtual void scroll(ScrollDirection, ScrollGranularity, float multiplier) override; |
+ virtual void paint(WebCanvas*, const WebRect&) override; |
+ virtual bool handleInputEvent(const WebInputEvent&) override; |
+ virtual bool isAlphaLocked() const override; |
+ virtual void setIsAlphaLocked(bool) override; |
private: |
bool onMouseDown(const WebInputEvent&); |