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

Unified Diff: content/renderer/render_frame_impl.h

Issue 679813003: Navigation transitions (web to native app): Get names and rects of transition elements (Step 3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/public/common/transition_element.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 593fa80d4046545198cf9d291bf4bed5335db11d..ac59f3b994a63525b959e73ca8893ecc5c4cd3fc 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -28,6 +28,7 @@
#include "third_party/WebKit/public/web/WebDataSource.h"
#include "third_party/WebKit/public/web/WebFrameClient.h"
#include "third_party/WebKit/public/web/WebHistoryCommitType.h"
+#include "third_party/WebKit/public/web/WebTransitionElementData.h"
#include "ui/gfx/range/range.h"
#if defined(OS_ANDROID)
@@ -51,6 +52,7 @@ class WebSecurityOrigin;
struct WebCompositionUnderline;
struct WebContextMenuData;
struct WebCursorInfo;
+struct WebTransitionElementData;
}
namespace gfx {
@@ -380,15 +382,13 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebHistoryCommitType commit_type);
virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame);
virtual void addNavigationTransitionData(
- const blink::WebString& allowedDestinationOrigin,
- const blink::WebString& selector,
- const blink::WebString& markup);
- virtual void addNavigationTransitionData(
const blink::WebString& allowedDestinationOrigin,
const blink::WebString& selector,
const blink::WebString& markup,
- const blink::WebVector<blink::WebString>& web_names,
+ const blink::WebVector<blink::WebString>& web_ids,
const blink::WebVector<blink::WebRect>& web_rects);
+ virtual void addNavigationTransitionData(
+ const blink::WebTransitionElementData& data);
virtual void didChangeThemeColor();
virtual void requestNotificationPermission(
const blink::WebSecurityOrigin& origin,
« no previous file with comments | « content/public/common/transition_element.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698