| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 bool isPageVisible() const; | 193 bool isPageVisible() const; |
| 194 | 194 |
| 195 bool isCursorVisible() const; | 195 bool isCursorVisible() const; |
| 196 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } | 196 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } |
| 197 | 197 |
| 198 #if ENABLE(ASSERT) | 198 #if ENABLE(ASSERT) |
| 199 void setIsPainting(bool painting) { m_isPainting = painting; } | 199 void setIsPainting(bool painting) { m_isPainting = painting; } |
| 200 bool isPainting() const { return m_isPainting; } | 200 bool isPainting() const { return m_isPainting; } |
| 201 #endif | 201 #endif |
| 202 | 202 |
| 203 class CORE_EXPORT MultisamplingChangedObserver : public GarbageCollectedMixi
n { | |
| 204 public: | |
| 205 virtual void multisamplingChanged(bool) = 0; | |
| 206 }; | |
| 207 | |
| 208 void addMultisamplingChangedObserver(MultisamplingChangedObserver*); | |
| 209 #if !ENABLE(OILPAN) | |
| 210 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*); | |
| 211 #endif | |
| 212 | |
| 213 void didCommitLoad(LocalFrame*); | 203 void didCommitLoad(LocalFrame*); |
| 214 | 204 |
| 215 void acceptLanguagesChanged(); | 205 void acceptLanguagesChanged(); |
| 216 | 206 |
| 217 static void networkStateChanged(bool online); | 207 static void networkStateChanged(bool online); |
| 218 | 208 |
| 219 MemoryPurgeController& memoryPurgeController(); | 209 MemoryPurgeController& memoryPurgeController(); |
| 220 | 210 |
| 221 void purgeMemory(DeviceKind) override; | 211 void purgeMemory(DeviceKind) override; |
| 222 | 212 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 float m_deviceScaleFactor; | 270 float m_deviceScaleFactor; |
| 281 | 271 |
| 282 PageVisibilityState m_visibilityState; | 272 PageVisibilityState m_visibilityState; |
| 283 | 273 |
| 284 bool m_isCursorVisible; | 274 bool m_isCursorVisible; |
| 285 | 275 |
| 286 #if ENABLE(ASSERT) | 276 #if ENABLE(ASSERT) |
| 287 bool m_isPainting; | 277 bool m_isPainting; |
| 288 #endif | 278 #endif |
| 289 | 279 |
| 290 HeapHashSet<WeakMember<MultisamplingChangedObserver>> m_multisamplingChanged
Observers; | |
| 291 | |
| 292 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 280 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 293 // FIXME: Most of the members of Page should move onto FrameHost. | 281 // FIXME: Most of the members of Page should move onto FrameHost. |
| 294 Member<FrameHost> m_frameHost; | 282 Member<FrameHost> m_frameHost; |
| 295 | 283 |
| 296 Member<MemoryPurgeController> m_memoryPurgeController; | 284 Member<MemoryPurgeController> m_memoryPurgeController; |
| 297 | 285 |
| 298 Timer<Page> m_timerForCompressStrings; | 286 Timer<Page> m_timerForCompressStrings; |
| 299 }; | 287 }; |
| 300 | 288 |
| 301 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 289 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
| 302 | 290 |
| 303 } // namespace blink | 291 } // namespace blink |
| 304 | 292 |
| 305 #endif // Page_h | 293 #endif // Page_h |
| OLD | NEW |