Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: ash/shelf/overflow_bubble.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/shelf/background_animator.h ('k') | ash/shelf/overflow_bubble_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELF_OVERFLOW_BUBBLE_H_ 5 #ifndef ASH_SHELF_OVERFLOW_BUBBLE_H_
6 #define ASH_SHELF_OVERFLOW_BUBBLE_H_ 6 #define ASH_SHELF_OVERFLOW_BUBBLE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/events/event_handler.h" 10 #include "ui/events/event_handler.h"
(...skipping 29 matching lines...) Expand all
40 void HideBubbleAndRefreshButton(); 40 void HideBubbleAndRefreshButton();
41 41
42 bool IsShowing() const { return !!bubble_; } 42 bool IsShowing() const { return !!bubble_; }
43 ShelfView* shelf_view() { return shelf_view_; } 43 ShelfView* shelf_view() { return shelf_view_; }
44 OverflowBubbleView* bubble_view() { return bubble_; } 44 OverflowBubbleView* bubble_view() { return bubble_; }
45 45
46 private: 46 private:
47 void ProcessPressedEvent(ui::LocatedEvent* event); 47 void ProcessPressedEvent(ui::LocatedEvent* event);
48 48
49 // Overridden from ui::EventHandler: 49 // Overridden from ui::EventHandler:
50 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 50 virtual void OnMouseEvent(ui::MouseEvent* event) override;
51 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 51 virtual void OnTouchEvent(ui::TouchEvent* event) override;
52 52
53 // Overridden from views::WidgetObserver: 53 // Overridden from views::WidgetObserver:
54 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; 54 virtual void OnWidgetDestroying(views::Widget* widget) override;
55 55
56 OverflowBubbleView* bubble_; // Owned by views hierarchy. 56 OverflowBubbleView* bubble_; // Owned by views hierarchy.
57 views::View* anchor_; // Owned by ShelfView. 57 views::View* anchor_; // Owned by ShelfView.
58 ShelfView* shelf_view_; // Owned by |bubble_|. 58 ShelfView* shelf_view_; // Owned by |bubble_|.
59 59
60 DISALLOW_COPY_AND_ASSIGN(OverflowBubble); 60 DISALLOW_COPY_AND_ASSIGN(OverflowBubble);
61 }; 61 };
62 62
63 } // namespace ash 63 } // namespace ash
64 64
65 #endif // ASH_SHELF_OVERFLOW_BUBBLE_H_ 65 #endif // ASH_SHELF_OVERFLOW_BUBBLE_H_
OLDNEW
« no previous file with comments | « ash/shelf/background_animator.h ('k') | ash/shelf/overflow_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698