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

Unified Diff: services/navigation/public/cpp/view.cc

Issue 2057023002: Adds support for new-tab targeted loads initiated from the renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | « services/navigation/public/cpp/view.h ('k') | services/navigation/public/cpp/view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/public/cpp/view.cc
diff --git a/services/navigation/public/cpp/view.cc b/services/navigation/public/cpp/view.cc
index d660439c40115c8f18f8786deff5b3e4b32e7d20..6a8444279fecdbdc8c536c1f3c56ade683d3dbe7 100644
--- a/services/navigation/public/cpp/view.cc
+++ b/services/navigation/public/cpp/view.cc
@@ -98,6 +98,11 @@ void View::EmbedInWindow(mus::Window* parent) {
////////////////////////////////////////////////////////////////////////////////
// View, mojom::ViewClient implementation:
+void View::OpenURL(mojom::OpenURLParamsPtr params) {
+ if (delegate_)
+ delegate_->OpenURL(this, std::move(params));
+}
+
void View::LoadingStateChanged(bool is_loading) {
is_loading_ = is_loading;
FOR_EACH_OBSERVER(ViewObserver, observers_, LoadingStateChanged(this));
« no previous file with comments | « services/navigation/public/cpp/view.h ('k') | services/navigation/public/cpp/view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698