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

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

Issue 7671031: Merge 92520 - [chromium] Accelerated canvas breaks when moving canvases or resources between Pages (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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/WebCore/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/WebCore/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 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class Node; 74 class Node;
75 class PageGroup; 75 class PageGroup;
76 class PluginData; 76 class PluginData;
77 class PluginHalter; 77 class PluginHalter;
78 class PluginHalterClient; 78 class PluginHalterClient;
79 class ProgressTracker; 79 class ProgressTracker;
80 class RenderTheme; 80 class RenderTheme;
81 class VisibleSelection; 81 class VisibleSelection;
82 class ScrollableArea; 82 class ScrollableArea;
83 class Settings; 83 class Settings;
84 class GraphicsContext3D;
85 class SpeechInput; 84 class SpeechInput;
86 class SpeechInputClient; 85 class SpeechInputClient;
87 #if ENABLE(DOM_STORAGE) 86 #if ENABLE(DOM_STORAGE)
88 class StorageNamespace; 87 class StorageNamespace;
89 #endif 88 #endif
90 #if ENABLE(NOTIFICATIONS) 89 #if ENABLE(NOTIFICATIONS)
91 class NotificationPresenter; 90 class NotificationPresenter;
92 #endif 91 #endif
93 92
94 typedef uint64_t LinkHash; 93 typedef uint64_t LinkHash;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 258
260 static void setDebuggerForAllPages(JSC::Debugger*); 259 static void setDebuggerForAllPages(JSC::Debugger*);
261 void setDebugger(JSC::Debugger*); 260 void setDebugger(JSC::Debugger*);
262 JSC::Debugger* debugger() const { return m_debugger; } 261 JSC::Debugger* debugger() const { return m_debugger; }
263 262
264 static void removeAllVisitedLinks(); 263 static void removeAllVisitedLinks();
265 264
266 static void allVisitedStateChanged(PageGroup*); 265 static void allVisitedStateChanged(PageGroup*);
267 static void visitedStateChanged(PageGroup*, LinkHash visitedHash); 266 static void visitedStateChanged(PageGroup*, LinkHash visitedHash);
268 267
269 GraphicsContext3D* sharedGraphicsContext3D();
270
271 #if ENABLE(DOM_STORAGE) 268 #if ENABLE(DOM_STORAGE)
272 StorageNamespace* sessionStorage(bool optionalCreate = true); 269 StorageNamespace* sessionStorage(bool optionalCreate = true);
273 void setSessionStorage(PassRefPtr<StorageNamespace>); 270 void setSessionStorage(PassRefPtr<StorageNamespace>);
274 #endif 271 #endif
275 272
276 void setCustomHTMLTokenizerTimeDelay(double); 273 void setCustomHTMLTokenizerTimeDelay(double);
277 bool hasCustomHTMLTokenizerTimeDelay() const { return m_customHTMLTokeni zerTimeDelay != -1; } 274 bool hasCustomHTMLTokenizerTimeDelay() const { return m_customHTMLTokeni zerTimeDelay != -1; }
278 double customHTMLTokenizerTimeDelay() const { ASSERT(m_customHTMLTokeniz erTimeDelay != -1); return m_customHTMLTokenizerTimeDelay; } 275 double customHTMLTokenizerTimeDelay() const { ASSERT(m_customHTMLTokeniz erTimeDelay != -1); return m_customHTMLTokenizerTimeDelay; }
279 276
280 void setCustomHTMLTokenizerChunkSize(int); 277 void setCustomHTMLTokenizerChunkSize(int);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 #endif 314 #endif
318 315
319 MediaCanStartListener* takeAnyMediaCanStartListener(); 316 MediaCanStartListener* takeAnyMediaCanStartListener();
320 317
321 void setMinimumTimerInterval(double); 318 void setMinimumTimerInterval(double);
322 double minimumTimerInterval() const; 319 double minimumTimerInterval() const;
323 320
324 OwnPtr<Chrome> m_chrome; 321 OwnPtr<Chrome> m_chrome;
325 OwnPtr<DragCaretController> m_dragCaretController; 322 OwnPtr<DragCaretController> m_dragCaretController;
326 323
327 #if ENABLE(ACCELERATED_2D_CANVAS)
328 RefPtr<GraphicsContext3D> m_sharedGraphicsContext3D;
329 #endif
330
331 #if ENABLE(DRAG_SUPPORT) 324 #if ENABLE(DRAG_SUPPORT)
332 OwnPtr<DragController> m_dragController; 325 OwnPtr<DragController> m_dragController;
333 #endif 326 #endif
334 OwnPtr<FocusController> m_focusController; 327 OwnPtr<FocusController> m_focusController;
335 #if ENABLE(CONTEXT_MENUS) 328 #if ENABLE(CONTEXT_MENUS)
336 OwnPtr<ContextMenuController> m_contextMenuController; 329 OwnPtr<ContextMenuController> m_contextMenuController;
337 #endif 330 #endif
338 #if ENABLE(INSPECTOR) 331 #if ENABLE(INSPECTOR)
339 OwnPtr<InspectorController> m_inspectorController; 332 OwnPtr<InspectorController> m_inspectorController;
340 #endif 333 #endif
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 bool m_isEditable; 407 bool m_isEditable;
415 408
416 #if ENABLE(PAGE_VISIBILITY_API) 409 #if ENABLE(PAGE_VISIBILITY_API)
417 PageVisibilityState m_visibilityState; 410 PageVisibilityState m_visibilityState;
418 #endif 411 #endif
419 }; 412 };
420 413
421 } // namespace WebCore 414 } // namespace WebCore
422 415
423 #endif // Page_h 416 #endif // Page_h
OLDNEW
« no previous file with comments | « Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/WebCore/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698