Add chrome-search://local-ntp/doodle.js
Add a feature to enable it, and expose the ddljson feature to all
platforms so the test doodles can be used with it.
Bug: 583290
Change-Id: I82cb2b7fe849ebfcac09a50bc062220c2ee332d4
Reviewed-on: https://chromium-review.googlesource.com/612178
Commit-Queue: Chris Pickel <[email protected]>
Reviewed-by: Marc Treib <[email protected]>
Cr-Commit-Position: refs/heads/master@{#497001}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index d390d7f..d71b81ba 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -1303,6 +1303,10 @@
const char kUiPartialSwapName[] = "Partial swap";
const char kUiPartialSwapDescription[] = "Sets partial swap behavior.";
+const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
+const char kUseDdljsonApiDescription[] =
+ "Enables the new ddljson API to fetch Doodles for the NTP.";
+
const char kUserConsentForExtensionScriptsName[] =
"User consent for extension scripts";
const char kUserConsentForExtensionScriptsDescription[] =
@@ -1930,10 +1934,6 @@
"Use Android Midi API for WebMIDI (effective only with Android M+ "
"devices).";
-const char kUseDdljsonApiName[] = "Use new ddljson API for Doodles";
-const char kUseDdljsonApiDescription[] =
- "Enables the new ddljson API to fetch Doodles for the NTP.";
-
const char kThirdPartyDoodlesName[] =
"Enable Doodles for third-party search engines";
const char kThirdPartyDoodlesDescription[] =
@@ -1957,6 +1957,11 @@
const char kAccountConsistencyChoiceMirror[] = "Mirror";
const char kAccountConsistencyChoiceDice[] = "Dice";
+const char kDoodlesOnLocalNtpName[] = "Enable doodles on the local NTP";
+const char kDoodlesOnLocalNtpDescription[] =
+ "Show doodles on the local New Tab page if Google is the default search "
+ "engine.";
+
const char kEnableAudioFocusName[] = "Manage audio focus across tabs";
const char kEnableAudioFocusDescription[] =
"Manage audio focus across tabs to improve the audio mixing.";