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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 class IntSize; | 57 class IntSize; |
58 class Node; | 58 class Node; |
59 class Range; | 59 class Range; |
60 class RenderView; | 60 class RenderView; |
61 class TreeScope; | 61 class TreeScope; |
62 class ScriptController; | 62 class ScriptController; |
63 class SpellChecker; | 63 class SpellChecker; |
64 class TreeScope; | 64 class TreeScope; |
65 class VisiblePosition; | 65 class VisiblePosition; |
66 | 66 |
67 class LocalFrame : public Frame, public WillBeHeapSupplementable<LocalFrame>
{ | 67 class LocalFrame : public Frame, public WillBeHeapSupplementable<LocalFrame>
{ |
| 68 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalFrame); |
68 public: | 69 public: |
69 static PassRefPtrWillBeRawPtr<LocalFrame> create(FrameLoaderClient*, Fra
meHost*, FrameOwner*); | 70 static PassRefPtrWillBeRawPtr<LocalFrame> create(FrameLoaderClient*, Fra
meHost*, FrameOwner*); |
70 | 71 |
71 virtual bool isLocalFrame() const override { return true; } | 72 virtual bool isLocalFrame() const override { return true; } |
72 | 73 |
73 void init(); | 74 void init(); |
74 void setView(PassRefPtrWillBeRawPtr<FrameView>); | 75 void setView(PassRefPtrWillBeRawPtr<FrameView>); |
75 void createView(const IntSize&, const Color&, bool, | 76 void createView(const IntSize&, const Color&, bool, |
76 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, | 77 ScrollbarMode = ScrollbarAuto, bool horizontalLock = false, |
77 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); | 78 ScrollbarMode = ScrollbarAuto, bool verticalLock = false); |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 282 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
282 | 283 |
283 } // namespace blink | 284 } // namespace blink |
284 | 285 |
285 // During refactoring, there are some places where we need to do type conversion
s that | 286 // During refactoring, there are some places where we need to do type conversion
s that |
286 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 287 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
287 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 288 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
288 #define toLocalFrameTemporary toLocalFrame | 289 #define toLocalFrameTemporary toLocalFrame |
289 | 290 |
290 #endif // LocalFrame_h | 291 #endif // LocalFrame_h |
OLD | NEW |