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

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

Issue 206603002: Add EventHandlerRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests now seem to pass. 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l ong width, long height, Document document); 134 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l ong width, long height, Document document);
135 135
136 [RaisesException] long lastSpellCheckRequestSequence(Document document); 136 [RaisesException] long lastSpellCheckRequestSequence(Document document);
137 [RaisesException] long lastSpellCheckProcessedSequence(Document document); 137 [RaisesException] long lastSpellCheckProcessedSequence(Document document);
138 138
139 sequence<DOMString> userPreferredLanguages(); 139 sequence<DOMString> userPreferredLanguages();
140 void setUserPreferredLanguages(sequence<DOMString> languages); 140 void setUserPreferredLanguages(sequence<DOMString> languages);
141 141
142 [RaisesException] unsigned long activeDOMObjectCount(Document document); 142 [RaisesException] unsigned long activeDOMObjectCount(Document document);
143 [RaisesException] unsigned long wheelEventHandlerCount(Document document); 143 [RaisesException] unsigned long wheelEventHandlerCount(Document document);
144 [RaisesException] unsigned long scrollEventHandlerCount(Document document);
144 [RaisesException] unsigned long touchEventHandlerCount(Document document); 145 [RaisesException] unsigned long touchEventHandlerCount(Document document);
145 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document ); 146 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document );
146 147
147 148
148 [RaisesException] NodeList nodesFromRect(Document document, long x, long y, 149 [RaisesException] NodeList nodesFromRect(Document document, long x, long y,
149 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding, 150 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding,
150 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr ameContent); 151 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr ameContent);
151 152
152 void emitInspectorDidBeginFrame(optional long frameId); 153 void emitInspectorDidBeginFrame(optional long frameId);
153 void emitInspectorDidCancelFrame(); 154 void emitInspectorDidCancelFrame();
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 [CallWith=ExecutionContext] Promise createPromise(); 281 [CallWith=ExecutionContext] Promise createPromise();
281 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); 282 [CallWith=ExecutionContext] Promise createResolvedPromise(any value);
282 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); 283 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason);
283 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); 284 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
284 285
285 void startSpeechInput(Element element); 286 void startSpeechInput(Element element);
286 void setValueForUser(Element element, DOMString value); 287 void setValueForUser(Element element, DOMString value);
287 288
288 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);
289 }; 290 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698