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

Unified Diff: ash/display/resolution_notification_controller.cc

Issue 687183004: Remove the OnError method from notification delegates. (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 side-by-side diff with in-line comments
Download patch
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..5291a60e7d4b9c557c275a9f63392580ca1e231c 100644
--- a/ash/display/resolution_notification_controller.cc
+++ b/ash/display/resolution_notification_controller.cc
@@ -41,7 +41,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;
@@ -67,9 +66,6 @@ ResolutionChangeNotificationDelegate::~ResolutionChangeNotificationDelegate() {
void ResolutionChangeNotificationDelegate::Display() {
}
-void ResolutionChangeNotificationDelegate::Error() {
-}
-
void ResolutionChangeNotificationDelegate::Close(bool by_user) {
if (by_user)
controller_->AcceptResolutionChange(false);

Powered by Google App Engine
This is Rietveld 408576698