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

Side by Side Diff: Source/core/testing/Internals.h

Issue 16032003: Fixing Canvas2DLayerBridge to handle lost graphics contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resolved merge with rate limiter CL Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 void enableMockSpeechSynthesizer(); 286 void enableMockSpeechSynthesizer();
287 287
288 String getImageSourceURL(Element*, ExceptionCode&); 288 String getImageSourceURL(Element*, ExceptionCode&);
289 289
290 bool isSelectPopupVisible(Node*); 290 bool isSelectPopupVisible(Node*);
291 291
292 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&); 292 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&);
293 String baseURL(Document*, ExceptionCode&); 293 String baseURL(Document*, ExceptionCode&);
294 294
295 bool loseSharedGraphicsContext3D();
296
295 private: 297 private:
296 explicit Internals(Document*); 298 explicit Internals(Document*);
297 Document* contextDocument() const; 299 Document* contextDocument() const;
298 Frame* frame() const; 300 Frame* frame() const;
299 Vector<String> iconURLs(Document*, int iconTypesMask) const; 301 Vector<String> iconURLs(Document*, int iconTypesMask) const;
300 302
301 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 303 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
302 RefPtr<DOMWindow> m_frontendWindow; 304 RefPtr<DOMWindow> m_frontendWindow;
303 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 305 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
304 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 306 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
305 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 307 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
306 int m_touchEventTargetRectUpdateCount; 308 int m_touchEventTargetRectUpdateCount;
307 RefPtr<LayerRectList> m_currentTouchEventRects; 309 RefPtr<LayerRectList> m_currentTouchEventRects;
308 RefPtr<InternalProfilers> m_profilers; 310 RefPtr<InternalProfilers> m_profilers;
309 }; 311 };
310 312
311 } // namespace WebCore 313 } // namespace WebCore
312 314
313 #endif 315 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/chromium/Canvas2DLayerBridgeTest.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698