| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // recursive frameset pages can quickly bring the program to its knees | 196 // recursive frameset pages can quickly bring the program to its knees |
| 197 // with exponential growth in the number of frames. | 197 // with exponential growth in the number of frames. |
| 198 static const int maxNumberOfFrames = 1000; | 198 static const int maxNumberOfFrames = 1000; |
| 199 | 199 |
| 200 PageVisibilityState visibilityState() const; | 200 PageVisibilityState visibilityState() const; |
| 201 void setVisibilityState(PageVisibilityState, bool); | 201 void setVisibilityState(PageVisibilityState, bool); |
| 202 | 202 |
| 203 bool isCursorVisible() const; | 203 bool isCursorVisible() const; |
| 204 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } | 204 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } |
| 205 | 205 |
| 206 #ifndef NDEBUG | 206 #if ENABLE(ASSERT) |
| 207 void setIsPainting(bool painting) { m_isPainting = painting; } | 207 void setIsPainting(bool painting) { m_isPainting = painting; } |
| 208 bool isPainting() const { return m_isPainting; } | 208 bool isPainting() const { return m_isPainting; } |
| 209 #endif | 209 #endif |
| 210 | 210 |
| 211 double timerAlignmentInterval() const; | 211 double timerAlignmentInterval() const; |
| 212 | 212 |
| 213 class MultisamplingChangedObserver : public WillBeGarbageCollectedMixin { | 213 class MultisamplingChangedObserver : public WillBeGarbageCollectedMixin { |
| 214 public: | 214 public: |
| 215 virtual void multisamplingChanged(bool) = 0; | 215 virtual void multisamplingChanged(bool) = 0; |
| 216 }; | 216 }; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 float m_deviceScaleFactor; | 292 float m_deviceScaleFactor; |
| 293 | 293 |
| 294 OwnPtr<StorageNamespace> m_sessionStorage; | 294 OwnPtr<StorageNamespace> m_sessionStorage; |
| 295 | 295 |
| 296 double m_timerAlignmentInterval; | 296 double m_timerAlignmentInterval; |
| 297 | 297 |
| 298 PageVisibilityState m_visibilityState; | 298 PageVisibilityState m_visibilityState; |
| 299 | 299 |
| 300 bool m_isCursorVisible; | 300 bool m_isCursorVisible; |
| 301 | 301 |
| 302 #ifndef NDEBUG | 302 #if ENABLE(ASSERT) |
| 303 bool m_isPainting; | 303 bool m_isPainting; |
| 304 #endif | 304 #endif |
| 305 | 305 |
| 306 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; | 306 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; |
| 307 | 307 |
| 308 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 308 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 309 // FIXME: Most of the members of Page should move onto FrameHost. | 309 // FIXME: Most of the members of Page should move onto FrameHost. |
| 310 OwnPtrWillBeMember<FrameHost> m_frameHost; | 310 OwnPtrWillBeMember<FrameHost> m_frameHost; |
| 311 }; | 311 }; |
| 312 | 312 |
| 313 } // namespace WebCore | 313 } // namespace WebCore |
| 314 | 314 |
| 315 #endif // Page_h | 315 #endif // Page_h |
| OLD | NEW |