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

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

Issue 22470008: Implement ScriptPromise and ScriptFunction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Protect the ScriptFunction with a strong ref 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 String getImageSourceURL(Element*, ExceptionState&); 290 String getImageSourceURL(Element*, ExceptionState&);
291 291
292 bool isSelectPopupVisible(Node*); 292 bool isSelectPopupVisible(Node*);
293 293
294 PassRefPtr<ClientRect> selectionBounds(ExceptionState&); 294 PassRefPtr<ClientRect> selectionBounds(ExceptionState&);
295 String baseURL(Document*, ExceptionState&); 295 String baseURL(Document*, ExceptionState&);
296 296
297 bool loseSharedGraphicsContext3D(); 297 bool loseSharedGraphicsContext3D();
298 298
299 ScriptValue addOneToPromise(ScriptValue promise);
300
299 private: 301 private:
300 explicit Internals(Document*); 302 explicit Internals(Document*);
301 Document* contextDocument() const; 303 Document* contextDocument() const;
302 Frame* frame() const; 304 Frame* frame() const;
303 Vector<String> iconURLs(Document*, int iconTypesMask) const; 305 Vector<String> iconURLs(Document*, int iconTypesMask) const;
304 306
305 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 307 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
306 RefPtr<DOMWindow> m_frontendWindow; 308 RefPtr<DOMWindow> m_frontendWindow;
307 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 309 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
308 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 310 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
309 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 311 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
310 int m_touchEventTargetRectUpdateCount; 312 int m_touchEventTargetRectUpdateCount;
311 RefPtr<LayerRectList> m_currentTouchEventRects; 313 RefPtr<LayerRectList> m_currentTouchEventRects;
312 RefPtr<InternalProfilers> m_profilers; 314 RefPtr<InternalProfilers> m_profilers;
313 }; 315 };
314 316
315 } // namespace WebCore 317 } // namespace WebCore
316 318
317 #endif 319 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698