Index: ui/views/controls/scroll_view.h |
diff --git a/ui/views/controls/scroll_view.h b/ui/views/controls/scroll_view.h |
index 4dfcdfc19b91d300b94f2305e636ceb47403cf66..c90005b3a4706bf488d0d7090d0fb347e9fc9d8b 100644 |
--- a/ui/views/controls/scroll_view.h |
+++ b/ui/views/controls/scroll_view.h |
@@ -32,7 +32,7 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController { |
ScrollView(); |
- virtual ~ScrollView(); |
+ ~ScrollView() override; |
// Creates a ScrollView with a theme specific border. |
static ScrollView* CreateScrollViewWithBorder(); |
@@ -75,21 +75,21 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController { |
void SetVerticalScrollBar(ScrollBar* vert_sb); |
// View overrides: |
- virtual gfx::Size GetPreferredSize() const override; |
- virtual int GetHeightForWidth(int width) const override; |
- virtual void Layout() override; |
- virtual bool OnKeyPressed(const ui::KeyEvent& event) override; |
- virtual bool OnMouseWheel(const ui::MouseWheelEvent& e) override; |
- virtual void OnMouseEntered(const ui::MouseEvent& event) override; |
- virtual void OnMouseExited(const ui::MouseEvent& event) override; |
- virtual void OnGestureEvent(ui::GestureEvent* event) override; |
- virtual const char* GetClassName() const override; |
+ gfx::Size GetPreferredSize() const override; |
+ int GetHeightForWidth(int width) const override; |
+ void Layout() override; |
+ bool OnKeyPressed(const ui::KeyEvent& event) override; |
+ bool OnMouseWheel(const ui::MouseWheelEvent& e) override; |
+ void OnMouseEntered(const ui::MouseEvent& event) override; |
+ void OnMouseExited(const ui::MouseEvent& event) override; |
+ void OnGestureEvent(ui::GestureEvent* event) override; |
+ const char* GetClassName() const override; |
// ScrollBarController overrides: |
- virtual void ScrollToPosition(ScrollBar* source, int position) override; |
- virtual int GetScrollIncrement(ScrollBar* source, |
- bool is_page, |
- bool is_positive) override; |
+ void ScrollToPosition(ScrollBar* source, int position) override; |
+ int GetScrollIncrement(ScrollBar* source, |
+ bool is_page, |
+ bool is_positive) override; |
private: |
FRIEND_TEST_ALL_PREFIXES(ScrollViewTest, CornerViewVisibility); |
@@ -211,7 +211,7 @@ class FixedRowHeightScrollHelper : public VariableRowHeightScrollHelper { |
protected: |
// Calculates the bounds of the row from the top margin and row height. |
- virtual RowInfo GetRowInfo(int y) override; |
+ RowInfo GetRowInfo(int y) override; |
private: |
int top_margin_; |