| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 // See GraphicsLayerClient.h for accepted flags. | 108 // See GraphicsLayerClient.h for accepted flags. |
| 109 String layerTreeAsText(unsigned flags = 0) const; | 109 String layerTreeAsText(unsigned flags = 0) const; |
| 110 | 110 |
| 111 FloatSize resizePageRectsKeepingRatio(const FloatSize& originalSize, con
st FloatSize& expectedSize); | 111 FloatSize resizePageRectsKeepingRatio(const FloatSize& originalSize, con
st FloatSize& expectedSize); |
| 112 | 112 |
| 113 void deviceOrPageScaleFactorChanged(); | 113 void deviceOrPageScaleFactorChanged(); |
| 114 double devicePixelRatio() const; | 114 double devicePixelRatio() const; |
| 115 | 115 |
| 116 String selectedText() const; | 116 String selectedText() const; |
| 117 String selectedTextForClipboard() const; | |
| 118 | 117 |
| 119 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); | 118 VisiblePosition visiblePositionForPoint(const IntPoint& framePoint); |
| 120 Document* documentAtPoint(const IntPoint& windowPoint); | 119 Document* documentAtPoint(const IntPoint& windowPoint); |
| 121 PassRefPtr<Range> rangeForPoint(const IntPoint& framePoint); | 120 PassRefPtr<Range> rangeForPoint(const IntPoint& framePoint); |
| 122 | 121 |
| 123 void removeSpellingMarkersUnderWords(const Vector<String>& words); | 122 void removeSpellingMarkersUnderWords(const Vector<String>& words); |
| 124 | 123 |
| 125 // ======== | 124 // ======== |
| 126 | 125 |
| 127 private: | 126 private: |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, true, true); | 187 DEFINE_TYPE_CASTS(LocalFrame, Frame, localFrame, true, true); |
| 189 | 188 |
| 190 } // namespace blink | 189 } // namespace blink |
| 191 | 190 |
| 192 // During refactoring, there are some places where we need to do type conversion
s that | 191 // During refactoring, there are some places where we need to do type conversion
s that |
| 193 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 192 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
| 194 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 193 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
| 195 #define toLocalFrameTemporary toLocalFrame | 194 #define toLocalFrameTemporary toLocalFrame |
| 196 | 195 |
| 197 #endif // LocalFrame_h | 196 #endif // LocalFrame_h |
| OLD | NEW |