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

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

Issue 10262002: views: Get rid of CreateViewsBubbleAboveLockScreen() function. (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
Index: chrome/browser/ui/views/window.cc
diff --git a/chrome/browser/ui/views/window.cc b/chrome/browser/ui/views/window.cc
index ae19970857ed1e4800d974d04073246db50955cf..a02ed73978dc8b8bf0b545f25f1562ef7f3d92bb 100644
--- a/chrome/browser/ui/views/window.cc
+++ b/chrome/browser/ui/views/window.cc
@@ -7,13 +7,6 @@
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/widget/widget.h"
-#if defined(USE_AURA)
-#include "ash/shell.h"
-#include "ash/shell_window_ids.h"
-#include "ui/aura/root_window.h"
-#include "ui/aura/window.h"
-#endif
-
// 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
@@ -40,16 +33,4 @@ views::Widget* CreateFramelessViewsWindow(gfx::NativeWindow parent,
return widget;
}
-views::Widget* CreateViewsBubbleAboveLockScreen(
- views::BubbleDelegateView* delegate) {
-#if defined(USE_AURA)
- delegate->set_parent_window(
- ash::Shell::GetInstance()->GetContainer(
- ash::internal::kShellWindowId_SettingBubbleContainer));
-#endif
- views::Widget* bubble_widget =
- views::BubbleDelegateView::CreateBubble(delegate);
- return bubble_widget;
-}
-
} // namespace browser
« no previous file with comments | « chrome/browser/ui/views/window.h ('k') | chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698