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

Side by Side Diff: chrome/browser/ui/views/message_center/web_notification_tray.h

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 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 CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_
6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ 6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/prefs/pref_member.h" 9 #include "base/prefs/pref_member.h"
10 #include "chrome/browser/status_icons/status_icon_menu_model.h" 10 #include "chrome/browser/status_icons/status_icon_menu_model.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void HidePopups() override; 60 void HidePopups() override;
61 bool ShowMessageCenter() override; 61 bool ShowMessageCenter() override;
62 void HideMessageCenter() override; 62 void HideMessageCenter() override;
63 void OnMessageCenterTrayChanged() override; 63 void OnMessageCenterTrayChanged() override;
64 bool ShowNotifierSettings() override; 64 bool ShowNotifierSettings() override;
65 bool IsContextMenuEnabled() const override; 65 bool IsContextMenuEnabled() const override;
66 66
67 // StatusIconObserver implementation. 67 // StatusIconObserver implementation.
68 void OnStatusIconClicked() override; 68 void OnStatusIconClicked() override;
69 #if defined(OS_WIN) 69 #if defined(OS_WIN)
70 virtual void OnBalloonClicked() override; 70 void OnBalloonClicked() override;
71 71
72 // This shows a platform-specific balloon informing the user of the existence 72 // This shows a platform-specific balloon informing the user of the existence
73 // of the message center in the status tray area. 73 // of the message center in the status tray area.
74 void DisplayFirstRunBalloon(); 74 void DisplayFirstRunBalloon();
75 75
76 void EnforceStatusIconVisible(); 76 void EnforceStatusIconVisible();
77 #endif 77 #endif
78 78
79 // StatusIconMenuModel::Delegate implementation. 79 // StatusIconMenuModel::Delegate implementation.
80 void ExecuteCommand(int command_id, int event_flags) override; 80 void ExecuteCommand(int command_id, int event_flags) override;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool should_update_tray_content_; 124 bool should_update_tray_content_;
125 bool last_quiet_mode_state_; 125 bool last_quiet_mode_state_;
126 base::string16 title_; 126 base::string16 title_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); 128 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray);
129 }; 129 };
130 130
131 } // namespace message_center 131 } // namespace message_center
132 132
133 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ 133 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/menu_item_view_interactive_uitest.cc ('k') | chrome/browser/ui/views/network_profile_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698