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

Unified Diff: ui/message_center/popup_timer.h

Issue 2315513002: Reset popup dismissal timers when replacing a notification. (Closed)
Patch Set: Reset popup dismissal timers when replacing a notification. Created 4 years, 3 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 | « ui/message_center/message_center_impl_unittest.cc ('k') | ui/message_center/popup_timer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/popup_timer.h
diff --git a/ui/message_center/popup_timer.h b/ui/message_center/popup_timer.h
index fb3ef775f2f44cd3e23c300393bfe990a560a6c6..494e360b88b1e34ee11cf0bc87e1d99f8554722b 100644
--- a/ui/message_center/popup_timer.h
+++ b/ui/message_center/popup_timer.h
@@ -41,12 +41,6 @@ class PopupTimer {
// subsequent calls to Start the timer will continue where it left off.
void Pause();
- // Stops the timer, and resets the amount of time that has passed so that
- // calling Start results in a timeout equal to the initial timeout setting.
- void Reset();
-
- base::TimeDelta get_timeout() const { return timeout_; }
-
private:
// Notification ID for which this timer applies.
const std::string id_;
« no previous file with comments | « ui/message_center/message_center_impl_unittest.cc ('k') | ui/message_center/popup_timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698