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

Unified Diff: chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.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/touch/frame/browser_non_client_frame_view_factory_touch.cc
diff --git a/chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.cc b/chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.cc
deleted file mode 100644
index 2154ac3fbb4d587f0219743d99fb93cafaf1dbdc..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/touch/frame/browser_non_client_frame_view_factory_touch.cc
+++ /dev/null
@@ -1,33 +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.
-
-#include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
-
-#include "base/command_line.h"
-#include "chrome/browser/ui/panels/panel_browser_frame_view.h"
-#include "chrome/browser/ui/panels/panel_browser_view.h"
-#include "chrome/browser/ui/touch/frame/touch_browser_frame_view.h"
-#include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/frame/popup_non_client_frame_view.h"
-#include "chrome/common/chrome_switches.h"
-
-namespace browser {
-
-BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
- BrowserFrame* frame, BrowserView* browser_view) {
- Browser::Type type = browser_view->browser()->type();
- switch (type) {
- case Browser::TYPE_PANEL:
- return new PanelBrowserFrameView(
- frame, static_cast<PanelBrowserView*>(browser_view));
- case Browser::TYPE_POPUP:
- // TODO(anicolao): implement popups for touch
- NOTIMPLEMENTED();
- return new PopupNonClientFrameView(frame);
- default:
- return new TouchBrowserFrameView(frame, browser_view);
- }
-}
-
-} // browser
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | chrome/browser/ui/touch/frame/touch_browser_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698