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

Unified Diff: chrome/browser/ui/touch/tabs/tab_strip_factory.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
« no previous file with comments | « chrome/browser/ui/touch/frame/touch_browser_frame_view.cc ('k') | chrome/browser/ui/touch/tabs/touch_tab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/touch/tabs/tab_strip_factory.cc
diff --git a/chrome/browser/ui/touch/tabs/tab_strip_factory.cc b/chrome/browser/ui/touch/tabs/tab_strip_factory.cc
deleted file mode 100644
index 5dbd53330cbb3cc0bd10841fa33e808cc061b4f5..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/touch/tabs/tab_strip_factory.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This file is only compiled when touchui is defined.
-
-#include "chrome/browser/ui/views/tabs/tab_strip_factory.h"
-
-#include "chrome/browser/ui/touch/tabs/touch_tab_strip.h"
-#include "chrome/browser/ui/touch/tabs/touch_tab_strip_controller.h"
-
-// The implementation of CreateTabStrip for touchui creates a TouchTabStrip
-AbstractTabStripView* CreateTabStrip(Browser* browser,
- views::View* parent,
- TabStripModel* model) {
- TouchTabStripController* tabstrip_controller =
- new TouchTabStripController(browser, model);
- // Ownership of this controller is given to a specific tabstrip when we
- // construct it below.
-
- TouchTabStrip* tabstrip = new TouchTabStrip(tabstrip_controller);
- parent->AddChildView(tabstrip);
- tabstrip_controller->InitFromModel(tabstrip);
- return tabstrip;
-}
-
« no previous file with comments | « chrome/browser/ui/touch/frame/touch_browser_frame_view.cc ('k') | chrome/browser/ui/touch/tabs/touch_tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698