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

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

Issue 2553263002: Remove code to defer app window appearance until first paint. (Closed)
Patch Set: nit Created 4 years 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 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 FEATURE_VALUE_TYPE(features::kNativeNotifications)}, 1299 FEATURE_VALUE_TYPE(features::kNativeNotifications)},
1300 #endif // OS_MACOSX 1300 #endif // OS_MACOSX
1301 #if defined(TOOLKIT_VIEWS) 1301 #if defined(TOOLKIT_VIEWS)
1302 {"disable-views-rect-based-targeting", 1302 {"disable-views-rect-based-targeting",
1303 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_NAME, 1303 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_NAME,
1304 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, 1304 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_DESCRIPTION,
1305 kOsCrOS | kOsWin | kOsLinux, 1305 kOsCrOS | kOsWin | kOsLinux,
1306 SINGLE_DISABLE_VALUE_TYPE( 1306 SINGLE_DISABLE_VALUE_TYPE(
1307 views::switches::kDisableViewsRectBasedTargeting)}, 1307 views::switches::kDisableViewsRectBasedTargeting)},
1308 #endif // TOOLKIT_VIEWS 1308 #endif // TOOLKIT_VIEWS
1309 #if BUILDFLAG(ENABLE_EXTENSIONS)
1310 {"enable-apps-show-on-first-paint", IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_NAME,
1311 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, kOsDesktop,
1312 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)},
1313 #endif // ENABLE_EXTENSIONS
1314 #if defined(OS_ANDROID) 1309 #if defined(OS_ANDROID)
1315 {"reader-mode-heuristics", IDS_FLAGS_READER_MODE_HEURISTICS_NAME, 1310 {"reader-mode-heuristics", IDS_FLAGS_READER_MODE_HEURISTICS_NAME,
1316 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION, kOsAndroid, 1311 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION, kOsAndroid,
1317 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, 1312 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)},
1318 #endif // OS_ANDROID 1313 #endif // OS_ANDROID
1319 #if defined(OS_ANDROID) 1314 #if defined(OS_ANDROID)
1320 {"enable-chrome-home", IDS_FLAGS_CHROME_HOME_NAME, 1315 {"enable-chrome-home", IDS_FLAGS_CHROME_HOME_NAME,
1321 IDS_FLAGS_CHROME_HOME_DESCRIPTION, kOsAndroid, 1316 IDS_FLAGS_CHROME_HOME_DESCRIPTION, kOsAndroid,
1322 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeFeature)}, 1317 FEATURE_VALUE_TYPE(chrome::android::kChromeHomeFeature)},
1323 #endif // OS_ANDROID 1318 #endif // OS_ANDROID
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
2305 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2300 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2306 2301
2307 const FeatureEntry* GetFeatureEntries(size_t* count) { 2302 const FeatureEntry* GetFeatureEntries(size_t* count) {
2308 *count = arraysize(kFeatureEntries); 2303 *count = arraysize(kFeatureEntries);
2309 return kFeatureEntries; 2304 return kFeatureEntries;
2310 } 2305 }
2311 2306
2312 } // namespace testing 2307 } // namespace testing
2313 2308
2314 } // namespace about_flags 2309 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/api/tabs/ash_panel_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698