Index: chrome/browser/ui/views/frame/browser_window_factory.cc |
diff --git a/chrome/browser/ui/views/frame/browser_window_factory.cc b/chrome/browser/ui/views/frame/browser_window_factory.cc |
deleted file mode 100644 |
index 7db63a843348f08181a2708fbd8faec8dd5ecb46..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/views/frame/browser_window_factory.cc |
+++ /dev/null |
@@ -1,28 +0,0 @@ |
-// Copyright 2014 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_frame.h" |
-#include "chrome/browser/ui/views/frame/browser_view.h" |
-#include "chrome/browser/ui/views/frame/native_browser_frame_factory.h" |
-#include "chrome/grit/chromium_strings.h" |
-#include "ui/base/l10n/l10n_util.h" |
-#include "ui/views/widget/widget.h" |
- |
-// static |
-BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { |
- // Create the view and the frame. The frame will attach itself via the view |
- // so we don't need to do anything with the pointer. |
- BrowserView* view = new BrowserView(); |
- view->Init(browser); |
- (new BrowserFrame(view))->InitBrowserFrame(); |
- view->GetWidget()->non_client_view()->SetAccessibleName( |
- l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); |
- return view; |
-} |
- |
-// static |
-chrome::HostDesktopType BrowserWindow::AdjustHostDesktopType( |
- chrome::HostDesktopType desktop_type) { |
- return NativeBrowserFrameFactory::AdjustHostDesktopType(desktop_type); |
-} |