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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 bool isPageBoxVisible(int pageIndex); | 489 bool isPageBoxVisible(int pageIndex); |
490 | 490 |
491 // Returns the preferred page size and margins in pixels, assuming 96 | 491 // Returns the preferred page size and margins in pixels, assuming 96 |
492 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, | 492 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, |
493 // marginLeft must be initialized to the default values that are used if | 493 // marginLeft must be initialized to the default values that are used if |
494 // auto is specified. | 494 // auto is specified. |
495 void pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& margi
nTop, int& marginRight, int& marginBottom, int& marginLeft); | 495 void pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& margi
nTop, int& marginRight, int& marginBottom, int& marginLeft); |
496 | 496 |
497 CachedResourceLoader* cachedResourceLoader() { return m_cachedResourceLoader
.get(); } | 497 CachedResourceLoader* cachedResourceLoader() { return m_cachedResourceLoader
.get(); } |
498 | 498 |
499 virtual void attach(); | 499 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
500 virtual void detach(); | 500 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
501 void prepareForDestruction(); | 501 void prepareForDestruction(); |
502 | 502 |
503 // Override ScriptExecutionContext methods to do additional work | 503 // Override ScriptExecutionContext methods to do additional work |
504 virtual void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) O
VERRIDE; | 504 virtual void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) O
VERRIDE; |
505 virtual void resumeActiveDOMObjects() OVERRIDE; | 505 virtual void resumeActiveDOMObjects() OVERRIDE; |
506 | 506 |
507 RenderArena* renderArena() { return m_renderArena.get(); } | 507 RenderArena* renderArena() { return m_renderArena.get(); } |
508 | 508 |
509 // Implemented in RenderView.h to avoid a cyclic header dependency this just | 509 // Implemented in RenderView.h to avoid a cyclic header dependency this just |
510 // returns renderer so callers can avoid verbose casts. | 510 // returns renderer so callers can avoid verbose casts. |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1489 inline bool Node::isDocumentNode() const | 1489 inline bool Node::isDocumentNode() const |
1490 { | 1490 { |
1491 return this == documentInternal(); | 1491 return this == documentInternal(); |
1492 } | 1492 } |
1493 | 1493 |
1494 Node* eventTargetNodeForDocument(Document*); | 1494 Node* eventTargetNodeForDocument(Document*); |
1495 | 1495 |
1496 } // namespace WebCore | 1496 } // namespace WebCore |
1497 | 1497 |
1498 #endif // Document_h | 1498 #endif // Document_h |
OLD | NEW |