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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 StyleEngine* styleEngine() { return m_styleEngine.get(); } | 471 StyleEngine* styleEngine() { return m_styleEngine.get(); } |
472 | 472 |
473 bool gotoAnchorNeededAfterStylesheetsLoad() { return m_gotoAnchorNeededAfter
StylesheetsLoad; } | 473 bool gotoAnchorNeededAfterStylesheetsLoad() { return m_gotoAnchorNeededAfter
StylesheetsLoad; } |
474 void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { m_gotoAnchorNeededAft
erStylesheetsLoad = b; } | 474 void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { m_gotoAnchorNeededAft
erStylesheetsLoad = b; } |
475 | 475 |
476 // Called when one or more stylesheets in the document may have been added,
removed, or changed. | 476 // Called when one or more stylesheets in the document may have been added,
removed, or changed. |
477 void styleResolverChanged(RecalcStyleTime, StyleResolverUpdateMode = FullSty
leUpdate); | 477 void styleResolverChanged(RecalcStyleTime, StyleResolverUpdateMode = FullSty
leUpdate); |
478 | 478 |
479 // FIXME: Switch all callers of styleResolverChanged to these or better ones
and then make them | 479 // FIXME: Switch all callers of styleResolverChanged to these or better ones
and then make them |
480 // do something smarter. | 480 // do something smarter. |
481 void removedStyleSheet(StyleSheet*, RecalcStyleTime when = RecalcStyleDeferr
ed) { styleResolverChanged(when); } | 481 void removedStyleSheet(StyleSheet*, RecalcStyleTime when = RecalcStyleDeferr
ed, StyleResolverUpdateMode = FullStyleUpdate); |
482 void addedStyleSheet(StyleSheet*, RecalcStyleTime when = RecalcStyleDeferred
) { styleResolverChanged(when); } | 482 void addedStyleSheet(StyleSheet*, RecalcStyleTime when = RecalcStyleDeferred
) { styleResolverChanged(when); } |
483 void modifiedStyleSheet(StyleSheet*, RecalcStyleTime when = RecalcStyleDefer
red) { styleResolverChanged(when); } | 483 void modifiedStyleSheet(StyleSheet*, RecalcStyleTime when = RecalcStyleDefer
red, StyleResolverUpdateMode = FullStyleUpdate); |
484 void changedSelectorWatch() { styleResolverChanged(RecalcStyleDeferred); } | 484 void changedSelectorWatch() { styleResolverChanged(RecalcStyleDeferred); } |
485 | 485 |
486 void didAccessStyleResolver() { ++m_styleResolverAccessCount; } | 486 void didAccessStyleResolver() { ++m_styleResolverAccessCount; } |
487 | 487 |
488 void evaluateMediaQueryList(); | 488 void evaluateMediaQueryList(); |
489 | 489 |
490 // Never returns 0. | 490 // Never returns 0. |
491 FormController* formController(); | 491 FormController* formController(); |
492 Vector<String> formElementsState() const; | 492 Vector<String> formElementsState() const; |
493 void setStateForNewFormElements(const Vector<String>&); | 493 void setStateForNewFormElements(const Vector<String>&); |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 inline bool Node::isDocumentNode() const | 1450 inline bool Node::isDocumentNode() const |
1451 { | 1451 { |
1452 return this == documentInternal(); | 1452 return this == documentInternal(); |
1453 } | 1453 } |
1454 | 1454 |
1455 Node* eventTargetNodeForDocument(Document*); | 1455 Node* eventTargetNodeForDocument(Document*); |
1456 | 1456 |
1457 } // namespace WebCore | 1457 } // namespace WebCore |
1458 | 1458 |
1459 #endif // Document_h | 1459 #endif // Document_h |
OLD | NEW |