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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2615643002: ui: Add debug flag for slowing down all UI animations. (Closed)
Patch Set: add missing histograms.xml entry Created 3 years, 11 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 | « chrome/app/generated_resources.grd ('k') | tools/metrics/histograms/histograms.xml » ('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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 SINGLE_VALUE_TYPE(ash::switches::kAshEnableMirroredScreen), 1034 SINGLE_VALUE_TYPE(ash::switches::kAshEnableMirroredScreen),
1035 }, 1035 },
1036 {"ash-md", IDS_FLAGS_ASH_MD, IDS_FLAGS_ASH_MD_DESCRIPTION, kOsCrOS, 1036 {"ash-md", IDS_FLAGS_ASH_MD, IDS_FLAGS_ASH_MD_DESCRIPTION, kOsCrOS,
1037 MULTI_VALUE_TYPE(kAshMaterialDesignChoices)}, 1037 MULTI_VALUE_TYPE(kAshMaterialDesignChoices)},
1038 #endif // USE_ASH 1038 #endif // USE_ASH
1039 #if defined(OS_CHROMEOS) 1039 #if defined(OS_CHROMEOS)
1040 {"material-design-ink-drop-animation-speed", 1040 {"material-design-ink-drop-animation-speed",
1041 IDS_FLAGS_MATERIAL_DESIGN_INK_DROP_ANIMATION_SPEED_NAME, 1041 IDS_FLAGS_MATERIAL_DESIGN_INK_DROP_ANIMATION_SPEED_NAME,
1042 IDS_FLAGS_MATERIAL_DESIGN_INK_DROP_ANIMATION_SPEED_DESCRIPTION, kOsCrOS, 1042 IDS_FLAGS_MATERIAL_DESIGN_INK_DROP_ANIMATION_SPEED_DESCRIPTION, kOsCrOS,
1043 MULTI_VALUE_TYPE(kAshMaterialDesignInkDropAnimationSpeed)}, 1043 MULTI_VALUE_TYPE(kAshMaterialDesignInkDropAnimationSpeed)},
1044 {"ui-slow-animations",
1045 IDS_FLAGS_UI_SLOW_ANIMATIONS_NAME,
1046 IDS_FLAGS_UI_SLOW_ANIMATIONS_DESCRIPTION, kOsCrOS,
1047 SINGLE_VALUE_TYPE(switches::kUISlowAnimations)},
1044 {"disable-cloud-import", IDS_FLAGS_CLOUD_IMPORT, 1048 {"disable-cloud-import", IDS_FLAGS_CLOUD_IMPORT,
1045 IDS_FLAGS_CLOUD_IMPORT_DESCRIPTION, kOsCrOS, 1049 IDS_FLAGS_CLOUD_IMPORT_DESCRIPTION, kOsCrOS,
1046 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableCloudImport)}, 1050 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableCloudImport)},
1047 {"enable-request-tablet-site", IDS_FLAGS_REQUEST_TABLET_SITE_NAME, 1051 {"enable-request-tablet-site", IDS_FLAGS_REQUEST_TABLET_SITE_NAME,
1048 IDS_FLAGS_REQUEST_TABLET_SITE_DESCRIPTION, kOsCrOS, 1052 IDS_FLAGS_REQUEST_TABLET_SITE_DESCRIPTION, kOsCrOS,
1049 SINGLE_VALUE_TYPE(chromeos::switches::kEnableRequestTabletSite)}, 1053 SINGLE_VALUE_TYPE(chromeos::switches::kEnableRequestTabletSite)},
1050 #endif // OS_CHROMEOS 1054 #endif // OS_CHROMEOS
1051 {"debug-packed-apps", IDS_FLAGS_DEBUG_PACKED_APP_NAME, 1055 {"debug-packed-apps", IDS_FLAGS_DEBUG_PACKED_APP_NAME,
1052 IDS_FLAGS_DEBUG_PACKED_APP_DESCRIPTION, kOsDesktop, 1056 IDS_FLAGS_DEBUG_PACKED_APP_DESCRIPTION, kOsDesktop,
1053 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)}, 1057 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)},
(...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2387 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2384 2388
2385 const FeatureEntry* GetFeatureEntries(size_t* count) { 2389 const FeatureEntry* GetFeatureEntries(size_t* count) {
2386 *count = arraysize(kFeatureEntries); 2390 *count = arraysize(kFeatureEntries);
2387 return kFeatureEntries; 2391 return kFeatureEntries;
2388 } 2392 }
2389 2393
2390 } // namespace testing 2394 } // namespace testing
2391 2395
2392 } // namespace about_flags 2396 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698