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

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

Issue 2961533002: Add "AllArticles" mode to Reader Mode heuristics (Closed)
Patch Set: Revert "exclude ios" Created 3 years, 5 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/flag_descriptions.h" 5 #include "chrome/browser/flag_descriptions.h"
6 6
7 namespace flag_descriptions { 7 namespace flag_descriptions {
8 8
9 const char kBrowserSideNavigationName[] = "Enable browser side navigation"; 9 const char kBrowserSideNavigationName[] = "Enable browser side navigation";
10 10
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 1924
1925 #endif // defined(OS_ANDROID) 1925 #endif // defined(OS_ANDROID)
1926 1926
1927 // Reader mode experiment flags 1927 // Reader mode experiment flags
1928 1928
1929 #if defined(OS_ANDROID) 1929 #if defined(OS_ANDROID)
1930 1930
1931 const char kReaderModeHeuristicsName[] = "Reader Mode triggering"; 1931 const char kReaderModeHeuristicsName[] = "Reader Mode triggering";
1932 1932
1933 const char kReaderModeHeuristicsDescription[] = 1933 const char kReaderModeHeuristicsDescription[] =
1934 "Determines what pages the Reader Mode button is shown on."; 1934 "Determines what pages the Reader Mode infobar is shown on.";
1935 1935
1936 const char kReaderModeHeuristicsMarkup[] = "With article structured markup"; 1936 const char kReaderModeHeuristicsMarkup[] = "With article structured markup";
1937 1937
1938 const char kReaderModeHeuristicsAdaboost[] = "Appears to be an article"; 1938 const char kReaderModeHeuristicsAdaboost[] = "Non-mobile-friendly articles";
1939
1940 const char kReaderModeHeuristicsAllArticles[] = "All articles";
1939 1941
1940 const char kReaderModeHeuristicsAlwaysOff[] = "Never"; 1942 const char kReaderModeHeuristicsAlwaysOff[] = "Never";
1941 1943
1942 const char kReaderModeHeuristicsAlwaysOn[] = "Always"; 1944 const char kReaderModeHeuristicsAlwaysOn[] = "Always";
1943 1945
1944 #endif // defined(OS_ANDROID) 1946 #endif // defined(OS_ANDROID)
1945 1947
1946 // Chrome home flags 1948 // Chrome home flags
1947 1949
1948 #if defined(OS_ANDROID) 1950 #if defined(OS_ANDROID)
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after
3245 "in non-sticky mode (do not change work area in non-sticky mode)."; 3247 "in non-sticky mode (do not change work area in non-sticky mode).";
3246 3248
3247 const char kUiDevToolsName[] = "Enable native UI inspection"; 3249 const char kUiDevToolsName[] = "Enable native UI inspection";
3248 const char kUiDevToolsDescription[] = 3250 const char kUiDevToolsDescription[] =
3249 "Enables inspection of native UI elements. For local inspection use " 3251 "Enables inspection of native UI elements. For local inspection use "
3250 "chrome://inspect#other"; 3252 "chrome://inspect#other";
3251 3253
3252 #endif // defined(OS_CHROMEOS) 3254 #endif // defined(OS_CHROMEOS)
3253 3255
3254 } // namespace flag_descriptions 3256 } // namespace flag_descriptions
OLDNEW
« no previous file with comments | « chrome/browser/flag_descriptions.h ('k') | components/dom_distiller/content/renderer/distillability_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698