Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: Source/core/page/Page.h

Issue 14840015: Lose/restore WebGL contexts if multisampling blackist status changes at runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed settings to pass by const reference Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContext.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContext.cpp ('k') | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698