| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 #endif | 247 #endif |
| 248 | 248 |
| 249 PageConsole* console() { return m_console.get(); } | 249 PageConsole* console() { return m_console.get(); } |
| 250 | 250 |
| 251 void reportMemoryUsage(MemoryObjectInfo*) const; | 251 void reportMemoryUsage(MemoryObjectInfo*) const; |
| 252 | 252 |
| 253 void captionPreferencesChanged(); | 253 void captionPreferencesChanged(); |
| 254 | 254 |
| 255 double timerAlignmentInterval() const; | 255 double timerAlignmentInterval() const; |
| 256 | 256 |
| 257 class MultisamplingChangedObserver { |
| 258 public: |
| 259 virtual void multisamplingChanged(bool) = 0; |
| 260 }; |
| 261 |
| 262 void addMultisamplingChangedObserver(MultisamplingChangedObserver*); |
| 263 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*); |
| 264 void multisamplingChanged(); |
| 265 |
| 257 private: | 266 private: |
| 258 void initGroup(); | 267 void initGroup(); |
| 259 | 268 |
| 260 #if ASSERT_DISABLED | 269 #if ASSERT_DISABLED |
| 261 void checkSubframeCountConsistency() const { } | 270 void checkSubframeCountConsistency() const { } |
| 262 #else | 271 #else |
| 263 void checkSubframeCountConsistency() const; | 272 void checkSubframeCountConsistency() const; |
| 264 #endif | 273 #endif |
| 265 | 274 |
| 266 void setTimerAlignmentInterval(double); | 275 void setTimerAlignmentInterval(double); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 HashSet<RenderObject*> m_relevantUnpaintedRenderObjects; | 335 HashSet<RenderObject*> m_relevantUnpaintedRenderObjects; |
| 327 Region m_topRelevantPaintedRegion; | 336 Region m_topRelevantPaintedRegion; |
| 328 Region m_bottomRelevantPaintedRegion; | 337 Region m_bottomRelevantPaintedRegion; |
| 329 Region m_relevantUnpaintedRegion; | 338 Region m_relevantUnpaintedRegion; |
| 330 bool m_isCountingRelevantRepaintedObjects; | 339 bool m_isCountingRelevantRepaintedObjects; |
| 331 #ifndef NDEBUG | 340 #ifndef NDEBUG |
| 332 bool m_isPainting; | 341 bool m_isPainting; |
| 333 #endif | 342 #endif |
| 334 | 343 |
| 335 OwnPtr<PageConsole> m_console; | 344 OwnPtr<PageConsole> m_console; |
| 345 |
| 346 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; |
| 336 }; | 347 }; |
| 337 | 348 |
| 338 } // namespace WebCore | 349 } // namespace WebCore |
| 339 | 350 |
| 340 #endif // Page_h | 351 #endif // Page_h |
| OLD | NEW |