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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.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/tab_strip.cc
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index 5152b5547335e5d091ec6383af2fb87d97fd42b4..3fa11eaf2235f249ddc320569329b1b313f01d86 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -1265,10 +1265,10 @@ void TabStrip::PaintChildren(const ui::PaintContext& context) {
bool is_dragging = false;
int active_tab_index = -1;
- const chrome::HostDesktopType host_desktop_type =
+ const ui::HostDesktopType host_desktop_type =
chrome::GetHostDesktopTypeForNativeView(GetWidget()->GetNativeView());
const uint8_t inactive_tab_alpha =
- (host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH)
+ (host_desktop_type == ui::HOST_DESKTOP_TYPE_ASH)
? kInactiveTabAndNewTabButtonAlphaAsh
: kInactiveTabAndNewTabButtonAlpha;

Powered by Google App Engine
This is Rietveld 408576698