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

Unified Diff: chrome/browser/chromeos/power/idle_action_warning_observer.cc

Issue 18179004: Dismiss action in tab modal dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test for Mac Created 7 years, 5 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: chrome/browser/chromeos/power/idle_action_warning_observer.cc
diff --git a/chrome/browser/chromeos/power/idle_action_warning_observer.cc b/chrome/browser/chromeos/power/idle_action_warning_observer.cc
index eed0c9c86587d65ce624c1943e723aafabdc31e1..d452cba633b4d54dd4a5a75473965c5d6dab5105 100644
--- a/chrome/browser/chromeos/power/idle_action_warning_observer.cc
+++ b/chrome/browser/chromeos/power/idle_action_warning_observer.cc
@@ -16,7 +16,7 @@ IdleActionWarningObserver::IdleActionWarningObserver() : warning_dialog_(NULL) {
IdleActionWarningObserver::~IdleActionWarningObserver() {
DBusThreadManager::Get()->GetPowerManagerClient()->RemoveObserver(this);
if (warning_dialog_)
- warning_dialog_->Close();
+ warning_dialog_->CloseDialog();
}
void IdleActionWarningObserver::IdleActionImminent() {
@@ -26,7 +26,7 @@ void IdleActionWarningObserver::IdleActionImminent() {
void IdleActionWarningObserver::IdleActionDeferred() {
if (warning_dialog_)
- warning_dialog_->Close();
+ warning_dialog_->CloseDialog();
warning_dialog_ = NULL;
}
« no previous file with comments | « chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc ('k') | chrome/browser/chromeos/ui/app_launch_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698