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

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

Issue 2312093003: Generated bindings for IDL callback functions (Closed)
Patch Set: Addressed comments Created 4 years, 3 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
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 24 matching lines...) Expand all
35 #include "bindings/core/v8/ScriptWrappable.h" 35 #include "bindings/core/v8/ScriptWrappable.h"
36 #include "core/css/CSSComputedStyleDeclaration.h" 36 #include "core/css/CSSComputedStyleDeclaration.h"
37 #include "core/dom/ContextLifecycleObserver.h" 37 #include "core/dom/ContextLifecycleObserver.h"
38 #include "core/page/scrolling/ScrollingCoordinator.h" 38 #include "core/page/scrolling/ScrollingCoordinator.h"
39 #include "platform/heap/Handle.h" 39 #include "platform/heap/Handle.h"
40 #include "wtf/Forward.h" 40 #include "wtf/Forward.h"
41 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class CallbackFunctionTest;
45 class CanvasRenderingContext; 46 class CanvasRenderingContext;
46 class ClientRect; 47 class ClientRect;
47 class ClientRectList; 48 class ClientRectList;
48 class DOMArrayBuffer; 49 class DOMArrayBuffer;
49 class DOMPoint; 50 class DOMPoint;
50 class DictionaryTest; 51 class DictionaryTest;
51 class Document; 52 class Document;
52 class DocumentMarker; 53 class DocumentMarker;
53 class Element; 54 class Element;
54 class ExceptionState; 55 class ExceptionState;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 void setAllowHiddenVolumeControls(HTMLMediaElement*, bool); 276 void setAllowHiddenVolumeControls(HTMLMediaElement*, bool);
276 277
277 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ; 278 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ;
278 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme, const Vector<String>& policyAreas); 279 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme, const Vector<String>& policyAreas);
279 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme); 280 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme);
280 281
281 TypeConversions* typeConversions() const; 282 TypeConversions* typeConversions() const;
282 PrivateScriptTest* privateScriptTest() const; 283 PrivateScriptTest* privateScriptTest() const;
283 DictionaryTest* dictionaryTest() const; 284 DictionaryTest* dictionaryTest() const;
284 UnionTypesTest* unionTypesTest() const; 285 UnionTypesTest* unionTypesTest() const;
286 CallbackFunctionTest* callbackFunctionTest() const;
285 287
286 Vector<String> getReferencedFilePaths() const; 288 Vector<String> getReferencedFilePaths() const;
287 289
288 void startTrackingRepaints(Document*, ExceptionState&); 290 void startTrackingRepaints(Document*, ExceptionState&);
289 void stopTrackingRepaints(Document*, ExceptionState&); 291 void stopTrackingRepaints(Document*, ExceptionState&);
290 void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node*, Except ionState&); 292 void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node*, Except ionState&);
291 void forceFullRepaint(Document*, ExceptionState&); 293 void forceFullRepaint(Document*, ExceptionState&);
292 294
293 ClientRectList* draggableRegions(Document*, ExceptionState&); 295 ClientRectList* draggableRegions(Document*, ExceptionState&);
294 ClientRectList* nonDraggableRegions(Document*, ExceptionState&); 296 ClientRectList* nonDraggableRegions(Document*, ExceptionState&);
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 417
416 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 418 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
417 Member<InternalRuntimeFlags> m_runtimeFlags; 419 Member<InternalRuntimeFlags> m_runtimeFlags;
418 420
419 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 421 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
420 }; 422 };
421 423
422 } // namespace blink 424 } // namespace blink
423 425
424 #endif // Internals_h 426 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698