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

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: Refactoring WIP. 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l ong width, long height, Document document); 135 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l ong width, long height, Document document);
136 136
137 [RaisesException] long lastSpellCheckRequestSequence(Document document); 137 [RaisesException] long lastSpellCheckRequestSequence(Document document);
138 [RaisesException] long lastSpellCheckProcessedSequence(Document document); 138 [RaisesException] long lastSpellCheckProcessedSequence(Document document);
139 139
140 sequence<DOMString> userPreferredLanguages(); 140 sequence<DOMString> userPreferredLanguages();
141 void setUserPreferredLanguages(sequence<DOMString> languages); 141 void setUserPreferredLanguages(sequence<DOMString> languages);
142 142
143 [RaisesException] unsigned long activeDOMObjectCount(Document document); 143 [RaisesException] unsigned long activeDOMObjectCount(Document document);
144 [RaisesException] unsigned long wheelEventHandlerCount(Document document); 144 [RaisesException] unsigned long wheelEventHandlerCount(Document document);
145 [RaisesException] unsigned long scrollEventHandlerCount(Document document);
145 [RaisesException] unsigned long touchEventHandlerCount(Document document); 146 [RaisesException] unsigned long touchEventHandlerCount(Document document);
146 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document ); 147 [RaisesException] LayerRectList touchEventTargetLayerRects(Document document );
147 148
148 149
149 [RaisesException] NodeList nodesFromRect(Document document, long x, long y, 150 [RaisesException] NodeList nodesFromRect(Document document, long x, long y,
150 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding, 151 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding,
151 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr ameContent); 152 boolean ignoreClipping, boolean allowShadowContent, boolean allowChildFr ameContent);
152 153
153 void emitInspectorDidBeginFrame(optional long frameId); 154 void emitInspectorDidBeginFrame(optional long frameId);
154 void emitInspectorDidCancelFrame(); 155 void emitInspectorDidCancelFrame();
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 [CallWith=ExecutionContext] Promise createPromise(); 282 [CallWith=ExecutionContext] Promise createPromise();
282 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); 283 [CallWith=ExecutionContext] Promise createResolvedPromise(any value);
283 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); 284 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason);
284 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); 285 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
285 286
286 void startSpeechInput(Element element); 287 void startSpeechInput(Element element);
287 void setValueForUser(Element element, DOMString value); 288 void setValueForUser(Element element, DOMString value);
288 289
289 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 290 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
290 }; 291 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698