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

Unified Diff: ash/display/output_configurator_animation.cc

Issue 10986087: Adds DisplayErrorDialog to show the error message of the failure of mirroring to the users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« ash/display/display_error_dialog.cc ('K') | « ash/display/display_error_dialog.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/output_configurator_animation.cc
diff --git a/ash/display/output_configurator_animation.cc b/ash/display/output_configurator_animation.cc
index 9c19a5019cc8d6032662da628180bd05676e5298..5cd0779fd2ef15684243b22accd32ec866fc4ff7 100644
--- a/ash/display/output_configurator_animation.cc
+++ b/ash/display/output_configurator_animation.cc
@@ -4,6 +4,7 @@
#include "ash/display/output_configurator_animation.h"
+#include "ash/display/display_error_dialog.h"
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
#include "base/bind.h"
@@ -209,6 +210,7 @@ void OutputConfiguratorAnimation::OnDisplayModeChanged() {
void OutputConfiguratorAnimation::OnDisplayModeChangeFailed() {
if (!hiding_layers_.empty())
StartFadeInAnimation();
+ DisplayErrorDialog::ShowDialog();
}
void OutputConfiguratorAnimation::ClearHidingLayers() {
« ash/display/display_error_dialog.cc ('K') | « ash/display/display_error_dialog.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698