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

Unified Diff: ash/display/resolution_notification_controller.cc

Issue 684253002: Provide default implementations for NotificationDelegate methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/resolution_notification_controller.cc
diff --git a/ash/display/resolution_notification_controller.cc b/ash/display/resolution_notification_controller.cc
index 35ee07b569e5dd5dddc823dc7dd8a44e1eabe2d4..82de8e0346c6ee78e1cd6b0f5674ef0e15d70c07 100644
--- a/ash/display/resolution_notification_controller.cc
+++ b/ash/display/resolution_notification_controller.cc
@@ -40,8 +40,6 @@ class ResolutionChangeNotificationDelegate
private:
// message_center::NotificationDelegate overrides:
- virtual void Display() override;
- virtual void Error() override;
virtual void Close(bool by_user) override;
virtual void Click() override;
virtual bool HasClickedListener() override;
@@ -64,12 +62,6 @@ ResolutionChangeNotificationDelegate::ResolutionChangeNotificationDelegate(
ResolutionChangeNotificationDelegate::~ResolutionChangeNotificationDelegate() {
}
-void ResolutionChangeNotificationDelegate::Display() {
-}
-
-void ResolutionChangeNotificationDelegate::Error() {
-}
-
void ResolutionChangeNotificationDelegate::Close(bool by_user) {
if (by_user)
controller_->AcceptResolutionChange(false);
« no previous file with comments | « no previous file | ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698