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

Unified Diff: ash/shell.cc

Issue 15685017: Use CustomFrameViewAsh in ash::Shell::CreateDefaultNonClientFrameView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 09190d7794facbca441f8ad6ba5c8a9c03cac508..0f12d3f7cbcf39013129b5fa9eca1d536202ee3f 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -100,7 +100,6 @@
#include "ui/views/focus/focus_manager_factory.h"
#include "ui/views/widget/native_widget_aura.h"
#include "ui/views/widget/widget.h"
-#include "ui/views/window/dialog_delegate.h"
#if !defined(OS_MACOSX)
#include "ash/accelerators/accelerator_controller.h"
@@ -688,8 +687,6 @@ bool Shell::IsSystemModalWindowOpen() const {
views::NonClientFrameView* Shell::CreateDefaultNonClientFrameView(
views::Widget* widget) {
- if (views::DialogDelegate::UseNewStyle())
- return views::DialogDelegate::CreateNewStyleFrameView(widget);
// Use translucent-style window frames for dialogs.
CustomFrameViewAsh* frame_view = new CustomFrameViewAsh;
frame_view->Init(widget);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698