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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 1022143003: Removes flag --enable-new-md-input-view and add a opposite flag: --disable-new-md-input-view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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 "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 // TODO(rsorokin): alphabetize all of these switches so they 10 // TODO(rsorokin): alphabetize all of these switches so they
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // locate the device. 109 // locate the device.
110 const char kEnableConsumerManagement[] = "enable-consumer-management"; 110 const char kEnableConsumerManagement[] = "enable-consumer-management";
111 111
112 // If this switch is set, the device cannot be remotely disabled by its owner. 112 // If this switch is set, the device cannot be remotely disabled by its owner.
113 const char kDisableDeviceDisabling[] = "disable-device-disabling"; 113 const char kDisableDeviceDisabling[] = "disable-device-disabling";
114 114
115 // If this switch is set, the new Korean IME will be available in 115 // If this switch is set, the new Korean IME will be available in
116 // chrome://settings/languages. 116 // chrome://settings/languages.
117 const char kEnableNewKoreanIme[] = "enable-new-korean-ime"; 117 const char kEnableNewKoreanIme[] = "enable-new-korean-ime";
118 118
119 // If this switch is set, the input view keyboard will be in materia design. 119 // If this switch is set, the input view keyboard will disable materia design.
120 const char kEnableNewMDInputView[] = "enable-new-md-input-view"; 120 const char kDisableNewMDInputView[] = "disable-new-md-input-view";
121 121
122 // If this switch is set, the options for suggestions as typing on physical 122 // If this switch is set, the options for suggestions as typing on physical
123 // keyboard will be enabled. 123 // keyboard will be enabled.
124 const char kEnablePhysicalKeyboardAutocorrect[] = 124 const char kEnablePhysicalKeyboardAutocorrect[] =
125 "enable-physical-keyboard-autocorrect"; 125 "enable-physical-keyboard-autocorrect";
126 126
127 // If this switch is set, the options for suggestions as typing on physical 127 // If this switch is set, the options for suggestions as typing on physical
128 // keyboard will be disabled. 128 // keyboard will be disabled.
129 const char kDisablePhysicalKeyboardAutocorrect[] = 129 const char kDisablePhysicalKeyboardAutocorrect[] =
130 "disable-physical-keyboard-autocorrect"; 130 "disable-physical-keyboard-autocorrect";
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 return base::MemoryPressureObserverChromeOS:: 375 return base::MemoryPressureObserverChromeOS::
376 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 376 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
377 if (option == kAggressiveThreshold) 377 if (option == kAggressiveThreshold)
378 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 378 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
379 379
380 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT; 380 return base::MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT;
381 } 381 }
382 382
383 } // namespace switches 383 } // namespace switches
384 } // namespace chromeos 384 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698