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