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

Unified Diff: chrome/browser/ui/blocked_content/app_modal_dialog_helper.cc

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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/blocked_content/app_modal_dialog_helper.cc
diff --git a/chrome/browser/ui/blocked_content/app_modal_dialog_helper.cc b/chrome/browser/ui/blocked_content/app_modal_dialog_helper.cc
index fea3ec37b5699dedf8f3e2af672772334c2cb5e0..5decf21e19584a824363aa099d8915bc2d97dc3e 100644
--- a/chrome/browser/ui/blocked_content/app_modal_dialog_helper.cc
+++ b/chrome/browser/ui/blocked_content/app_modal_dialog_helper.cc
@@ -16,7 +16,7 @@ AppModalDialogHelper::AppModalDialogHelper(content::WebContents* dialog_host)
// If the WebContents that triggered this dialog is not currently focused, we
// want to store a potential popup here to restore it after the dialog was
// closed.
- chrome::HostDesktopType desktop_type =
+ ui::HostDesktopType desktop_type =
chrome::GetHostDesktopTypeForNativeView(dialog_host->GetNativeView());
Browser* active_browser =
BrowserList::GetInstance(desktop_type)->GetLastActive();

Powered by Google App Engine
This is Rietveld 408576698