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

Unified Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.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/tabs/browser_tab_strip_controller.cc
diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
index d0ec6160802afa67493bebaf4322dba2860af694..ceaeda3062cddf0f31ad84a7ef79354897e5d7d6 100644
--- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
+++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
@@ -59,13 +59,12 @@ TabRendererData::NetworkState TabContentsNetworkState(
return TabRendererData::NETWORK_STATE_LOADING;
}
-bool DetermineTabStripLayoutStacked(
- PrefService* prefs,
- chrome::HostDesktopType host_desktop_type,
- bool* adjust_layout) {
+bool DetermineTabStripLayoutStacked(PrefService* prefs,
+ ui::HostDesktopType host_desktop_type,
+ bool* adjust_layout) {
*adjust_layout = false;
// For ash, always allow entering stacked mode.
- if (host_desktop_type != chrome::HOST_DESKTOP_TYPE_ASH)
+ if (host_desktop_type != ui::HOST_DESKTOP_TYPE_ASH)
return false;
*adjust_layout = true;
return prefs->GetBoolean(prefs::kTabStripStackedLayout);

Powered by Google App Engine
This is Rietveld 408576698