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

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

Issue 197213007: ScriptPromise implementation for V8 Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 boolean loseSharedGraphicsContext3D(); 272 boolean loseSharedGraphicsContext3D();
273 273
274 [RaisesException] void forceCompositingUpdate(Document document); 274 [RaisesException] void forceCompositingUpdate(Document document);
275 [RaisesException] boolean isCompositorFramePending(Document document); 275 [RaisesException] boolean isCompositorFramePending(Document document);
276 276
277 void setZoomFactor(float factor); 277 void setZoomFactor(float factor);
278 278
279 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al); 279 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al);
280 280
281 [CallWith=ExecutionContext] Promise createPromise();
282 [CallWith=ExecutionContext] Promise createResolvedPromise(any value);
283 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason);
281 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); 284 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
282 285
283 void startSpeechInput(Element element); 286 void startSpeechInput(Element element);
284 void setValueForUser(Element element, DOMString value); 287 void setValueForUser(Element element, DOMString value);
285 288
286 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 289 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
287 }; 290 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698