| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999-2001 Lars Knoll <knoll@kde.org> | 3 * 1999-2001 Lars Knoll <knoll@kde.org> |
| 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> | 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> | 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000-2001 Dirk Mueller <mueller@kde.org> | 6 * 2000-2001 Dirk Mueller <mueller@kde.org> |
| 7 * 2000 Stefan Schimanski <1Stein@gmx.de> | 7 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 Page* page() const; | 90 Page* page() const; |
| 91 HTMLFrameOwnerElement* ownerElement() const; | 91 HTMLFrameOwnerElement* ownerElement() const; |
| 92 | 92 |
| 93 void setDOMWindow(PassRefPtr<DOMWindow>); | 93 void setDOMWindow(PassRefPtr<DOMWindow>); |
| 94 DOMWindow* domWindow() const; | 94 DOMWindow* domWindow() const; |
| 95 Document* document() const; | 95 Document* document() const; |
| 96 FrameView* view() const; | 96 FrameView* view() const; |
| 97 | 97 |
| 98 Editor& editor() const; | 98 Editor& editor() const; |
| 99 EventHandler& eventHandler() const; | 99 EventHandler& eventHandler() const; |
| 100 FrameLoader* loader() const; | 100 FrameLoader& loader() const; |
| 101 NavigationScheduler& navigationScheduler() const; | 101 NavigationScheduler& navigationScheduler() const; |
| 102 FrameSelection& selection() const; | 102 FrameSelection& selection() const; |
| 103 FrameTree& tree() const; | 103 FrameTree& tree() const; |
| 104 AnimationController& animation() const; | 104 AnimationController& animation() const; |
| 105 InputMethodController& inputMethodController() const; | 105 InputMethodController& inputMethodController() const; |
| 106 FetchContext& fetchContext() const { return loader()->fetchContext(); } | 106 FetchContext& fetchContext() const { return loader().fetchContext(); } |
| 107 ScriptController& script(); | 107 ScriptController& script(); |
| 108 SpellChecker& spellChecker() const; | 108 SpellChecker& spellChecker() const; |
| 109 | 109 |
| 110 RenderView* contentRenderer() const; // Root of the render tree for the
document contained in this frame. | 110 RenderView* contentRenderer() const; // Root of the render tree for the
document contained in this frame. |
| 111 RenderPart* ownerRenderer() const; // Renderer for the element that cont
ains this frame. | 111 RenderPart* ownerRenderer() const; // Renderer for the element that cont
ains this frame. |
| 112 | 112 |
| 113 void dispatchVisibilityStateChangeEvent(); | 113 void dispatchVisibilityStateChangeEvent(); |
| 114 | 114 |
| 115 // ======== All public functions below this point are candidates to move out
of Frame into another class. ======== | 115 // ======== All public functions below this point are candidates to move out
of Frame into another class. ======== |
| 116 | 116 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 #endif | 195 #endif |
| 196 | 196 |
| 197 bool m_inViewSourceMode; | 197 bool m_inViewSourceMode; |
| 198 }; | 198 }; |
| 199 | 199 |
| 200 inline void Frame::init() | 200 inline void Frame::init() |
| 201 { | 201 { |
| 202 m_loader.init(); | 202 m_loader.init(); |
| 203 } | 203 } |
| 204 | 204 |
| 205 inline FrameLoader* Frame::loader() const | 205 inline FrameLoader& Frame::loader() const |
| 206 { | 206 { |
| 207 return &m_loader; | 207 return m_loader; |
| 208 } | 208 } |
| 209 | 209 |
| 210 inline NavigationScheduler& Frame::navigationScheduler() const | 210 inline NavigationScheduler& Frame::navigationScheduler() const |
| 211 { | 211 { |
| 212 return m_navigationScheduler; | 212 return m_navigationScheduler; |
| 213 } | 213 } |
| 214 | 214 |
| 215 inline FrameView* Frame::view() const | 215 inline FrameView* Frame::view() const |
| 216 { | 216 { |
| 217 return m_view.get(); | 217 return m_view.get(); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 | 279 |
| 280 inline EventHandler& Frame::eventHandler() const | 280 inline EventHandler& Frame::eventHandler() const |
| 281 { | 281 { |
| 282 ASSERT(m_eventHandler); | 282 ASSERT(m_eventHandler); |
| 283 return *m_eventHandler; | 283 return *m_eventHandler; |
| 284 } | 284 } |
| 285 | 285 |
| 286 } // namespace WebCore | 286 } // namespace WebCore |
| 287 | 287 |
| 288 #endif // Frame_h | 288 #endif // Frame_h |
| OLD | NEW |