WebUI NTP: inline the OneGoogleBar on chrome://new-tab-page
The plan is to inline the OneGoogleBar for M84. The OneGoogleBar and
NTP teams will work towards iframing the OGBOneGoogleBarfor M85.
To support inlining, chrome://new-tab-page needs to be able to make
network request, inline HTML/CSS/javascript and iframe *.google.com (for
the app launcher and profile picture picker).
The feature flag ntp-iframe-one-google-bar can be enabled on
chrome://flags to load the OneGoogleBar in an iframe. When disabled, the
OneGoogleBar is inlined which is the default value.
Bug: 1039913
Change-Id: Ic78c79c761b41ea46f3c96876f03136dc6d44748
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2171712
Reviewed-by: Lei Zhang <[email protected]>
Reviewed-by: Tibor Goldschwendt <[email protected]>
Reviewed-by: Alex Gough <[email protected]>
Commit-Queue: Esmael Elmoslimany <[email protected]>
Cr-Commit-Position: refs/heads/master@{#764837}
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 9911fb58..b04e52f7 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -1609,6 +1609,9 @@
extern const char kNtpDismissPromosName[];
extern const char kNtpDismissPromosDescription[];
+extern const char kNtpIframeOneGoogleBarName[];
+extern const char kNtpIframeOneGoogleBarDescription[];
+
extern const char kNtpRealboxName[];
extern const char kNtpRealboxDescription[];