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

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

Issue 1693583002: Add browser test for notification action icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ActionIconToJava
Patch Set: Rebase. Created 4 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
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 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 {"enable-translate-new-ux", IDS_FLAGS_TRANSLATE_NEW_UX_NAME, 1223 {"enable-translate-new-ux", IDS_FLAGS_TRANSLATE_NEW_UX_NAME,
1224 IDS_FLAGS_TRANSLATE_NEW_UX_DESCRIPTION, kOsMac, 1224 IDS_FLAGS_TRANSLATE_NEW_UX_DESCRIPTION, kOsMac,
1225 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTranslateNewUX, 1225 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTranslateNewUX,
1226 switches::kDisableTranslateNewUX)}, 1226 switches::kDisableTranslateNewUX)},
1227 #endif 1227 #endif
1228 #if defined(OS_MACOSX) 1228 #if defined(OS_MACOSX)
1229 {"enable-native-notifications", IDS_NOTIFICATIONS_NATIVE_FLAG, 1229 {"enable-native-notifications", IDS_NOTIFICATIONS_NATIVE_FLAG,
1230 IDS_NOTIFICATIONS_NATIVE_FLAG_DESCRIPTION, kOsMac, 1230 IDS_NOTIFICATIONS_NATIVE_FLAG_DESCRIPTION, kOsMac,
1231 SINGLE_VALUE_TYPE(switches::kEnableNativeNotifications)}, 1231 SINGLE_VALUE_TYPE(switches::kEnableNativeNotifications)},
1232 #endif 1232 #endif
1233 #if defined(ENABLE_NOTIFICATIONS)
1234 {"enable-notification-action-icons",
1235 IDS_FLAGS_ENABLE_NOTIFICATION_ACTION_ICONS_NAME,
1236 IDS_FLAGS_ENABLE_NOTIFICATION_ACTION_ICONS_DESCRIPTION, kOsAll,
1237 SINGLE_VALUE_TYPE(switches::kEnableNotificationActionIcons)},
1238 #endif
1233 #if defined(TOOLKIT_VIEWS) 1239 #if defined(TOOLKIT_VIEWS)
1234 {"disable-views-rect-based-targeting", // FLAGS:RECORD_UMA 1240 {"disable-views-rect-based-targeting", // FLAGS:RECORD_UMA
1235 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_NAME, 1241 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_NAME,
1236 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, 1242 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_DESCRIPTION,
1237 kOsCrOS | kOsWin | kOsLinux, 1243 kOsCrOS | kOsWin | kOsLinux,
1238 SINGLE_DISABLE_VALUE_TYPE( 1244 SINGLE_DISABLE_VALUE_TYPE(
1239 views::switches::kDisableViewsRectBasedTargeting)}, 1245 views::switches::kDisableViewsRectBasedTargeting)},
1240 {"enable-link-disambiguation-popup", 1246 {"enable-link-disambiguation-popup",
1241 IDS_FLAGS_LINK_DISAMBIGUATION_POPUP_NAME, 1247 IDS_FLAGS_LINK_DISAMBIGUATION_POPUP_NAME,
1242 IDS_FLAGS_LINK_DISAMBIGUATION_POPUP_DESCRIPTION, kOsCrOS | kOsWin, 1248 IDS_FLAGS_LINK_DISAMBIGUATION_POPUP_DESCRIPTION, kOsCrOS | kOsWin,
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
2025 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2031 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2026 2032
2027 const FeatureEntry* GetFeatureEntries(size_t* count) { 2033 const FeatureEntry* GetFeatureEntries(size_t* count) {
2028 *count = arraysize(kFeatureEntries); 2034 *count = arraysize(kFeatureEntries);
2029 return kFeatureEntries; 2035 return kFeatureEntries;
2030 } 2036 }
2031 2037
2032 } // namespace testing 2038 } // namespace testing
2033 2039
2034 } // namespace about_flags 2040 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/notifications/platform_notification_service_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698