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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 bool isFrameSet() const; 380 bool isFrameSet() const;
381 381
382 bool isSrcdocDocument() const { return m_isSrcdocDocument; } 382 bool isSrcdocDocument() const { return m_isSrcdocDocument; }
383 bool isMobileDocument() const { return m_isMobileDocument; } 383 bool isMobileDocument() const { return m_isMobileDocument; }
384 384
385 bool isTransitionDocument() const { return m_isTransitionDocument; } 385 bool isTransitionDocument() const { return m_isTransitionDocument; }
386 void setIsTransitionDocument() { m_isTransitionDocument = true; } 386 void setIsTransitionDocument() { m_isTransitionDocument = true; }
387 void hideTransitionElements(const AtomicString& cssSelector); 387 void hideTransitionElements(const AtomicString& cssSelector);
388 388
389 struct TransitionElement {
390 String id;
391 IntRect rect;
392 };
393
389 struct TransitionElementData { 394 struct TransitionElementData {
390 String scope; 395 String scope;
391 String selector; 396 String selector;
392 String markup; 397 String markup;
398 Vector<TransitionElement> elements;
393 }; 399 };
394 void getTransitionElementData(Vector<TransitionElementData>&); 400 void getTransitionElementData(Vector<TransitionElementData>&);
395 401
396 StyleResolver* styleResolver() const; 402 StyleResolver* styleResolver() const;
397 StyleResolver& ensureStyleResolver() const; 403 StyleResolver& ensureStyleResolver() const;
398 404
399 bool isViewSource() const { return m_isViewSource; } 405 bool isViewSource() const { return m_isViewSource; }
400 void setIsViewSource(bool); 406 void setIsViewSource(bool);
401 407
402 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } 408 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; }
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1427 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1422 1428
1423 } // namespace blink 1429 } // namespace blink
1424 1430
1425 #ifndef NDEBUG 1431 #ifndef NDEBUG
1426 // Outside the WebCore namespace for ease of invocation from gdb. 1432 // Outside the WebCore namespace for ease of invocation from gdb.
1427 void showLiveDocumentInstances(); 1433 void showLiveDocumentInstances();
1428 #endif 1434 #endif
1429 1435
1430 #endif // Document_h 1436 #endif // Document_h
OLDNEW
« 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