Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 17e7770b70bf3fa18b29158ec3d24353233ff509..25b35e3988597282f8d7f8b917930b9f3f1c085d 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&) { } |
+ |
+ // TODO(zhenw): remove the following two addNavigationTransitionData() functions after the chrome side is done. |
Nate Chapin
2014/11/05 18:29:43
TODO->FIXME
Zhen Wang
2014/11/06 17:59:26
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) { } |
Nate Chapin
2014/11/05 18:29:43
Is this intermediate api actually necessary?
Zhen Wang
2014/11/06 17:59:26
In theory, not necessary. But in reality, we need
Nate Chapin
2014/11/11 00:28:17
Huh, that seems strange, but I guess it's OK. So l
|
// Web Notifications --------------------------------------------------- |