| 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 15 matching lines...) Expand all Loading... |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef Frame_h | 28 #ifndef Frame_h |
| 29 #define Frame_h | 29 #define Frame_h |
| 30 | 30 |
| 31 #include "core/loader/FrameLoader.h" | 31 #include "core/loader/FrameLoader.h" |
| 32 #include "core/loader/NavigationScheduler.h" | 32 #include "core/loader/NavigationScheduler.h" |
| 33 #include "core/page/AdjustViewSizeOrNot.h" | 33 #include "core/page/AdjustViewSizeOrNot.h" |
| 34 #include "core/page/FrameTree.h" | 34 #include "core/page/FrameTree.h" |
| 35 #include "core/platform/ScrollTypes.h" | 35 #include "core/platform/ScrollTypes.h" |
| 36 #include "core/platform/chromium/DragImageRef.h" | |
| 37 #include "core/platform/graphics/IntSize.h" | 36 #include "core/platform/graphics/IntSize.h" |
| 38 #include <wtf/RefCounted.h> | 37 #include "wtf/Forward.h" |
| 38 #include "wtf/RefCounted.h" |
| 39 | 39 |
| 40 namespace WebCore { | 40 namespace WebCore { |
| 41 | 41 |
| 42 class AnimationController; | 42 class AnimationController; |
| 43 class Color; | 43 class Color; |
| 44 class DOMWindow; | 44 class DOMWindow; |
| 45 class Document; | 45 class Document; |
| 46 class DragImage; |
| 46 class Editor; | 47 class Editor; |
| 47 class Element; | 48 class Element; |
| 48 class EventHandler; | 49 class EventHandler; |
| 49 class FloatSize; | 50 class FloatSize; |
| 50 class FrameDestructionObserver; | 51 class FrameDestructionObserver; |
| 51 class FrameSelection; | 52 class FrameSelection; |
| 52 class FrameView; | 53 class FrameView; |
| 53 class HTMLTableCellElement; | 54 class HTMLTableCellElement; |
| 54 class IntPoint; | 55 class IntPoint; |
| 55 class Node; | 56 class Node; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 int orientation() const { return m_orientation; } | 149 int orientation() const { return m_orientation; } |
| 149 #endif | 150 #endif |
| 150 | 151 |
| 151 void clearTimers(); | 152 void clearTimers(); |
| 152 static void clearTimers(FrameView*, Document*); | 153 static void clearTimers(FrameView*, Document*); |
| 153 | 154 |
| 154 String documentTypeString() const; | 155 String documentTypeString() const; |
| 155 | 156 |
| 156 String displayStringModifiedByEncoding(const String&) const; | 157 String displayStringModifiedByEncoding(const String&) const; |
| 157 | 158 |
| 158 DragImageRef nodeImage(Node*); | 159 PassOwnPtr<DragImage> nodeImage(Node*); |
| 159 DragImageRef dragImageForSelection(); | 160 PassOwnPtr<DragImage> dragImageForSelection(); |
| 160 | 161 |
| 161 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); | 162 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); |
| 162 Document* documentAtPoint(const IntPoint& windowPoint); | 163 Document* documentAtPoint(const IntPoint& windowPoint); |
| 163 PassRefPtr<Range> rangeForPoint(const IntPoint& framePoint); | 164 PassRefPtr<Range> rangeForPoint(const IntPoint& framePoint); |
| 164 | 165 |
| 165 // Should only be called on the main frame of a page. | 166 // Should only be called on the main frame of a page. |
| 166 void notifyChromeClientWheelEventHandlerCountChanged() const; | 167 void notifyChromeClientWheelEventHandlerCountChanged() const; |
| 167 | 168 |
| 168 bool isURLAllowed(const KURL&) const; | 169 bool isURLAllowed(const KURL&) const; |
| 169 | 170 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 } | 276 } |
| 276 | 277 |
| 277 inline EventHandler* Frame::eventHandler() const | 278 inline EventHandler* Frame::eventHandler() const |
| 278 { | 279 { |
| 279 return m_eventHandler.get(); | 280 return m_eventHandler.get(); |
| 280 } | 281 } |
| 281 | 282 |
| 282 } // namespace WebCore | 283 } // namespace WebCore |
| 283 | 284 |
| 284 #endif // Frame_h | 285 #endif // Frame_h |
| OLD | NEW |