OLD | NEW |
---|---|
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 Loading... | |
378 | 378 |
379 bool isFrameSet() const; | 379 bool isFrameSet() const; |
380 | 380 |
381 bool isSrcdocDocument() const { return m_isSrcdocDocument; } | 381 bool isSrcdocDocument() const { return m_isSrcdocDocument; } |
382 bool isMobileDocument() const { return m_isMobileDocument; } | 382 bool isMobileDocument() const { return m_isMobileDocument; } |
383 | 383 |
384 bool isTransitionDocument() const { return m_isTransitionDocument; } | 384 bool isTransitionDocument() const { return m_isTransitionDocument; } |
385 void setIsTransitionDocument() { m_isTransitionDocument = true; } | 385 void setIsTransitionDocument() { m_isTransitionDocument = true; } |
386 void hideTransitionElements(const AtomicString& cssSelector); | 386 void hideTransitionElements(const AtomicString& cssSelector); |
387 | 387 |
388 struct TransitionElement { | |
389 String name; | |
Nate Chapin
2014/11/05 18:29:43
Given that this is set based on the elment's id, s
Zhen Wang
2014/11/06 17:59:26
I see your point.
I use "name" here because the
Nate Chapin
2014/11/11 00:28:17
Hrm. I guess consistency trumps having a sane name
Zhen Wang
2014/11/11 15:12:20
I see. Using "id" now.
| |
390 IntRect rect; | |
391 }; | |
392 | |
388 struct TransitionElementData { | 393 struct TransitionElementData { |
389 String scope; | 394 String scope; |
390 String selector; | 395 String selector; |
391 String markup; | 396 String markup; |
397 Vector<TransitionElement> elements; | |
392 }; | 398 }; |
393 void getTransitionElementData(Vector<TransitionElementData>&); | 399 void getTransitionElementData(Vector<TransitionElementData>&); |
394 | 400 |
395 StyleResolver* styleResolver() const; | 401 StyleResolver* styleResolver() const; |
396 StyleResolver& ensureStyleResolver() const; | 402 StyleResolver& ensureStyleResolver() const; |
397 | 403 |
398 bool isViewSource() const { return m_isViewSource; } | 404 bool isViewSource() const { return m_isViewSource; } |
399 void setIsViewSource(bool); | 405 void setIsViewSource(bool); |
400 | 406 |
401 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } | 407 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } |
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1415 Node* eventTargetNodeForDocument(Document*); | 1421 Node* eventTargetNodeForDocument(Document*); |
1416 | 1422 |
1417 } // namespace blink | 1423 } // namespace blink |
1418 | 1424 |
1419 #ifndef NDEBUG | 1425 #ifndef NDEBUG |
1420 // Outside the WebCore namespace for ease of invocation from gdb. | 1426 // Outside the WebCore namespace for ease of invocation from gdb. |
1421 void showLiveDocumentInstances(); | 1427 void showLiveDocumentInstances(); |
1422 #endif | 1428 #endif |
1423 | 1429 |
1424 #endif // Document_h | 1430 #endif // Document_h |
OLD | NEW |