| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 bool isSrcdocDocument() const { return m_isSrcdocDocument; } | 386 bool isSrcdocDocument() const { return m_isSrcdocDocument; } |
| 387 bool isMobileDocument() const { return m_isMobileDocument; } | 387 bool isMobileDocument() const { return m_isMobileDocument; } |
| 388 | 388 |
| 389 StyleResolver* styleResolverIfExists() const { return m_styleResolver.get();
} | 389 StyleResolver* styleResolverIfExists() const { return m_styleResolver.get();
} |
| 390 | 390 |
| 391 bool isViewSource() const { return m_isViewSource; } | 391 bool isViewSource() const { return m_isViewSource; } |
| 392 void setIsViewSource(bool); | 392 void setIsViewSource(bool); |
| 393 | 393 |
| 394 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames
paces; } | 394 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames
paces; } |
| 395 | 395 |
| 396 StyleResolver* styleResolver() | 396 StyleResolver* styleResolver(); |
| 397 { | |
| 398 if (!m_styleResolver) | |
| 399 createStyleResolver(); | |
| 400 return m_styleResolver.get(); | |
| 401 } | |
| 402 | 397 |
| 403 void notifyRemovePendingSheetIfNeeded(); | 398 void notifyRemovePendingSheetIfNeeded(); |
| 404 | 399 |
| 405 bool haveStylesheetsLoaded() const; | 400 bool haveStylesheetsLoaded() const; |
| 406 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() &&
haveStylesheetsLoaded(); } | 401 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() &&
haveStylesheetsLoaded(); } |
| 407 | 402 |
| 408 // This is a DOM function. | 403 // This is a DOM function. |
| 409 StyleSheetList* styleSheets(); | 404 StyleSheetList* styleSheets(); |
| 410 | 405 |
| 411 StyleEngine* styleEngine() { return m_styleEngine.get(); } | 406 StyleEngine* styleEngine() { return m_styleEngine.get(); } |
| (...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 inline bool Node::isDocumentNode() const | 1371 inline bool Node::isDocumentNode() const |
| 1377 { | 1372 { |
| 1378 return this == documentInternal(); | 1373 return this == documentInternal(); |
| 1379 } | 1374 } |
| 1380 | 1375 |
| 1381 Node* eventTargetNodeForDocument(Document*); | 1376 Node* eventTargetNodeForDocument(Document*); |
| 1382 | 1377 |
| 1383 } // namespace WebCore | 1378 } // namespace WebCore |
| 1384 | 1379 |
| 1385 #endif // Document_h | 1380 #endif // Document_h |
| OLD | NEW |