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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 message_center::switches::kNotificationCenterTrayBehavior, "always" }, | 388 message_center::switches::kNotificationCenterTrayBehavior, "always" }, |
389 { IDS_FLAGS_NOTIFICATION_TRAY_BEHAVIOR_UNREAD, | 389 { IDS_FLAGS_NOTIFICATION_TRAY_BEHAVIOR_UNREAD, |
390 message_center::switches::kNotificationCenterTrayBehavior, "unread" } | 390 message_center::switches::kNotificationCenterTrayBehavior, "unread" } |
391 }; | 391 }; |
392 | 392 |
393 const Experiment::Choice kTouchScrollingModeChoices[] = { | 393 const Experiment::Choice kTouchScrollingModeChoices[] = { |
394 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, | 394 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
395 { IDS_FLAGS_TOUCH_SCROLLING_MODE_TOUCHCANCEL, | 395 { IDS_FLAGS_TOUCH_SCROLLING_MODE_TOUCHCANCEL, |
396 switches::kTouchScrollingMode, | 396 switches::kTouchScrollingMode, |
397 switches::kTouchScrollingModeTouchcancel }, | 397 switches::kTouchScrollingModeTouchcancel }, |
398 { IDS_FLAGS_TOUCH_SCROLLING_MODE_ABSORB_TOUCHMOVE, | 398 { IDS_FLAGS_TOUCH_SCROLLING_MODE_ASYNC_TOUCHMOVE, |
399 switches::kTouchScrollingMode, | 399 switches::kTouchScrollingMode, |
400 switches::kTouchScrollingModeAbsorbTouchmove }, | 400 switches::kTouchScrollingModeAsyncTouchmove }, |
401 { IDS_FLAGS_TOUCH_SCROLLING_MODE_SYNC_TOUCHMOVE, | 401 { IDS_FLAGS_TOUCH_SCROLLING_MODE_SYNC_TOUCHMOVE, |
402 switches::kTouchScrollingMode, | 402 switches::kTouchScrollingMode, |
403 switches::kTouchScrollingModeSyncTouchmove }, | 403 switches::kTouchScrollingModeSyncTouchmove }, |
404 }; | 404 }; |
405 | 405 |
406 #if defined(ENABLE_APP_LIST) | 406 #if defined(ENABLE_APP_LIST) |
407 const Experiment::Choice kEnableSyncAppListChoices[] = { | 407 const Experiment::Choice kEnableSyncAppListChoices[] = { |
408 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, | 408 { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" }, |
409 { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, | 409 { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, |
410 app_list::switches::kEnableSyncAppList, "" }, | 410 app_list::switches::kEnableSyncAppList, "" }, |
(...skipping 1902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2313 } | 2313 } |
2314 | 2314 |
2315 const Experiment* GetExperiments(size_t* count) { | 2315 const Experiment* GetExperiments(size_t* count) { |
2316 *count = num_experiments; | 2316 *count = num_experiments; |
2317 return experiments; | 2317 return experiments; |
2318 } | 2318 } |
2319 | 2319 |
2320 } // namespace testing | 2320 } // namespace testing |
2321 | 2321 |
2322 } // namespace about_flags | 2322 } // namespace about_flags |
OLD | NEW |