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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

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: Created 6 years, 2 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
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 107504056be14563f79a833c878ac0f713516dbe..0e1236b79ac1eb43b224afdf69436f629d0796ed 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -478,10 +478,15 @@ NavigationPolicy FrameLoaderClientImpl::decidePolicyForNavigation(const Resource
return static_cast<NavigationPolicy>(webPolicy);
}
-void FrameLoaderClientImpl::dispatchAddNavigationTransitionData(const String& allowedDestinationOrigin, const String& selector, const String& markup)
+void FrameLoaderClientImpl::dispatchAddNavigationTransitionData(
+ const String& allowedDestinationOrigin, const String& selector,
+ const String& markup, const Vector<String>& names,
esprehn 2014/10/21 20:50:49 pass a struct instead of a long list of args.
Zhen Wang 2014/10/21 21:36:48 Currently the implementation uses this interface.
+ const Vector<IntRect>& rects)
{
- if (m_webFrame->client())
- m_webFrame->client()->addNavigationTransitionData(allowedDestinationOrigin, selector, markup);
+ if (m_webFrame->client()) {
+ m_webFrame->client()->addNavigationTransitionData(
+ allowedDestinationOrigin, selector, markup, names, rects);
+ }
}
void FrameLoaderClientImpl::dispatchWillRequestResource(FetchRequest* request)

Powered by Google App Engine
This is Rietveld 408576698