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

Unified Diff: services/navigation/public/cpp/view_delegate.h

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.cc ('k') | services/navigation/public/interfaces/view.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/public/cpp/view_delegate.h
diff --git a/services/navigation/public/cpp/view_delegate.h b/services/navigation/public/cpp/view_delegate.h
index feb9d2a24f9b8779657b8444d5b1bad70327e0a8..d7c58005d5a2a959deb72ef556545c968529608f 100644
--- a/services/navigation/public/cpp/view_delegate.h
+++ b/services/navigation/public/cpp/view_delegate.h
@@ -36,6 +36,10 @@ class ViewDelegate {
// Called when an action within the page has requested that the View be
// closed.
virtual void Close(View* source) = 0;
+
+ // Called when the application in the source view wants the delegate to
+ // navigate the view according to |params|.
+ virtual void OpenURL(View* source, mojom::OpenURLParamsPtr params) = 0;
};
} // namespace navigation
« no previous file with comments | « services/navigation/public/cpp/view.cc ('k') | services/navigation/public/interfaces/view.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698