| 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 14 matching lines...) Expand all Loading... |
| 25 * Boston, MA 02110-1301, USA. | 25 * Boston, MA 02110-1301, USA. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef SKY_ENGINE_CORE_FRAME_LOCALFRAME_H_ | 28 #ifndef SKY_ENGINE_CORE_FRAME_LOCALFRAME_H_ |
| 29 #define SKY_ENGINE_CORE_FRAME_LOCALFRAME_H_ | 29 #define SKY_ENGINE_CORE_FRAME_LOCALFRAME_H_ |
| 30 | 30 |
| 31 #include "sky/engine/core/frame/Frame.h" | 31 #include "sky/engine/core/frame/Frame.h" |
| 32 #include "sky/engine/core/loader/FrameLoader.h" | 32 #include "sky/engine/core/loader/FrameLoader.h" |
| 33 #include "sky/engine/platform/Supplementable.h" | 33 #include "sky/engine/platform/Supplementable.h" |
| 34 #include "sky/engine/platform/heap/Handle.h" | 34 #include "sky/engine/platform/heap/Handle.h" |
| 35 #include "sky/engine/platform/scroll/ScrollTypes.h" | |
| 36 #include "sky/engine/wtf/HashSet.h" | 35 #include "sky/engine/wtf/HashSet.h" |
| 37 | 36 |
| 38 namespace blink { | 37 namespace blink { |
| 39 | 38 |
| 40 class Color; | 39 class Color; |
| 41 class Document; | 40 class Document; |
| 42 class Editor; | 41 class Editor; |
| 43 class Element; | 42 class Element; |
| 44 class EventHandler; | 43 class EventHandler; |
| 45 class FetchContext; | 44 class FetchContext; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 61 class SpellChecker; | 60 class SpellChecker; |
| 62 class TreeScope; | 61 class TreeScope; |
| 63 class TreeScope; | 62 class TreeScope; |
| 64 class VisiblePosition; | 63 class VisiblePosition; |
| 65 | 64 |
| 66 class LocalFrame : public Frame, public Supplementable<LocalFrame> { | 65 class LocalFrame : public Frame, public Supplementable<LocalFrame> { |
| 67 public: | 66 public: |
| 68 static PassRefPtr<LocalFrame> create(FrameLoaderClient*, FrameHost*); | 67 static PassRefPtr<LocalFrame> create(FrameLoaderClient*, FrameHost*); |
| 69 | 68 |
| 70 void setView(PassRefPtr<FrameView>); | 69 void setView(PassRefPtr<FrameView>); |
| 71 void createView(const IntSize&, const Color&, bool, | 70 void createView(const IntSize&, const Color&, bool transparent); |
| 72 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, | |
| 73 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | |
| 74 | 71 |
| 75 virtual ~LocalFrame(); | 72 virtual ~LocalFrame(); |
| 76 | 73 |
| 77 virtual void detach() override; | 74 virtual void detach() override; |
| 78 | 75 |
| 79 void addDestructionObserver(FrameDestructionObserver*); | 76 void addDestructionObserver(FrameDestructionObserver*); |
| 80 void removeDestructionObserver(FrameDestructionObserver*); | 77 void removeDestructionObserver(FrameDestructionObserver*); |
| 81 | 78 |
| 82 void willDetachFrameHost(); | 79 void willDetachFrameHost(); |
| 83 void detachFromFrameHost(); | 80 void detachFromFrameHost(); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, true, true); | 186 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, true, true); |
| 190 | 187 |
| 191 } // namespace blink | 188 } // namespace blink |
| 192 | 189 |
| 193 // During refactoring, there are some places where we need to do type conversion
s that | 190 // During refactoring, there are some places where we need to do type conversion
s that |
| 194 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 191 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
| 195 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 192 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
| 196 #define toLocalFrameTemporary toLocalFrame | 193 #define toLocalFrameTemporary toLocalFrame |
| 197 | 194 |
| 198 #endif // SKY_ENGINE_CORE_FRAME_LOCALFRAME_H_ | 195 #endif // SKY_ENGINE_CORE_FRAME_LOCALFRAME_H_ |
| OLD | NEW |