| 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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 bool isPageBoxVisible(int pageIndex); | 501 bool isPageBoxVisible(int pageIndex); |
| 502 | 502 |
| 503 // Returns the preferred page size and margins in pixels, assuming 96 | 503 // Returns the preferred page size and margins in pixels, assuming 96 |
| 504 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, | 504 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, |
| 505 // marginLeft must be initialized to the default values that are used if | 505 // marginLeft must be initialized to the default values that are used if |
| 506 // auto is specified. | 506 // auto is specified. |
| 507 void pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& margi
nTop, int& marginRight, int& marginBottom, int& marginLeft); | 507 void pageSizeAndMarginsInPixels(int pageIndex, IntSize& pageSize, int& margi
nTop, int& marginRight, int& marginBottom, int& marginLeft); |
| 508 | 508 |
| 509 ResourceFetcher* fetcher() { return m_fetcher.get(); } | 509 ResourceFetcher* fetcher() { return m_fetcher.get(); } |
| 510 | 510 |
| 511 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 511 virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRI
DE; |
| 512 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 512 virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERR
IDE; |
| 513 void prepareForDestruction(); | 513 void prepareForDestruction(); |
| 514 | 514 |
| 515 // Override ScriptExecutionContext methods to do additional work | 515 // Override ScriptExecutionContext methods to do additional work |
| 516 virtual void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) O
VERRIDE; | 516 virtual void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) O
VERRIDE; |
| 517 virtual void resumeActiveDOMObjects() OVERRIDE; | 517 virtual void resumeActiveDOMObjects() OVERRIDE; |
| 518 | 518 |
| 519 // Implemented in RenderView.h to avoid a cyclic header dependency this just | 519 // Implemented in RenderView.h to avoid a cyclic header dependency this just |
| 520 // returns renderer so callers can avoid verbose casts. | 520 // returns renderer so callers can avoid verbose casts. |
| 521 RenderView* renderView() const; | 521 RenderView* renderView() const; |
| 522 | 522 |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 inline bool Node::isDocumentNode() const | 1432 inline bool Node::isDocumentNode() const |
| 1433 { | 1433 { |
| 1434 return this == documentInternal(); | 1434 return this == documentInternal(); |
| 1435 } | 1435 } |
| 1436 | 1436 |
| 1437 Node* eventTargetNodeForDocument(Document*); | 1437 Node* eventTargetNodeForDocument(Document*); |
| 1438 | 1438 |
| 1439 } // namespace WebCore | 1439 } // namespace WebCore |
| 1440 | 1440 |
| 1441 #endif // Document_h | 1441 #endif // Document_h |
| OLD | NEW |