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 LocalFrame_h | 28 #ifndef LocalFrame_h |
29 #define LocalFrame_h | 29 #define LocalFrame_h |
30 | 30 |
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 "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 DragImage; | 41 class DragImage; |
42 class Editor; | 42 class Editor; |
43 class EventHandler; | 43 class EventHandler; |
44 class FetchContext; | 44 class FetchContext; |
45 class FloatSize; | 45 class FloatSize; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 String documentTypeString() const; | 124 String documentTypeString() const; |
125 | 125 |
126 PassOwnPtr<DragImage> nodeImage(Node&); | 126 PassOwnPtr<DragImage> nodeImage(Node&); |
127 PassOwnPtr<DragImage> dragImageForSelection(); | 127 PassOwnPtr<DragImage> dragImageForSelection(); |
128 | 128 |
129 String selectedText() const; | 129 String selectedText() const; |
130 String selectedTextForClipboard() const; | 130 String selectedTextForClipboard() const; |
131 | 131 |
132 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); | 132 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); |
133 Document* documentAtPoint(const IntPoint& windowPoint); | 133 Document* documentAtPoint(const IntPoint& windowPoint); |
134 PassRefPtr<Range> rangeForPoint(const IntPoint& framePoint); | 134 PassRefPtrWillBeRawPtr<Range> rangeForPoint(const IntPoint& framePoint); |
135 | 135 |
136 // Should only be called on the main frame of a page. | 136 // Should only be called on the main frame of a page. |
137 void notifyChromeClientWheelEventHandlerCountChanged() const; | 137 void notifyChromeClientWheelEventHandlerCountChanged() const; |
138 | 138 |
139 bool isURLAllowed(const KURL&) const; | 139 bool isURLAllowed(const KURL&) const; |
140 | 140 |
141 // ======== | 141 // ======== |
142 | 142 |
143 private: | 143 private: |
144 LocalFrame(FrameLoaderClient*, FrameHost*, HTMLFrameOwnerElement*); | 144 LocalFrame(FrameLoaderClient*, FrameHost*, HTMLFrameOwnerElement*); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 233 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
234 | 234 |
235 } // namespace WebCore | 235 } // namespace WebCore |
236 | 236 |
237 // During refactoring, there are some places where we need to do type conversion
s that | 237 // During refactoring, there are some places where we need to do type conversion
s that |
238 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 238 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
239 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 239 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
240 #define toLocalFrameTemporary toLocalFrame | 240 #define toLocalFrameTemporary toLocalFrame |
241 | 241 |
242 #endif // LocalFrame_h | 242 #endif // LocalFrame_h |
OLD | NEW |