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

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: Fixing gpu_test Canvas2DAllowed Created 7 years, 5 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 void forceReload(bool endToEnd); 274 void forceReload(bool endToEnd);
275 275
276 void enableMockSpeechSynthesizer(); 276 void enableMockSpeechSynthesizer();
277 277
278 String getImageSourceURL(Element*, ExceptionCode&); 278 String getImageSourceURL(Element*, ExceptionCode&);
279 279
280 bool isSelectPopupVisible(Node*); 280 bool isSelectPopupVisible(Node*);
281 281
282 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&); 282 PassRefPtr<ClientRect> selectionBounds(ExceptionCode&);
283 283
284 bool loseSharedGraphicsContext3D();
285
284 private: 286 private:
285 explicit Internals(Document*); 287 explicit Internals(Document*);
286 Document* contextDocument() const; 288 Document* contextDocument() const;
287 Frame* frame() const; 289 Frame* frame() const;
288 Vector<String> iconURLs(Document*, int iconTypesMask) const; 290 Vector<String> iconURLs(Document*, int iconTypesMask) const;
289 291
290 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 292 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
291 RefPtr<DOMWindow> m_frontendWindow; 293 RefPtr<DOMWindow> m_frontendWindow;
292 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 294 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
293 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 295 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
294 }; 296 };
295 297
296 } // namespace WebCore 298 } // namespace WebCore
297 299
298 #endif 300 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698