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

Unified Diff: Source/core/dom/Document.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 | « LayoutTests/fast/html/navigation-transition-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 0ab8e673f6c778774b999e2cefa155f4d3780864..2261703631d1f34877af1cada2f0a5ae0dc58f59 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -386,10 +386,16 @@ public:
void setIsTransitionDocument() { m_isTransitionDocument = true; }
void hideTransitionElements(const AtomicString& cssSelector);
+ struct TransitionElement {
+ String id;
+ IntRect rect;
+ };
+
struct TransitionElementData {
String scope;
String selector;
String markup;
+ Vector<TransitionElement> elements;
};
void getTransitionElementData(Vector<TransitionElementData>&);
« no previous file with comments | « LayoutTests/fast/html/navigation-transition-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698