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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 bool isPageBoxVisible(int pageIndex); | 463 bool isPageBoxVisible(int pageIndex); |
464 | 464 |
465 // Returns the preferred page size and margins in pixels, assuming 96 | 465 // Returns the preferred page size and margins in pixels, assuming 96 |
466 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, | 466 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, |
467 // marginLeft must be initialized to the default values that are used if | 467 // marginLeft must be initialized to the default values that are used if |
468 // auto is specified. | 468 // auto is specified. |
469 void pageSizeAndMarginsInPixels(int pageIndex, DoubleSize& pageSize, int& ma
rginTop, int& marginRight, int& marginBottom, int& marginLeft); | 469 void pageSizeAndMarginsInPixels(int pageIndex, DoubleSize& pageSize, int& ma
rginTop, int& marginRight, int& marginBottom, int& marginLeft); |
470 | 470 |
471 ResourceFetcher* fetcher() { return m_fetcher.get(); } | 471 ResourceFetcher* fetcher() { return m_fetcher.get(); } |
472 | 472 |
473 void attachLayoutTree(const AttachContext& = AttachContext()) override; | 473 void initialize(); |
474 void detachLayoutTree(const AttachContext& = AttachContext()) override; | 474 virtual void shutdown(); |
| 475 |
| 476 void attachLayoutTree(const AttachContext& = AttachContext()) override |
| 477 { |
| 478 NOTREACHED(); |
| 479 } |
| 480 void detachLayoutTree(const AttachContext& = AttachContext()) override |
| 481 { |
| 482 NOTREACHED(); |
| 483 } |
475 | 484 |
476 // If you have a Document, use layoutView() instead which is faster. | 485 // If you have a Document, use layoutView() instead which is faster. |
477 void layoutObject() const = delete; | 486 void layoutObject() const = delete; |
478 | 487 |
479 LayoutView* layoutView() const { return m_layoutView; } | 488 LayoutView* layoutView() const { return m_layoutView; } |
480 LayoutViewItem layoutViewItem() const; | 489 LayoutViewItem layoutViewItem() const; |
481 | 490 |
482 Document& axObjectCacheOwner() const; | 491 Document& axObjectCacheOwner() const; |
483 AXObjectCache* existingAXObjectCache() const; | 492 AXObjectCache* existingAXObjectCache() const; |
484 AXObjectCache* axObjectCache() const; | 493 AXObjectCache* axObjectCache() const; |
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1467 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1459 | 1468 |
1460 } // namespace blink | 1469 } // namespace blink |
1461 | 1470 |
1462 #ifndef NDEBUG | 1471 #ifndef NDEBUG |
1463 // Outside the WebCore namespace for ease of invocation from gdb. | 1472 // Outside the WebCore namespace for ease of invocation from gdb. |
1464 CORE_EXPORT void showLiveDocumentInstances(); | 1473 CORE_EXPORT void showLiveDocumentInstances(); |
1465 #endif | 1474 #endif |
1466 | 1475 |
1467 #endif // Document_h | 1476 #endif // Document_h |
OLD | NEW |