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

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

Issue 26792002: Reland: Reland: Implement new Blink IDL attribute [SetReference] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: create/check wrapper on creationContext Created 7 years, 1 month 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 15 matching lines...) Expand all
26 26
27 #ifndef Internals_h 27 #ifndef Internals_h
28 #define Internals_h 28 #define Internals_h
29 29
30 #include "bindings/v8/ExceptionStatePlaceholder.h" 30 #include "bindings/v8/ExceptionStatePlaceholder.h"
31 #include "bindings/v8/ScriptValue.h" 31 #include "bindings/v8/ScriptValue.h"
32 #include "core/css/CSSComputedStyleDeclaration.h" 32 #include "core/css/CSSComputedStyleDeclaration.h"
33 #include "core/dom/ContextLifecycleObserver.h" 33 #include "core/dom/ContextLifecycleObserver.h"
34 #include "core/dom/NodeList.h" 34 #include "core/dom/NodeList.h"
35 #include "core/page/scrolling/ScrollingCoordinator.h" 35 #include "core/page/scrolling/ScrollingCoordinator.h"
36 #include "platform/Timer.h"
36 #include "wtf/ArrayBuffer.h" 37 #include "wtf/ArrayBuffer.h"
37 #include "wtf/PassRefPtr.h" 38 #include "wtf/PassRefPtr.h"
38 #include "wtf/RefCounted.h" 39 #include "wtf/RefCounted.h"
39 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
40 41
41 namespace WebCore { 42 namespace WebCore {
42 43
43 class ClientRect; 44 class ClientRect;
44 class ClientRectList; 45 class ClientRectList;
45 class DOMPoint; 46 class DOMPoint;
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 289
289 String getImageSourceURL(Element*, ExceptionState&); 290 String getImageSourceURL(Element*, ExceptionState&);
290 291
291 bool isSelectPopupVisible(Node*); 292 bool isSelectPopupVisible(Node*);
292 293
293 PassRefPtr<ClientRect> selectionBounds(ExceptionState&); 294 PassRefPtr<ClientRect> selectionBounds(ExceptionState&);
294 String baseURL(Document*, ExceptionState&); 295 String baseURL(Document*, ExceptionState&);
295 296
296 bool loseSharedGraphicsContext3D(); 297 bool loseSharedGraphicsContext3D();
297 298
299 void garbageCollectV8WithoutContext();
300 void garbageCollectV8WithoutContextTimerFired(Timer<Internals>*);
301
298 private: 302 private:
299 explicit Internals(Document*); 303 explicit Internals(Document*);
300 Document* contextDocument() const; 304 Document* contextDocument() const;
301 Frame* frame() const; 305 Frame* frame() const;
302 Vector<String> iconURLs(Document*, int iconTypesMask) const; 306 Vector<String> iconURLs(Document*, int iconTypesMask) const;
303 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&); 307 PassRefPtr<ClientRectList> annotatedRegions(Document*, bool draggable, Excep tionState&);
304 308
305 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 309 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
306 RefPtr<DOMWindow> m_frontendWindow; 310 RefPtr<DOMWindow> m_frontendWindow;
307 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 311 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
308 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 312 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
309 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 313 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
310 RefPtr<InternalProfilers> m_profilers; 314 RefPtr<InternalProfilers> m_profilers;
315 Timer<Internals> m_gcWithoutContextTimer;
311 }; 316 };
312 317
313 } // namespace WebCore 318 } // namespace WebCore
314 319
315 #endif 320 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698