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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 8678015: Touch constants and dead code removal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied Sadrul's comments Created 9 years, 1 month 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/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 8bff00e55c9a575fce57f840053669663d1b8cd0..67ffe39394403a52cef74a88ff3773f8bf758925 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1949,11 +1949,8 @@ void BrowserView::Init() {
contents_split_->set_id(VIEW_ID_CONTENTS_SPLIT);
contents_split_->SetAccessibleName(
l10n_util::GetStringUTF16(IDS_ACCNAME_WEB_CONTENTS));
-#if !defined(TOUCH_UI)
- // In TOUCH_UI we paint the background in native_tab_contents_view.
contents_split_->set_background(
views::Background::CreateSolidBackground(bg_color));
-#endif
AddChildView(contents_split_);
set_contents_view(contents_split_);
« no previous file with comments | « chrome/browser/ui/touch/tabs/touch_tab_strip_unittest.cc ('k') | chrome/browser/ui/webui/active_downloads_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698