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

Side by Side Diff: Source/core/dom/Document.h

Issue 653223002: Navigation transitions (web to native app): Revert exit transition (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 bool isMediaDocument() const { return m_documentClasses & MediaDocumentClass ; } 378 bool isMediaDocument() const { return m_documentClasses & MediaDocumentClass ; }
379 379
380 bool hasSVGRootNode() const; 380 bool hasSVGRootNode() const;
381 381
382 bool isFrameSet() const; 382 bool isFrameSet() const;
383 383
384 bool isSrcdocDocument() const { return m_isSrcdocDocument; } 384 bool isSrcdocDocument() const { return m_isSrcdocDocument; }
385 bool isMobileDocument() const { return m_isMobileDocument; } 385 bool isMobileDocument() const { return m_isMobileDocument; }
386 386
387 bool isTransitionDocument() const { return m_isTransitionDocument; } 387 bool isTransitionDocument() const { return m_isTransitionDocument; }
388 void setIsTransitionDocument() { m_isTransitionDocument = true; } 388 void setIsTransitionDocument() { m_isTransitionDocument = true; }
Nate Chapin 2014/12/05 23:11:36 should this take a boolean, rather than having a s
Zhen Wang 2014/12/06 00:57:37 Done.
389 void resetIsTransitionDocument() { m_isTransitionDocument = false; }
389 void hideTransitionElements(const AtomicString& cssSelector); 390 void hideTransitionElements(const AtomicString& cssSelector);
390 void showTransitionElements(const AtomicString& cssSelector); 391 void showTransitionElements(const AtomicString& cssSelector);
391 392
392 struct TransitionElement { 393 struct TransitionElement {
393 String id; 394 String id;
394 IntRect rect; 395 IntRect rect;
395 }; 396 };
396 397
397 struct TransitionElementData { 398 struct TransitionElementData {
398 String scope; 399 String scope;
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1423 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1423 1424
1424 } // namespace blink 1425 } // namespace blink
1425 1426
1426 #ifndef NDEBUG 1427 #ifndef NDEBUG
1427 // Outside the WebCore namespace for ease of invocation from gdb. 1428 // Outside the WebCore namespace for ease of invocation from gdb.
1428 void showLiveDocumentInstances(); 1429 void showLiveDocumentInstances();
1429 #endif 1430 #endif
1430 1431
1431 #endif // Document_h 1432 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698