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

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

Issue 12093058: Screensaver implementation for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests. Created 7 years, 10 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
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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 SINGLE_VALUE_TYPE(switches::kEnableBackgroundLoader) 854 SINGLE_VALUE_TYPE(switches::kEnableBackgroundLoader)
855 }, 855 },
856 { 856 {
857 "enable-bezel-touch", 857 "enable-bezel-touch",
858 IDS_ENABLE_BEZEL_TOUCH_NAME, 858 IDS_ENABLE_BEZEL_TOUCH_NAME,
859 IDS_ENABLE_BEZEL_TOUCH_DESCRIPTION, 859 IDS_ENABLE_BEZEL_TOUCH_DESCRIPTION,
860 kOsCrOS, 860 kOsCrOS,
861 SINGLE_VALUE_TYPE(switches::kEnableBezelTouch) 861 SINGLE_VALUE_TYPE(switches::kEnableBezelTouch)
862 }, 862 },
863 { 863 {
864 "enable-screensaver-extension",
865 IDS_ENABLE_SCREENSAVER_EXTENSION_NAME,
866 IDS_ENABLE_SCREENSAVER_EXTENSION_DESCRIPTION,
867 kOsCrOS,
868 SINGLE_VALUE_TYPE(chromeos::switches::kEnableScreensaverExtensions)
869 },
870 {
864 "no-discard-tabs", 871 "no-discard-tabs",
865 IDS_FLAGS_NO_DISCARD_TABS_NAME, 872 IDS_FLAGS_NO_DISCARD_TABS_NAME,
866 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, 873 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION,
867 kOsCrOS, 874 kOsCrOS,
868 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) 875 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs)
869 }, 876 },
870 #endif 877 #endif
871 { 878 {
872 "enable-download-resumption", 879 "enable-download-resumption",
873 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME, 880 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME,
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 } 1690 }
1684 1691
1685 const Experiment* GetExperiments(size_t* count) { 1692 const Experiment* GetExperiments(size_t* count) {
1686 *count = num_experiments; 1693 *count = num_experiments;
1687 return experiments; 1694 return experiments;
1688 } 1695 }
1689 1696
1690 } // namespace testing 1697 } // namespace testing
1691 1698
1692 } // namespace about_flags 1699 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698