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

Unified Diff: chrome/browser/ui/views/window.cc

Issue 10271002: browser: Remove window.{cc,h} module completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/window.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/window.cc
diff --git a/chrome/browser/ui/views/window.cc b/chrome/browser/ui/views/window.cc
deleted file mode 100644
index a02ed73978dc8b8bf0b545f25f1562ef7f3d92bb..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/window.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 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/window.h"
-
-#include "ui/views/bubble/bubble_delegate.h"
-#include "ui/views/widget/widget.h"
-
-// Note: This file should be removed after the old ChromeOS frontend is removed.
-// It is not needed for Aura.
-// The visual style implemented by BubbleFrameView/BubbleWindow for
-// ChromeOS should move to Ash.
-// Calling code should just call the standard views Widget creation
-// methods and "the right thing" should just happen.
-// The remainder of the code here is dealing with the legacy CrOS WM and
-// can also be removed.
-
-namespace browser {
-
-views::Widget* CreateFramelessViewsWindow(gfx::NativeWindow parent,
- views::WidgetDelegate* delegate) {
- views::Widget* widget = new views::Widget;
- views::Widget::InitParams params(
- views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
- params.delegate = delegate;
- // Will this function be called if !defined(USE_AURA)?
-#if defined(OS_WIN) || defined(USE_AURA)
- params.parent = parent;
-#endif
- // No frame so does not need params.transparent = true
- widget->Init(params);
- return widget;
-}
-
-} // namespace browser
« no previous file with comments | « chrome/browser/ui/views/window.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698