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

Unified Diff: public/web/WebFrameClient.h

Issue 654953002: Navigation transitions (web to native app): Get names and rects of transition elements (Step 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fix Created 6 years, 1 month 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
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 897ff1cd1808079652ac74e4e64a01ff370d2e60..5169fa23b38ad2bd52df832dc1c234a4b583782f 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -95,6 +95,7 @@ struct WebPluginParams;
struct WebPopupMenuInfo;
struct WebRect;
struct WebSize;
+struct WebTransitionElementData;
struct WebURLError;
class WebFrameClient {
@@ -312,7 +313,11 @@ public:
// Transition navigations -----------------------------------------------
// Provides serialized markup of transition elements for use in the following navigation.
+ virtual void addNavigationTransitionData(const WebTransitionElementData&) { }
+
+ // TODO(zhenw): remove the following two addNavigationTransitionData() functions after the chrome side is done.
Nate Chapin 2014/11/11 00:28:17 TODO(zhew)->FIXME
Zhen Wang 2014/11/11 15:12:20 Done.
virtual void addNavigationTransitionData(const WebString& allowedDestinationOrigin, const WebString& selector, const WebString& markup) { }
+ virtual void addNavigationTransitionData(const WebString& allowedDestinationOrigin, const WebString& selector, const WebString& markup, const WebVector<WebString>& names, const WebVector<WebRect>& rects) { }
// Web Notifications ---------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698