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

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

Issue 3461016: [Mac] Convert the page info window to a bubble. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Address nits Created 10 years, 2 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/browser/cocoa/page_info_window_mac.mm ('k') | chrome/browser/page_info_model.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/labs.h" 5 #include "chrome/browser/labs.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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // On other platforms, this lab isn't available at all. 94 // On other platforms, this lab isn't available at all.
95 0, 95 0,
96 #endif 96 #endif
97 kOsWin | kOsLinux, 97 kOsWin | kOsLinux,
98 switches::kEnableRemoting 98 switches::kEnableRemoting
99 }, 99 },
100 { 100 {
101 "page-info-bubble", // Do not change; see above. 101 "page-info-bubble", // Do not change; see above.
102 IDS_LABS_PAGE_INFO_BUBBLE_NAME, 102 IDS_LABS_PAGE_INFO_BUBBLE_NAME,
103 IDS_LABS_PAGE_INFO_BUBBLE_DESCRIPTION, 103 IDS_LABS_PAGE_INFO_BUBBLE_DESCRIPTION,
104 kOsWin | kOsLinux, 104 kOsAll,
105 switches::kEnableNewPageInfoBubble 105 switches::kEnableNewPageInfoBubble
106 }, 106 },
107 { 107 {
108 "disable-outdated-plugins", // Do not change; see above. 108 "disable-outdated-plugins", // Do not change; see above.
109 IDS_LABS_DISABLE_OUTDATED_PLUGINS_NAME, 109 IDS_LABS_DISABLE_OUTDATED_PLUGINS_NAME,
110 IDS_LABS_DISABLE_OUTDATED_PLUGINS_DESCRIPTION, 110 IDS_LABS_DISABLE_OUTDATED_PLUGINS_DESCRIPTION,
111 kOsAll, 111 kOsAll,
112 switches::kDisableOutdatedPlugins 112 switches::kDisableOutdatedPlugins
113 }, 113 },
114 }; 114 };
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 if (enable) 269 if (enable)
270 enabled_experiments.insert(internal_name); 270 enabled_experiments.insert(internal_name);
271 else 271 else
272 enabled_experiments.erase(internal_name); 272 enabled_experiments.erase(internal_name);
273 273
274 SetEnabledLabs(profile->GetPrefs(), enabled_experiments); 274 SetEnabledLabs(profile->GetPrefs(), enabled_experiments);
275 } 275 }
276 276
277 } // namespace Labs 277 } // namespace Labs
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/page_info_window_mac.mm ('k') | chrome/browser/page_info_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698