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

Side by Side Diff: ui/message_center/views/message_center_bubble.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUBBLE_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUBBLE_H_
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUBBLE_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUBBLE_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "ui/message_center/message_center_export.h" 9 #include "ui/message_center/message_center_export.h"
10 #include "ui/message_center/views/message_bubble_base.h" 10 #include "ui/message_center/views/message_bubble_base.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 MessageCenterBubble(MessageCenter* message_center, 23 MessageCenterBubble(MessageCenter* message_center,
24 MessageCenterTray* tray, 24 MessageCenterTray* tray,
25 bool first_item_has_no_margin); 25 bool first_item_has_no_margin);
26 26
27 virtual ~MessageCenterBubble(); 27 virtual ~MessageCenterBubble();
28 28
29 void SetSettingsVisible(); 29 void SetSettingsVisible();
30 30
31 // Overridden from views::WidgetObserver: 31 // Overridden from views::WidgetObserver:
32 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; 32 virtual void OnWidgetClosing(views::Widget* widget) override;
33 33
34 // Overridden from MessageBubbleBase: 34 // Overridden from MessageBubbleBase:
35 virtual views::TrayBubbleView::InitParams GetInitParams( 35 virtual views::TrayBubbleView::InitParams GetInitParams(
36 views::TrayBubbleView::AnchorAlignment anchor_alignment) OVERRIDE; 36 views::TrayBubbleView::AnchorAlignment anchor_alignment) override;
37 virtual void InitializeContents(views::TrayBubbleView* bubble_view) OVERRIDE; 37 virtual void InitializeContents(views::TrayBubbleView* bubble_view) override;
38 virtual void OnBubbleViewDestroyed() OVERRIDE; 38 virtual void OnBubbleViewDestroyed() override;
39 virtual void UpdateBubbleView() OVERRIDE; 39 virtual void UpdateBubbleView() override;
40 virtual void OnMouseEnteredView() OVERRIDE; 40 virtual void OnMouseEnteredView() override;
41 virtual void OnMouseExitedView() OVERRIDE; 41 virtual void OnMouseExitedView() override;
42 42
43 size_t NumMessageViewsForTest() const; 43 size_t NumMessageViewsForTest() const;
44 44
45 private: 45 private:
46 MessageCenterView* message_center_view_; 46 MessageCenterView* message_center_view_;
47 47
48 // The maximum height 48 // The maximum height
49 int max_height_; 49 int max_height_;
50 50
51 // Use settings view as the initially visible content if true. 51 // Use settings view as the initially visible content if true.
52 bool initially_settings_visible_; 52 bool initially_settings_visible_;
53 53
54 // True if the first message which gets shown should have no margin against 54 // True if the first message which gets shown should have no margin against
55 // the used anchor. 55 // the used anchor.
56 bool first_item_has_no_margin_; 56 bool first_item_has_no_margin_;
57 57
58 base::string16 title_; 58 base::string16 title_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(MessageCenterBubble); 60 DISALLOW_COPY_AND_ASSIGN(MessageCenterBubble);
61 }; 61 };
62 62
63 } // namespace message_center 63 } // namespace message_center
64 64
65 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUBBLE_H_ 65 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_BUBBLE_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/desktop_popup_alignment_delegate.h ('k') | ui/message_center/views/message_center_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698