| 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 // Same as updateLayoutTree() except ignoring pending stylesheets. | 428 // Same as updateLayoutTree() except ignoring pending stylesheets. |
| 429 void updateLayoutTreeIgnorePendingStylesheets(); | 429 void updateLayoutTreeIgnorePendingStylesheets(); |
| 430 void updateLayoutTreeForNode(Node*); | 430 void updateLayoutTreeForNode(Node*); |
| 431 void updateLayout(); | 431 void updateLayout(); |
| 432 void layoutUpdated(); | 432 void layoutUpdated(); |
| 433 enum RunPostLayoutTasks { | 433 enum RunPostLayoutTasks { |
| 434 RunPostLayoutTasksAsyhnchronously, | 434 RunPostLayoutTasksAsyhnchronously, |
| 435 RunPostLayoutTasksSynchronously, | 435 RunPostLayoutTasksSynchronously, |
| 436 }; | 436 }; |
| 437 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout
TasksAsyhnchronously); | 437 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout
TasksAsyhnchronously); |
| 438 void updateLayoutIgnorePendingStylesheetsForNode(Node*); |
| 438 PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*
); | 439 PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*
); |
| 439 PassRefPtr<ComputedStyle> styleForPage(int pageIndex); | 440 PassRefPtr<ComputedStyle> styleForPage(int pageIndex); |
| 440 | 441 |
| 441 // Returns true if page box (margin boxes and page borders) is visible. | 442 // Returns true if page box (margin boxes and page borders) is visible. |
| 442 bool isPageBoxVisible(int pageIndex); | 443 bool isPageBoxVisible(int pageIndex); |
| 443 | 444 |
| 444 // Returns the preferred page size and margins in pixels, assuming 96 | 445 // Returns the preferred page size and margins in pixels, assuming 96 |
| 445 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, | 446 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, |
| 446 // marginLeft must be initialized to the default values that are used if | 447 // marginLeft must be initialized to the default values that are used if |
| 447 // auto is specified. | 448 // auto is specified. |
| (...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1448 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1448 | 1449 |
| 1449 } // namespace blink | 1450 } // namespace blink |
| 1450 | 1451 |
| 1451 #ifndef NDEBUG | 1452 #ifndef NDEBUG |
| 1452 // Outside the WebCore namespace for ease of invocation from gdb. | 1453 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1453 CORE_EXPORT void showLiveDocumentInstances(); | 1454 CORE_EXPORT void showLiveDocumentInstances(); |
| 1454 #endif | 1455 #endif |
| 1455 | 1456 |
| 1456 #endif // Document_h | 1457 #endif // Document_h |
| OLD | NEW |