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

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

Issue 273683006: ScriptPromise should understand the ScriptState from which the ScriptPromise is generated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/testing/Internals.cpp ('k') | Source/modules/imagebitmap/ImageBitmapFactories.h » ('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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 boolean loseSharedGraphicsContext3D(); 266 boolean loseSharedGraphicsContext3D();
267 267
268 [RaisesException] void forceCompositingUpdate(Document document); 268 [RaisesException] void forceCompositingUpdate(Document document);
269 [RaisesException] boolean isCompositorFramePending(Document document); 269 [RaisesException] boolean isCompositorFramePending(Document document);
270 270
271 void setZoomFactor(float factor); 271 void setZoomFactor(float factor);
272 272
273 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al); 273 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al);
274 274
275 [CallWith=ExecutionContext] Promise createPromise(); 275 [CallWith=ScriptState] Promise createPromise();
276 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); 276 [CallWith=ScriptState] Promise createResolvedPromise(any value);
277 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); 277 [CallWith=ScriptState] Promise createRejectedPromise(any reason);
278 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); 278 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
279 279
280 void setValueForUser(Element element, DOMString value); 280 void setValueForUser(Element element, DOMString value);
281 281
282 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 282 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
283 }; 283 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/modules/imagebitmap/ImageBitmapFactories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698