OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. |
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 189 |
190 // Don't allow more than a certain number of frames in a page. | 190 // Don't allow more than a certain number of frames in a page. |
191 // This seems like a reasonable upper bound, and otherwise mutually | 191 // This seems like a reasonable upper bound, and otherwise mutually |
192 // recursive frameset pages can quickly bring the program to its knees | 192 // recursive frameset pages can quickly bring the program to its knees |
193 // with exponential growth in the number of frames. | 193 // with exponential growth in the number of frames. |
194 static const int maxNumberOfFrames = 1000; | 194 static const int maxNumberOfFrames = 1000; |
195 | 195 |
196 PageVisibilityState visibilityState() const; | 196 PageVisibilityState visibilityState() const; |
197 void setVisibilityState(PageVisibilityState, bool); | 197 void setVisibilityState(PageVisibilityState, bool); |
198 | 198 |
199 bool isCursorVisible() const { return m_isCursorVisible; } | 199 bool isCursorVisible() const; |
200 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } | 200 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } |
201 | 201 |
202 #ifndef NDEBUG | 202 #ifndef NDEBUG |
203 void setIsPainting(bool painting) { m_isPainting = painting; } | 203 void setIsPainting(bool painting) { m_isPainting = painting; } |
204 bool isPainting() const { return m_isPainting; } | 204 bool isPainting() const { return m_isPainting; } |
205 #endif | 205 #endif |
206 | 206 |
207 double timerAlignmentInterval() const; | 207 double timerAlignmentInterval() const; |
208 | 208 |
209 class MultisamplingChangedObserver { | 209 class MultisamplingChangedObserver { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; | 288 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; |
289 | 289 |
290 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 290 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
291 // FIXME: Most of the members of Page should move onto FrameHost. | 291 // FIXME: Most of the members of Page should move onto FrameHost. |
292 OwnPtr<FrameHost> m_frameHost; | 292 OwnPtr<FrameHost> m_frameHost; |
293 }; | 293 }; |
294 | 294 |
295 } // namespace WebCore | 295 } // namespace WebCore |
296 | 296 |
297 #endif // Page_h | 297 #endif // Page_h |
OLD | NEW |