Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <iterator> | 8 #include <iterator> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 359 switches::kEnableOriginChipLeadingLocationBar, ""}, | 359 switches::kEnableOriginChipLeadingLocationBar, ""}, |
| 360 { IDS_FLAGS_ORIGIN_CHIP_LEADING_MENU_BUTTON, | 360 { IDS_FLAGS_ORIGIN_CHIP_LEADING_MENU_BUTTON, |
| 361 switches::kEnableOriginChipLeadingMenuButton, ""} | 361 switches::kEnableOriginChipLeadingMenuButton, ""} |
| 362 }; | 362 }; |
| 363 const Experiment::Choice kOriginChipV2Choices[] = { | 363 const Experiment::Choice kOriginChipV2Choices[] = { |
| 364 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, | 364 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
| 365 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kDisableOriginChipV2, ""}, | 365 { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kDisableOriginChipV2, ""}, |
| 366 { IDS_FLAGS_ORIGIN_CHIP_V2_HIDE_ON_MOUSE_RELEASE, | 366 { IDS_FLAGS_ORIGIN_CHIP_V2_HIDE_ON_MOUSE_RELEASE, |
| 367 switches::kEnableOriginChipV2HideOnMouseRelease, ""}, | 367 switches::kEnableOriginChipV2HideOnMouseRelease, ""}, |
| 368 { IDS_FLAGS_ORIGIN_CHIP_V2_HIDE_ON_USER_INPUT, | 368 { IDS_FLAGS_ORIGIN_CHIP_V2_HIDE_ON_USER_INPUT, |
| 369 switches::kEnableOriginChipV2HideOnUserInput, ""} | 369 switches::kEnableOriginChipV2HideOnUserInput, ""}, |
|
Peter Kasting
2014/05/08 21:32:31
While I'm here, I notice we still have both option
Justin Donnelly
2014/05/08 22:27:16
Getting rid of "HideOnUserInput" makes sense since
Peter Kasting
2014/05/08 22:39:39
You mean, you're worried about people who pick "op
| |
| 370 { IDS_FLAGS_ORIGIN_CHIP_V2_ON_SRP, | |
| 371 switches::kEnableOriginChipV2OnSrp, ""} | |
| 370 }; | 372 }; |
| 371 | 373 |
| 372 const Experiment::Choice kTouchScrollingModeChoices[] = { | 374 const Experiment::Choice kTouchScrollingModeChoices[] = { |
| 373 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, | 375 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
| 374 { IDS_FLAGS_TOUCH_SCROLLING_MODE_TOUCHCANCEL, | 376 { IDS_FLAGS_TOUCH_SCROLLING_MODE_TOUCHCANCEL, |
| 375 switches::kTouchScrollingMode, | 377 switches::kTouchScrollingMode, |
| 376 switches::kTouchScrollingModeTouchcancel }, | 378 switches::kTouchScrollingModeTouchcancel }, |
| 377 { IDS_FLAGS_TOUCH_SCROLLING_MODE_ASYNC_TOUCHMOVE, | 379 { IDS_FLAGS_TOUCH_SCROLLING_MODE_ASYNC_TOUCHMOVE, |
| 378 switches::kTouchScrollingMode, | 380 switches::kTouchScrollingMode, |
| 379 switches::kTouchScrollingModeAsyncTouchmove }, | 381 switches::kTouchScrollingModeAsyncTouchmove }, |
| (...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2367 } | 2369 } |
| 2368 | 2370 |
| 2369 const Experiment* GetExperiments(size_t* count) { | 2371 const Experiment* GetExperiments(size_t* count) { |
| 2370 *count = num_experiments; | 2372 *count = num_experiments; |
| 2371 return experiments; | 2373 return experiments; |
| 2372 } | 2374 } |
| 2373 | 2375 |
| 2374 } // namespace testing | 2376 } // namespace testing |
| 2375 | 2377 |
| 2376 } // namespace about_flags | 2378 } // namespace about_flags |
| OLD | NEW |