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

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

Issue 2738003002: Add title to current page in zero suggest. (Closed)
Patch Set: Fix a nullptr problem that was crashing some UI tests. Created 3 years, 7 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 2722 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS, 2733 flag_descriptions::kEnableZipArchiverOnFileManagerDescription, kOsCrOS,
2734 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)}, 2734 SINGLE_VALUE_TYPE(chromeos::switches::kEnableZipArchiverOnFileManager)},
2735 #endif // OS_CHROMEOS 2735 #endif // OS_CHROMEOS
2736 2736
2737 #if defined(OS_ANDROID) 2737 #if defined(OS_ANDROID)
2738 {"enable-copyless-paste", flag_descriptions::kEnableCopylessPasteName, 2738 {"enable-copyless-paste", flag_descriptions::kEnableCopylessPasteName,
2739 flag_descriptions::kEnableCopylessPasteDescription, kOsAndroid, 2739 flag_descriptions::kEnableCopylessPasteDescription, kOsAndroid,
2740 FEATURE_VALUE_TYPE(features::kCopylessPaste)}, 2740 FEATURE_VALUE_TYPE(features::kCopylessPaste)},
2741 #endif 2741 #endif
2742 2742
2743 {"omnibox-display-title-for-current-url",
2744 flag_descriptions::kOmniboxDisplayTitleForCurrentUrlName,
2745 flag_descriptions::kOmniboxDisplayTitleForCurrentUrlDescription,
2746 kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kDisplayTitleForCurrentUrl)},
2747
2743 {"enable-color-correct-rendering", 2748 {"enable-color-correct-rendering",
2744 flag_descriptions::kColorCorrectRenderingName, 2749 flag_descriptions::kColorCorrectRenderingName,
2745 flag_descriptions::kColorCorrectRenderingDescription, kOsAll, 2750 flag_descriptions::kColorCorrectRenderingDescription, kOsAll,
2746 MULTI_VALUE_TYPE(kColorCorrectRenderingChoices)}, 2751 MULTI_VALUE_TYPE(kColorCorrectRenderingChoices)},
2747 2752
2748 #if defined(OS_CHROMEOS) 2753 #if defined(OS_CHROMEOS)
2749 {"quick-unlock-pin-signin", flag_descriptions::kQuickUnlockPinSignin, 2754 {"quick-unlock-pin-signin", flag_descriptions::kQuickUnlockPinSignin,
2750 flag_descriptions::kQuickUnlockPinSigninDescription, kOsCrOS, 2755 flag_descriptions::kQuickUnlockPinSigninDescription, kOsCrOS,
2751 FEATURE_VALUE_TYPE(features::kQuickUnlockPinSignin)}, 2756 FEATURE_VALUE_TYPE(features::kQuickUnlockPinSignin)},
2752 #endif // OS_CHROMEOS 2757 #endif // OS_CHROMEOS
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2991 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2996 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2992 2997
2993 const FeatureEntry* GetFeatureEntries(size_t* count) { 2998 const FeatureEntry* GetFeatureEntries(size_t* count) {
2994 *count = arraysize(kFeatureEntries); 2999 *count = arraysize(kFeatureEntries);
2995 return kFeatureEntries; 3000 return kFeatureEntries;
2996 } 3001 }
2997 3002
2998 } // namespace testing 3003 } // namespace testing
2999 3004
3000 } // namespace about_flags 3005 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698