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

Side by Side Diff: ash/ash_switches.cc

Issue 2918403006: CrOS Tablet Window management - Split Screen part I (Closed)
Patch Set: Add unittests. Will split the CL into two CLs. Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « ash/ash_switches.h ('k') | ash/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/ash_switches.h" 5 #include "ash/ash_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 29 matching lines...) Expand all
40 "ash-disable-touch-exploration-mode"; 40 "ash-disable-touch-exploration-mode";
41 41
42 // Enables key bindings to scroll magnified screen. 42 // Enables key bindings to scroll magnified screen.
43 const char kAshEnableMagnifierKeyScroller[] = 43 const char kAshEnableMagnifierKeyScroller[] =
44 "ash-enable-magnifier-key-scroller"; 44 "ash-enable-magnifier-key-scroller";
45 45
46 // Enables the palette on every display, instead of only the internal one. 46 // Enables the palette on every display, instead of only the internal one.
47 const char kAshEnablePaletteOnAllDisplays[] = 47 const char kAshEnablePaletteOnAllDisplays[] =
48 "ash-enable-palette-on-all-displays"; 48 "ash-enable-palette-on-all-displays";
49 49
50 // Enables the split view on tablet mode.
51 const char kAshEnableTabletSplitView[] = "enable-tablet-splitview";
52
50 // Enables the observation of accelerometer events to enter touch-view mode. 53 // Enables the observation of accelerometer events to enter touch-view mode.
51 const char kAshEnableTouchView[] = "enable-touchview"; 54 const char kAshEnableTouchView[] = "enable-touchview";
52 55
53 // Enables mirrored screen. 56 // Enables mirrored screen.
54 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; 57 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen";
55 58
56 // Enables display scale tray settings. This uses force-device-scale-factor flag 59 // Enables display scale tray settings. This uses force-device-scale-factor flag
57 // to modify the dsf of the device to any non discrete value. 60 // to modify the dsf of the device to any non discrete value.
58 const char kAshEnableScaleSettingsTray[] = "ash-enable-scale-settings-tray"; 61 const char kAshEnableScaleSettingsTray[] = "ash-enable-scale-settings-tray";
59 62
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 bool ConstrainPointerToRoot() { 117 bool ConstrainPointerToRoot() {
115 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root"; 118 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root";
116 119
117 return base::SysInfo::IsRunningOnChromeOS() || 120 return base::SysInfo::IsRunningOnChromeOS() ||
118 base::CommandLine::ForCurrentProcess()->HasSwitch( 121 base::CommandLine::ForCurrentProcess()->HasSwitch(
119 kAshConstrainPointerToRoot); 122 kAshConstrainPointerToRoot);
120 } 123 }
121 124
122 } // namespace switches 125 } // namespace switches
123 } // namespace ash 126 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698