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