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

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

Issue 374993002: Enable rect-based targeting in views on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for landing Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/views_switches.cc » ('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 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_DESCRIPTION, 1602 IDS_FLAGS_ENABLE_TRANSLATE_NEW_UX_DESCRIPTION,
1603 kOsMac, 1603 kOsMac,
1604 SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX) 1604 SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX)
1605 }, 1605 },
1606 #endif 1606 #endif
1607 #if defined(TOOLKIT_VIEWS) 1607 #if defined(TOOLKIT_VIEWS)
1608 { 1608 {
1609 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA 1609 "disable-views-rect-based-targeting", // FLAGS:RECORD_UMA
1610 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME, 1610 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_NAME,
1611 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, 1611 IDS_FLAGS_DISABLE_VIEWS_RECT_BASED_TARGETING_DESCRIPTION,
1612 kOsCrOS | kOsWin, 1612 kOsCrOS | kOsWin | kOsLinux,
1613 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting) 1613 SINGLE_VALUE_TYPE(views::switches::kDisableViewsRectBasedTargeting)
1614 }, 1614 },
1615 #endif 1615 #endif
1616 { 1616 {
1617 "enable-apps-show-on-first-paint", 1617 "enable-apps-show-on-first-paint",
1618 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME, 1618 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_NAME,
1619 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, 1619 IDS_FLAGS_ENABLE_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION,
1620 kOsDesktop, 1620 kOsDesktop,
1621 SINGLE_VALUE_TYPE(switches::kEnableAppsShowOnFirstPaint) 1621 SINGLE_VALUE_TYPE(switches::kEnableAppsShowOnFirstPaint)
1622 }, 1622 },
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
2454 } 2454 }
2455 2455
2456 const Experiment* GetExperiments(size_t* count) { 2456 const Experiment* GetExperiments(size_t* count) {
2457 *count = num_experiments; 2457 *count = num_experiments;
2458 return experiments; 2458 return experiments;
2459 } 2459 }
2460 2460
2461 } // namespace testing 2461 } // namespace testing
2462 2462
2463 } // namespace about_flags 2463 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | ui/views/views_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698