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

Unified Diff: chrome/browser/about_flags.cc

Issue 1196553009: Revert "cc: Make tiling interest rect calc based on viewport." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert extra bools. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6091a6f1a24fede1806c08cd93c7b333fce3458f..c9c302b8c94855392e49bc84cfc82b21ebfe9c78 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -234,6 +234,18 @@ const Experiment::Choice kDataReductionProxyLoFiChoices[] = {
data_reduction_proxy::switches::kDataReductionProxyLoFiValueDisabled}
};
+const Experiment::Choice kMaxTilesForInterestAreaChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_SHORT,
+ cc::switches::kMaxTilesForInterestArea, "64"},
+ { IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_TALL,
+ cc::switches::kMaxTilesForInterestArea, "128"},
+ { IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_GRANDE,
+ cc::switches::kMaxTilesForInterestArea, "256"},
+ { IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_VENTI,
+ cc::switches::kMaxTilesForInterestArea, "512"}
+};
+
const Experiment::Choice kShowSavedCopyChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
{ IDS_FLAGS_ENABLE_SHOW_SAVED_COPY_PRIMARY,
@@ -1129,6 +1141,12 @@ const Experiment kExperiments[] = {
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDelegatedRenderer,
switches::kDisableDelegatedRenderer)},
#endif
+ {"max-tiles-for-interest-area",
+ IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME,
+ IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_DESCRIPTION,
+ kOsAll,
+ MULTI_VALUE_TYPE(kMaxTilesForInterestAreaChoices)
+ },
{"enable-offer-store-unmasked-wallet-cards",
IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS,
IDS_FLAGS_ENABLE_OFFER_STORE_UNMASKED_WALLET_CARDS_DESCRIPTION,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698