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

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

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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 PassRefPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, long y, long wi dth, long height, Document*, ExceptionState&); 177 PassRefPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, long y, long wi dth, long height, Document*, ExceptionState&);
178 178
179 int lastSpellCheckRequestSequence(Document*, ExceptionState&); 179 int lastSpellCheckRequestSequence(Document*, ExceptionState&);
180 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); 180 int lastSpellCheckProcessedSequence(Document*, ExceptionState&);
181 181
182 Vector<AtomicString> userPreferredLanguages() const; 182 Vector<AtomicString> userPreferredLanguages() const;
183 void setUserPreferredLanguages(const Vector<String>&); 183 void setUserPreferredLanguages(const Vector<String>&);
184 184
185 unsigned activeDOMObjectCount(Document*, ExceptionState&); 185 unsigned activeDOMObjectCount(Document*, ExceptionState&);
186 unsigned wheelEventHandlerCount(Document*, ExceptionState&); 186 unsigned wheelEventHandlerCount(Document*, ExceptionState&);
187 unsigned scrollEventHandlerCount(Document*, ExceptionState&);
187 unsigned touchEventHandlerCount(Document*, ExceptionState&); 188 unsigned touchEventHandlerCount(Document*, ExceptionState&);
188 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*, ExceptionState&); 189 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*, ExceptionState&);
189 190
190 // This is used to test rect based hit testing like what's done on touch scr eens. 191 // This is used to test rect based hit testing like what's done on touch scr eens.
191 PassRefPtr<NodeList> nodesFromRect(Document*, int x, int y, unsigned topPadd ing, unsigned rightPadding, 192 PassRefPtr<NodeList> nodesFromRect(Document*, int x, int y, unsigned topPadd ing, unsigned rightPadding,
192 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowShadowContent, bool allowChildFrameContent, ExceptionState&) const; 193 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowShadowContent, bool allowChildFrameContent, ExceptionState&) const;
193 194
194 void emitInspectorDidBeginFrame(int frameId = 0); 195 void emitInspectorDidBeginFrame(int frameId = 0);
195 void emitInspectorDidCancelFrame(); 196 void emitInspectorDidCancelFrame();
196 197
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 333 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
333 RefPtr<DOMWindow> m_frontendWindow; 334 RefPtr<DOMWindow> m_frontendWindow;
334 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 335 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 336 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
336 RefPtrWillBeMember<InternalProfilers> m_profilers; 337 RefPtrWillBeMember<InternalProfilers> m_profilers;
337 }; 338 };
338 339
339 } // namespace WebCore 340 } // namespace WebCore
340 341
341 #endif 342 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698