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

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

Issue 715653004: Navigation transitions (web to native app): Hide/Show transition elements (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 377
378 bool hasSVGRootNode() const; 378 bool hasSVGRootNode() const;
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 updateTransitionElementOpacity(const AtomicString& cssSelector, const d ouble opacity);
Nate Chapin 2014/11/11 19:35:58 Is there ever a case where the opacity would be so
Zhen Wang 2014/11/11 22:15:49 Change it to hide and show transition elements now
388 388
389 struct TransitionElementData { 389 struct TransitionElementData {
390 String scope; 390 String scope;
391 String selector; 391 String selector;
392 String markup; 392 String markup;
393 }; 393 };
394 void getTransitionElementData(Vector<TransitionElementData>&); 394 void getTransitionElementData(Vector<TransitionElementData>&);
395 395
396 StyleResolver* styleResolver() const; 396 StyleResolver* styleResolver() const;
397 StyleResolver& ensureStyleResolver() const; 397 StyleResolver& ensureStyleResolver() const;
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1421 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1421 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1422 1422
1423 } // namespace blink 1423 } // namespace blink
1424 1424
1425 #ifndef NDEBUG 1425 #ifndef NDEBUG
1426 // Outside the WebCore namespace for ease of invocation from gdb. 1426 // Outside the WebCore namespace for ease of invocation from gdb.
1427 void showLiveDocumentInstances(); 1427 void showLiveDocumentInstances();
1428 #endif 1428 #endif
1429 1429
1430 #endif // Document_h 1430 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698