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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.cc

Issue 246633004: Remove non USE_AURA code from views files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just revert changes to ui/app_list/. Created 6 years, 8 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/tab_strip.cc
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index 0904445148216babf4e93a3354eeba10c21c9f8c..b403ef24ed2a86470cd591678e43dfcbd6bbe317 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -2753,10 +2753,6 @@ bool TabStrip::GetAdjustLayout() const {
if (!adjust_layout_)
return false;
-#if defined(USE_AURA)
return chrome::GetHostDesktopTypeForNativeView(
GetWidget()->GetNativeView()) == chrome::HOST_DESKTOP_TYPE_ASH;
-#else
- return ui::GetDisplayLayout() == ui::LAYOUT_TOUCH;
-#endif
}
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698