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

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

Issue 360703003: Implement Blink-in-JS for DOM methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/core/testing/Internals.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 274
275 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume nt); 275 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume nt);
276 276
277 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) 277 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true)
278 // before calling setNetworkConnectionInfo. 278 // before calling setNetworkConnectionInfo.
279 void setNetworkStateNotifierTestOnly(boolean testOnly); 279 void setNetworkStateNotifierTestOnly(boolean testOnly);
280 [RaisesException] void setNetworkConnectionInfo(DOMString type); 280 [RaisesException] void setNetworkConnectionInfo(DOMString type);
281 281
282 // This function is for testing HitRegions on Canvas2D. 282 // This function is for testing HitRegions on Canvas2D.
283 unsigned long countHitRegions(CanvasRenderingContext2D context); 283 unsigned long countHitRegions(CanvasRenderingContext2D context);
284
285 [ImplementedInPrivateScript] void doNothing();
286 [ImplementedInPrivateScript] short return123();
287 [ImplementedInPrivateScript] short echoInteger(short value);
288 [ImplementedInPrivateScript] DOMString echoString(DOMString value);
289 [ImplementedInPrivateScript] Node echoNode(Node value);
290 [ImplementedInPrivateScript] short addInteger(short value1, short value2);
291 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString value2);
292 [ImplementedInPrivateScript] void setIntegerToPrototype(short value);
293 [ImplementedInPrivateScript] short getIntegerFromPrototype();
294 [ImplementedInPrivateScript] void setIntegerToDocument(Document document, sh ort value);
295 [ImplementedInPrivateScript] short getIntegerFromDocument(Document document) ;
296 [ImplementedInPrivateScript] Node createElement(Document document);
297 [ImplementedInPrivateScript] void appendChild(Node node1, Node node2);
298 [ImplementedInPrivateScript] Node firstChild(Node node);
299 [ImplementedInPrivateScript] Node nextSibling(Node node);
300 [ImplementedInPrivateScript] DOMString innerHTML(Node node);
301 [ImplementedInPrivateScript] void setInnerHTML(Node node, DOMString string);
302 [ImplementedInPrivateScript] void addClickListener(Node node);
303 [ImplementedInPrivateScript] void clickNode(Document document, Node node);
284 }; 304 };
OLDNEW
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/core/testing/Internals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698