| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 // Don't allow more than a certain number of frames in a page. | 191 // Don't allow more than a certain number of frames in a page. |
| 192 // This seems like a reasonable upper bound, and otherwise mutually | 192 // This seems like a reasonable upper bound, and otherwise mutually |
| 193 // recursive frameset pages can quickly bring the program to its knees | 193 // recursive frameset pages can quickly bring the program to its knees |
| 194 // with exponential growth in the number of frames. | 194 // with exponential growth in the number of frames. |
| 195 static const int maxNumberOfFrames = 1000; | 195 static const int maxNumberOfFrames = 1000; |
| 196 | 196 |
| 197 PageVisibilityState visibilityState() const; | 197 PageVisibilityState visibilityState() const; |
| 198 void setVisibilityState(PageVisibilityState, bool); | 198 void setVisibilityState(PageVisibilityState, bool); |
| 199 | 199 |
| 200 bool isCursorVisible() const { return m_isCursorVisible; } | 200 bool isCursorVisible() const; |
| 201 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } | 201 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } |
| 202 | 202 |
| 203 #ifndef NDEBUG | 203 #ifndef NDEBUG |
| 204 void setIsPainting(bool painting) { m_isPainting = painting; } | 204 void setIsPainting(bool painting) { m_isPainting = painting; } |
| 205 bool isPainting() const { return m_isPainting; } | 205 bool isPainting() const { return m_isPainting; } |
| 206 #endif | 206 #endif |
| 207 | 207 |
| 208 double timerAlignmentInterval() const; | 208 double timerAlignmentInterval() const; |
| 209 | 209 |
| 210 class MultisamplingChangedObserver { | 210 class MultisamplingChangedObserver { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; | 292 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; |
| 293 | 293 |
| 294 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 294 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 295 // FIXME: Most of the members of Page should move onto FrameHost. | 295 // FIXME: Most of the members of Page should move onto FrameHost. |
| 296 OwnPtr<FrameHost> m_frameHost; | 296 OwnPtr<FrameHost> m_frameHost; |
| 297 }; | 297 }; |
| 298 | 298 |
| 299 } // namespace WebCore | 299 } // namespace WebCore |
| 300 | 300 |
| 301 #endif // Page_h | 301 #endif // Page_h |
| OLD | NEW |