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

Unified Diff: ash/ash_switches.cc

Issue 25536010: Make packaged apps use AppNonClientFrameViewAsh when maximized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | « ash/ash_switches.h ('k') | ash/wm/caption_buttons/hideable_caption_button_container.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_switches.cc
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index 004876de74c18793235ff3e0e1d74e40b359ecd4..3892ca010393c2fbcde0e62e66ed25da2b4cc7d7 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -181,6 +181,10 @@ const char kHideShelfAlignmentMenu[] = "hide-launcher-alignment-menu";
const char kAshUseFirstDisplayAsInternal[] =
"ash-use-first-display-as-internal";
+// Use the same window frame for hosted and packaged apps.
+const char kAshUseSameFrameForV1AndV2Apps[] =
+ "ash-use-same-frame-for-v1-and-v2-apps";
+
// (Most) Chrome OS hardware reports ACPI power button releases correctly.
// Standard hardware reports releases immediately after presses. If set, we
// lock the screen or shutdown the system immediately in response to a press
@@ -217,6 +221,11 @@ bool UseDragOffShelf() {
HasSwitch(kAshDisableDragOffShelf);
}
+bool UseSameFrameForV1AndV2Apps() {
+ return CommandLine::ForCurrentProcess()->
+ HasSwitch(kAshUseSameFrameForV1AndV2Apps);
+}
+
bool ShowShelfAlignmentMenu() {
return !CommandLine::ForCurrentProcess()->
HasSwitch(kHideShelfAlignmentMenu);
« no previous file with comments | « ash/ash_switches.h ('k') | ash/wm/caption_buttons/hideable_caption_button_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698