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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 | 417 |
418 void setupFontBuilder(ComputedStyle& documentStyle); | 418 void setupFontBuilder(ComputedStyle& documentStyle); |
419 | 419 |
420 bool needsLayoutTreeUpdate() const; | 420 bool needsLayoutTreeUpdate() const; |
421 bool needsLayoutTreeUpdateForNode(const Node&) const; | 421 bool needsLayoutTreeUpdateForNode(const Node&) const; |
422 // Update ComputedStyles and attach LayoutObjects if necessary, but don't | 422 // Update ComputedStyles and attach LayoutObjects if necessary, but don't |
423 // lay out. | 423 // lay out. |
424 void updateLayoutTree(); | 424 void updateLayoutTree(); |
425 // Same as updateLayoutTree() except ignoring pending stylesheets. | 425 // Same as updateLayoutTree() except ignoring pending stylesheets. |
426 void updateLayoutTreeIgnorePendingStylesheets(); | 426 void updateLayoutTreeIgnorePendingStylesheets(); |
427 void updateLayoutTreeForNode(Node*); | 427 void updateLayoutTreeForNode(const Node*); |
428 void updateLayout(); | 428 void updateLayout(); |
429 void layoutUpdated(); | 429 void layoutUpdated(); |
430 enum RunPostLayoutTasks { | 430 enum RunPostLayoutTasks { |
431 RunPostLayoutTasksAsyhnchronously, | 431 RunPostLayoutTasksAsyhnchronously, |
432 RunPostLayoutTasksSynchronously, | 432 RunPostLayoutTasksSynchronously, |
433 }; | 433 }; |
434 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout
TasksAsyhnchronously); | 434 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout
TasksAsyhnchronously); |
435 void updateLayoutIgnorePendingStylesheetsForNode(Node*); | 435 void updateLayoutIgnorePendingStylesheetsForNode(Node*); |
436 PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*
); | 436 PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*
); |
437 PassRefPtr<ComputedStyle> styleForPage(int pageIndex); | 437 PassRefPtr<ComputedStyle> styleForPage(int pageIndex); |
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1434 | 1434 |
1435 } // namespace blink | 1435 } // namespace blink |
1436 | 1436 |
1437 #ifndef NDEBUG | 1437 #ifndef NDEBUG |
1438 // Outside the WebCore namespace for ease of invocation from gdb. | 1438 // Outside the WebCore namespace for ease of invocation from gdb. |
1439 CORE_EXPORT void showLiveDocumentInstances(); | 1439 CORE_EXPORT void showLiveDocumentInstances(); |
1440 #endif | 1440 #endif |
1441 | 1441 |
1442 #endif // Document_h | 1442 #endif // Document_h |
OLD | NEW |