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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 bool inViewSourceMode() const; | 128 bool inViewSourceMode() const; |
129 void setInViewSourceMode(bool = true); | 129 void setInViewSourceMode(bool = true); |
130 | 130 |
131 void setPageZoomFactor(float factor); | 131 void setPageZoomFactor(float factor); |
132 float pageZoomFactor() const { return m_pageZoomFactor; } | 132 float pageZoomFactor() const { return m_pageZoomFactor; } |
133 void setTextZoomFactor(float factor); | 133 void setTextZoomFactor(float factor); |
134 float textZoomFactor() const { return m_textZoomFactor; } | 134 float textZoomFactor() const { return m_textZoomFactor; } |
135 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFacto
r); | 135 void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFacto
r); |
136 | 136 |
137 void deviceOrPageScaleFactorChanged(); | 137 void deviceOrPageScaleFactorChanged(); |
| 138 double devicePixelRatio() const; |
138 | 139 |
139 #if ENABLE(ORIENTATION_EVENTS) | 140 #if ENABLE(ORIENTATION_EVENTS) |
140 // Orientation is the interface orientation in degrees. Some examples ar
e: | 141 // Orientation is the interface orientation in degrees. Some examples ar
e: |
141 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 142 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
142 // 90 is when rotated counter clockwise. | 143 // 90 is when rotated counter clockwise. |
143 void sendOrientationChangeEvent(int orientation); | 144 void sendOrientationChangeEvent(int orientation); |
144 int orientation() const { return m_orientation; } | 145 int orientation() const { return m_orientation; } |
145 #endif | 146 #endif |
146 | 147 |
147 void clearTimers(); | 148 void clearTimers(); |
(...skipping 127 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 |