using message_center::Notification;
namespace ash {
-namespace internal {
namespace {
const char kDisplayErrorNotificationId[] = "chrome://settings/display/error";
}
void DisplayErrorObserver::OnDisplayModeChangeFailed(
- ui::OutputState new_state) {
+ ui::MultipleDisplayState new_state) {
// Always remove the notification to make sure the notification appears
// as a popup in any situation.
message_center::MessageCenter::Get()->RemoveNotification(
kDisplayErrorNotificationId, false /* by_user */);
- int message_id = (new_state == ui::OUTPUT_STATE_DUAL_MIRROR) ?
+ int message_id = (new_state == ui::MULTIPLE_DISPLAY_STATE_DUAL_MIRROR) ?
IDS_ASH_DISPLAY_FAILURE_ON_MIRRORING :
IDS_ASH_DISPLAY_FAILURE_ON_NON_MIRRORING;
return base::string16();
}
-} // namespace internal
} // namespace ash