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

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
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebTransitionElementData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index ac548160e4dc6ac9a803065f82a765b7568c894c..26e01aac19c4e9e348928edeca2d317141ed8c70 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -96,6 +96,7 @@ struct WebPluginParams;
struct WebPopupMenuInfo;
struct WebRect;
struct WebSize;
+struct WebTransitionElementData;
struct WebURLError;
class WebFrameClient {
@@ -313,7 +314,11 @@ public:
// Transition navigations -----------------------------------------------
// Provides serialized markup of transition elements for use in the following navigation.
+ virtual void addNavigationTransitionData(const WebTransitionElementData&) { }
+
+ // FIXME: remove the following two addNavigationTransitionData() functions after the chrome side is 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>& ids, const WebVector<WebRect>& rects) { }
// Web Notifications ---------------------------------------------------
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | public/web/WebTransitionElementData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698