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

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

Issue 1496953003: [Enhanced Bookmarks] Make enhanced bookmarks default for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase & ios update Created 4 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
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 18 matching lines...) Expand all
29 #include "chrome/common/chrome_content_client.h" 29 #include "chrome/common/chrome_content_client.h"
30 #include "chrome/common/chrome_switches.h" 30 #include "chrome/common/chrome_switches.h"
31 #include "chrome/grit/chromium_strings.h" 31 #include "chrome/grit/chromium_strings.h"
32 #include "chrome/grit/generated_resources.h" 32 #include "chrome/grit/generated_resources.h"
33 #include "chrome/grit/google_chrome_strings.h" 33 #include "chrome/grit/google_chrome_strings.h"
34 #include "components/autofill/core/common/autofill_switches.h" 34 #include "components/autofill/core/common/autofill_switches.h"
35 #include "components/browser_sync/common/browser_sync_switches.h" 35 #include "components/browser_sync/common/browser_sync_switches.h"
36 #include "components/cloud_devices/common/cloud_devices_switches.h" 36 #include "components/cloud_devices/common/cloud_devices_switches.h"
37 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" 37 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h"
38 #include "components/dom_distiller/core/dom_distiller_switches.h" 38 #include "components/dom_distiller/core/dom_distiller_switches.h"
39 #include "components/enhanced_bookmarks/enhanced_bookmark_switches.h"
40 #include "components/flags_ui/feature_entry_macros.h" 39 #include "components/flags_ui/feature_entry_macros.h"
41 #include "components/flags_ui/flags_storage.h" 40 #include "components/flags_ui/flags_storage.h"
42 #include "components/flags_ui/flags_ui_switches.h" 41 #include "components/flags_ui/flags_ui_switches.h"
43 #include "components/nacl/common/nacl_switches.h" 42 #include "components/nacl/common/nacl_switches.h"
44 #include "components/offline_pages/offline_page_switches.h" 43 #include "components/offline_pages/offline_page_switches.h"
45 #include "components/omnibox/browser/omnibox_switches.h" 44 #include "components/omnibox/browser/omnibox_switches.h"
46 #include "components/password_manager/core/common/password_manager_features.h" 45 #include "components/password_manager/core/common/password_manager_features.h"
47 #include "components/password_manager/core/common/password_manager_switches.h" 46 #include "components/password_manager/core/common/password_manager_switches.h"
48 #include "components/proximity_auth/switches.h" 47 #include "components/proximity_auth/switches.h"
49 #include "components/search/search_switches.h" 48 #include "components/search/search_switches.h"
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 kOsCrOS | kOsWin, 1406 kOsCrOS | kOsWin,
1408 SINGLE_VALUE_TYPE(switches::kEnableLinkDisambiguationPopup)}, 1407 SINGLE_VALUE_TYPE(switches::kEnableLinkDisambiguationPopup)},
1409 #endif 1408 #endif
1410 #if defined(ENABLE_EXTENSIONS) 1409 #if defined(ENABLE_EXTENSIONS)
1411 {"enable-apps-show-on-first-paint", 1410 {"enable-apps-show-on-first-paint",
1412 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_NAME, 1411 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_NAME,
1413 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, 1412 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION,
1414 kOsDesktop, 1413 kOsDesktop,
1415 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)}, 1414 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)},
1416 #endif 1415 #endif
1417 {"enhanced-bookmarks-experiment",
1418 IDS_FLAGS_ENHANCED_BOOKMARKS_NAME,
1419 IDS_FLAGS_ENHANCED_BOOKMARKS_DESCRIPTION,
1420 kOsDesktop | kOsAndroid,
1421 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kEnhancedBookmarksExperiment,
1422 "1",
1423 switches::kEnhancedBookmarksExperiment,
1424 "0")},
1425 #if defined(OS_ANDROID) 1416 #if defined(OS_ANDROID)
1426 {"reader-mode-heuristics", 1417 {"reader-mode-heuristics",
1427 IDS_FLAGS_READER_MODE_HEURISTICS_NAME, 1418 IDS_FLAGS_READER_MODE_HEURISTICS_NAME,
1428 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION, 1419 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION,
1429 kOsAndroid, 1420 kOsAndroid,
1430 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, 1421 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)},
1431 {"enable-dom-distiller-button-animation", 1422 {"enable-dom-distiller-button-animation",
1432 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION, 1423 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION,
1433 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION_DESCRIPTION, 1424 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION_DESCRIPTION,
1434 kOsAndroid, 1425 kOsAndroid,
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2327 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2337 2328
2338 const FeatureEntry* GetFeatureEntries(size_t* count) { 2329 const FeatureEntry* GetFeatureEntries(size_t* count) {
2339 *count = arraysize(kFeatureEntries); 2330 *count = arraysize(kFeatureEntries);
2340 return kFeatureEntries; 2331 return kFeatureEntries;
2341 } 2332 }
2342 2333
2343 } // namespace testing 2334 } // namespace testing
2344 2335
2345 } // namespace about_flags 2336 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698