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

Unified Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.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/views/apps/app_info_dialog/app_info_footer_panel.cc
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc
index 996d84b441001d29611792d08742f6cdf44e184c..515a35267db36ff3bef704e796a8bce9cc264c52 100644
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc
@@ -146,7 +146,7 @@ bool AppInfoFooterPanel::CanCreateShortcuts() const {
// component app can't have shortcuts.
return app_->id() != extension_misc::kChromeAppId && !app_->is_extension() &&
(chrome::GetHostDesktopTypeForNativeWindow(parent_window_) !=
- chrome::HOST_DESKTOP_TYPE_ASH);
+ ui::HOST_DESKTOP_TYPE_ASH);
}
void AppInfoFooterPanel::SetPinnedToShelf(bool value) {
@@ -172,7 +172,7 @@ bool AppInfoFooterPanel::CanSetPinnedToShelf() const {
// Non-Ash platforms don't have a shelf.
if (!ash::Shell::HasInstance() ||
chrome::GetHostDesktopTypeForNativeWindow(parent_window_) !=
- chrome::HOST_DESKTOP_TYPE_ASH) {
+ ui::HOST_DESKTOP_TYPE_ASH) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698