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

Unified Diff: ash/shell.cc

Issue 11565019: Consolidate dialog style flags and strings; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alphabetize IDS strings. Created 8 years 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: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 16512512a4c15a5d6080001864b686d32d67ec8d..1f4b010ace40b59727442f35072972441a0b35a7 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -78,6 +78,7 @@
#include "ui/aura/root_window.h"
#include "ui/aura/ui_controls_aura.h"
#include "ui/aura/window.h"
+#include "ui/base/ui_base_switches.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animator.h"
#include "ui/gfx/display.h"
@@ -629,7 +630,7 @@ bool Shell::IsSystemModalWindowOpen() const {
views::NonClientFrameView* Shell::CreateDefaultNonClientFrameView(
views::Widget* widget) {
if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAuraGoogleDialogFrames)) {
+ ::switches::kEnableNewDialogStyle)) {
return new internal::DialogFrameView;
}
// Use translucent-style window frames for dialogs.

Powered by Google App Engine
This is Rietveld 408576698