Chromium Code Reviews

Unified Diff: chrome/browser/chromeos/notifications/balloon_view.cc

Issue 1164004: Add KEEP_SIZE state to notification panel and fixed misc bugs. (Closed)
Patch Set: " Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/chromeos/notifications/balloon_view.cc
diff --git a/chrome/browser/chromeos/notifications/balloon_view.cc b/chrome/browser/chromeos/notifications/balloon_view.cc
index 13af28bbe01fccb33cd3ae45e03a85a5c8648b67..6b9c4f06e93ef0fc994b889fc6c6edecbe647e51 100644
--- a/chrome/browser/chromeos/notifications/balloon_view.cc
+++ b/chrome/browser/chromeos/notifications/balloon_view.cc
@@ -45,8 +45,7 @@ BalloonViewImpl::BalloonViewImpl(bool sticky, bool controls)
options_menu_button_(NULL),
stale_(false),
sticky_(sticky),
- controls_(controls),
- closed_by_user_(false) {
+ controls_(controls) {
// This object is not to be deleted by the views hierarchy,
// as it is owned by the balloon.
set_parent_owned(false);
@@ -115,7 +114,6 @@ void BalloonViewImpl::Update() {
}
void BalloonViewImpl::Close(bool by_user) {
- closed_by_user_ = by_user;
MessageLoop::current()->PostTask(
FROM_HERE,
method_factory_.NewRunnableMethod(

Powered by Google App Engine