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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 double devicePixelRatio() const; | 122 double devicePixelRatio() const; |
123 | 123 |
124 // Orientation is the interface orientation in degrees. Some examples ar
e: | 124 // Orientation is the interface orientation in degrees. Some examples ar
e: |
125 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 125 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
126 // 90 is when rotated counter clockwise. | 126 // 90 is when rotated counter clockwise. |
127 void sendOrientationChangeEvent(int orientation); | 127 void sendOrientationChangeEvent(int orientation); |
128 int orientation() const { return m_orientation; } | 128 int orientation() const { return m_orientation; } |
129 | 129 |
130 String documentTypeString() const; | 130 String documentTypeString() const; |
131 | 131 |
132 PassOwnPtr<DragImage> nodeImage(Node*); | 132 PassOwnPtr<DragImage> nodeImage(Node&); |
133 PassOwnPtr<DragImage> dragImageForSelection(); | 133 PassOwnPtr<DragImage> dragImageForSelection(); |
134 | 134 |
135 String selectedText() const; | 135 String selectedText() const; |
136 String selectedTextForClipboard() const; | 136 String selectedTextForClipboard() const; |
137 | 137 |
138 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); | 138 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); |
139 Document* documentAtPoint(const IntPoint& windowPoint); | 139 Document* documentAtPoint(const IntPoint& windowPoint); |
140 PassRefPtr<Range> rangeForPoint(const IntPoint& framePoint); | 140 PassRefPtr<Range> rangeForPoint(const IntPoint& framePoint); |
141 | 141 |
142 // Should only be called on the main frame of a page. | 142 // Should only be called on the main frame of a page. |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 { | 239 { |
240 ASSERT(m_eventHandler); | 240 ASSERT(m_eventHandler); |
241 return *m_eventHandler; | 241 return *m_eventHandler; |
242 } | 242 } |
243 | 243 |
244 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); | 244 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, localFrame->isLocalFrame(),
localFrame.isLocalFrame()); |
245 | 245 |
246 } // namespace WebCore | 246 } // namespace WebCore |
247 | 247 |
248 #endif // LocalFrame_h | 248 #endif // LocalFrame_h |
OLD | NEW |