| 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 20 matching lines...) Expand all  Loading... | 
| 31 #include "core/frame/Frame.h" | 31 #include "core/frame/Frame.h" | 
| 32 #include "core/loader/FrameLoader.h" | 32 #include "core/loader/FrameLoader.h" | 
| 33 #include "core/loader/NavigationScheduler.h" | 33 #include "core/loader/NavigationScheduler.h" | 
| 34 #include "core/page/FrameTree.h" | 34 #include "core/page/FrameTree.h" | 
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" | 
| 36 #include "platform/scroll/ScrollTypes.h" | 36 #include "platform/scroll/ScrollTypes.h" | 
| 37 | 37 | 
| 38 namespace WebCore { | 38 namespace WebCore { | 
| 39 | 39 | 
| 40     class Color; | 40     class Color; | 
|  | 41     class Document; | 
| 41     class DragImage; | 42     class DragImage; | 
| 42     class Editor; | 43     class Editor; | 
| 43     class EventHandler; | 44     class EventHandler; | 
| 44     class FetchContext; | 45     class FetchContext; | 
| 45     class FloatSize; | 46     class FloatSize; | 
| 46     class FrameConsole; | 47     class FrameConsole; | 
| 47     class FrameSelection; | 48     class FrameSelection; | 
| 48     class FrameView; | 49     class FrameView; | 
| 49     class InputMethodController; | 50     class InputMethodController; | 
| 50     class IntPoint; | 51     class IntPoint; | 
| 51     class IntSize; | 52     class IntSize; | 
| 52     class Node; | 53     class Node; | 
| 53     class Range; | 54     class Range; | 
|  | 55     class RenderView; | 
| 54     class TreeScope; | 56     class TreeScope; | 
| 55     class ScriptController; | 57     class ScriptController; | 
| 56     class SpellChecker; | 58     class SpellChecker; | 
| 57     class TreeScope; | 59     class TreeScope; | 
| 58     class VisiblePosition; | 60     class VisiblePosition; | 
| 59 | 61 | 
| 60     class LocalFrame : public Frame { | 62     class LocalFrame : public Frame { | 
| 61     public: | 63     public: | 
| 62         static PassRefPtr<LocalFrame> create(FrameLoaderClient*, FrameHost*, HTM
     LFrameOwnerElement*); | 64         static PassRefPtr<LocalFrame> create(FrameLoaderClient*, FrameHost*, HTM
     LFrameOwnerElement*); | 
| 63 | 65 | 
| 64         virtual bool isLocalFrame() const OVERRIDE { return true; } | 66         virtual bool isLocalFrame() const OVERRIDE { return true; } | 
| 65 | 67 | 
| 66         void init(); | 68         void init(); | 
| 67         void setView(PassRefPtr<FrameView>); | 69         void setView(PassRefPtr<FrameView>); | 
| 68         void createView(const IntSize&, const Color&, bool, | 70         void createView(const IntSize&, const Color&, bool, | 
| 69             ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, | 71             ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, | 
| 70             ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | 72             ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | 
| 71 | 73 | 
| 72         virtual ~LocalFrame(); | 74         virtual ~LocalFrame(); | 
| 73 | 75 | 
| 74         virtual void willDetachFrameHost() OVERRIDE; | 76         virtual void willDetachFrameHost() OVERRIDE; | 
| 75         virtual void detachFromFrameHost() OVERRIDE; | 77         virtual void detachFromFrameHost() OVERRIDE; | 
| 76 | 78 | 
|  | 79         virtual void disconnectOwnerElement() OVERRIDE; | 
|  | 80 | 
| 77         virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>) OVERRIDE; | 81         virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>) OVERRIDE; | 
| 78         FrameView* view() const; | 82         FrameView* view() const; | 
|  | 83         Document* document() const; | 
|  | 84 | 
|  | 85         RenderView* contentRenderer() const; // Root of the render tree for the 
     document contained in this frame. | 
| 79 | 86 | 
| 80         Editor& editor() const; | 87         Editor& editor() const; | 
| 81         EventHandler& eventHandler() const; | 88         EventHandler& eventHandler() const; | 
| 82         FrameLoader& loader() const; | 89         FrameLoader& loader() const; | 
| 83         FrameTree& tree() const; | 90         FrameTree& tree() const; | 
| 84         NavigationScheduler& navigationScheduler() const; | 91         NavigationScheduler& navigationScheduler() const; | 
| 85         FrameSelection& selection() const; | 92         FrameSelection& selection() const; | 
| 86         InputMethodController& inputMethodController() const; | 93         InputMethodController& inputMethodController() const; | 
| 87         FetchContext& fetchContext() const { return loader().fetchContext(); } | 94         FetchContext& fetchContext() const { return loader().fetchContext(); } | 
| 88         ScriptController& script(); | 95         ScriptController& script(); | 
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 241     DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
      localFrame.isLocalFrame()); | 248     DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
      localFrame.isLocalFrame()); | 
| 242 | 249 | 
| 243 } // namespace WebCore | 250 } // namespace WebCore | 
| 244 | 251 | 
| 245 // During refactoring, there are some places where we need to do type conversion
     s that | 252 // During refactoring, there are some places where we need to do type conversion
     s that | 
| 246 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
     d out. | 253 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
     d out. | 
| 247 // At that time this #define will be removed and all the uses of it will need to
      be corrected. | 254 // At that time this #define will be removed and all the uses of it will need to
      be corrected. | 
| 248 #define toLocalFrameTemporary toLocalFrame | 255 #define toLocalFrameTemporary toLocalFrame | 
| 249 | 256 | 
| 250 #endif // LocalFrame_h | 257 #endif // LocalFrame_h | 
| OLD | NEW | 
|---|