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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 | 415 |
416 // Special support for editing | 416 // Special support for editing |
417 Text* createEditingTextNode(const String&); | 417 Text* createEditingTextNode(const String&); |
418 | 418 |
419 void setupFontBuilder(ComputedStyle& documentStyle); | 419 void setupFontBuilder(ComputedStyle& documentStyle); |
420 | 420 |
421 bool needsLayoutTreeUpdate() const; | 421 bool needsLayoutTreeUpdate() const; |
422 bool needsLayoutTreeUpdateForNode(const Node&) const; | 422 bool needsLayoutTreeUpdateForNode(const Node&) const; |
423 // Update ComputedStyles and attach LayoutObjects if necessary, but don't | 423 // Update ComputedStyles and attach LayoutObjects if necessary, but don't |
424 // lay out. | 424 // lay out. |
425 void updateLayoutTree(); | 425 void updateStyleAndLayoutTree(); |
426 // Same as updateLayoutTree() except ignoring pending stylesheets. | 426 // Same as updateStyleAndLayoutTree() except ignoring pending stylesheets. |
427 void updateLayoutTreeIgnorePendingStylesheets(); | 427 void updateStyleAndLayoutTreeIgnorePendingStylesheets(); |
428 void updateLayoutTreeForNode(const Node*); | 428 void updateStyleAndLayoutTreeForNode(const Node*); |
429 void updateLayout(); | 429 void updateStyleAndLayout(); |
430 void layoutUpdated(); | 430 void layoutUpdated(); |
431 enum RunPostLayoutTasks { | 431 enum RunPostLayoutTasks { |
432 RunPostLayoutTasksAsyhnchronously, | 432 RunPostLayoutTasksAsyhnchronously, |
433 RunPostLayoutTasksSynchronously, | 433 RunPostLayoutTasksSynchronously, |
434 }; | 434 }; |
435 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout
TasksAsyhnchronously); | 435 void updateStyleAndLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPo
stLayoutTasksAsyhnchronously); |
436 void updateLayoutIgnorePendingStylesheetsForNode(Node*); | 436 void updateStyleAndLayoutIgnorePendingStylesheetsForNode(Node*); |
437 PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*
); | 437 PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*
); |
438 PassRefPtr<ComputedStyle> styleForPage(int pageIndex); | 438 PassRefPtr<ComputedStyle> styleForPage(int pageIndex); |
439 | 439 |
440 // Returns true if page box (margin boxes and page borders) is visible. | 440 // Returns true if page box (margin boxes and page borders) is visible. |
441 bool isPageBoxVisible(int pageIndex); | 441 bool isPageBoxVisible(int pageIndex); |
442 | 442 |
443 // Returns the preferred page size and margins in pixels, assuming 96 | 443 // Returns the preferred page size and margins in pixels, assuming 96 |
444 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, | 444 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, |
445 // marginLeft must be initialized to the default values that are used if | 445 // marginLeft must be initialized to the default values that are used if |
446 // auto is specified. | 446 // auto is specified. |
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1436 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1437 | 1437 |
1438 } // namespace blink | 1438 } // namespace blink |
1439 | 1439 |
1440 #ifndef NDEBUG | 1440 #ifndef NDEBUG |
1441 // Outside the WebCore namespace for ease of invocation from gdb. | 1441 // Outside the WebCore namespace for ease of invocation from gdb. |
1442 CORE_EXPORT void showLiveDocumentInstances(); | 1442 CORE_EXPORT void showLiveDocumentInstances(); |
1443 #endif | 1443 #endif |
1444 | 1444 |
1445 #endif // Document_h | 1445 #endif // Document_h |
OLD | NEW |