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

Unified Diff: chrome/browser/ui/webui/options/chromeos/date_time_options_handler.cc

Issue 2441133002: mash: Introduce ShowWebDialogWithContainer for webui dialogs (Closed)
Patch Set: Created 4 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
Index: chrome/browser/ui/webui/options/chromeos/date_time_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/date_time_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/date_time_options_handler.cc
index 5e8f81a64ecb30c51b1dcad979042b5c145011dc..f976012b32b1b0b12dbd98620b76bd91beef2a09 100644
--- a/chrome/browser/ui/webui/options/chromeos/date_time_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/date_time_options_handler.cc
@@ -68,7 +68,7 @@ void DateTimeOptionsHandler::SystemClockCanSetTimeChanged(bool can_set_time) {
void DateTimeOptionsHandler::HandleShowSetTime(const base::ListValue* args) {
// Make sure the clock status hasn't changed since the button was clicked.
if (can_set_time_) {
- SetTimeDialog::ShowDialog(
+ SetTimeDialog::ShowDialogInParent(
web_ui()->GetWebContents()->GetTopLevelNativeWindow());
}
}
« chrome/browser/ui/ash/web_dialog_util.cc ('K') | « chrome/browser/ui/ash/web_dialog_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698