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