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

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

Issue 13824008: Move nodesFromRect from Document to Internals (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/dom/Document.cpp ('k') | Source/core/testing/Internals.cpp » ('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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 int lastSpellCheckRequestSequence(Document*, ExceptionCode&); 176 int lastSpellCheckRequestSequence(Document*, ExceptionCode&);
177 int lastSpellCheckProcessedSequence(Document*, ExceptionCode&); 177 int lastSpellCheckProcessedSequence(Document*, ExceptionCode&);
178 178
179 Vector<String> userPreferredLanguages() const; 179 Vector<String> userPreferredLanguages() const;
180 void setUserPreferredLanguages(const Vector<String>&); 180 void setUserPreferredLanguages(const Vector<String>&);
181 181
182 unsigned wheelEventHandlerCount(Document*, ExceptionCode&); 182 unsigned wheelEventHandlerCount(Document*, ExceptionCode&);
183 unsigned touchEventHandlerCount(Document*, ExceptionCode&); 183 unsigned touchEventHandlerCount(Document*, ExceptionCode&);
184 PassRefPtr<ClientRectList> touchEventTargetClientRects(Document*, ExceptionC ode&); 184 PassRefPtr<ClientRectList> touchEventTargetClientRects(Document*, ExceptionC ode&);
185 185
186 // This is used to test rect based hit testing like what's done on touch scr eens.
186 PassRefPtr<NodeList> nodesFromRect(Document*, int x, int y, unsigned topPadd ing, unsigned rightPadding, 187 PassRefPtr<NodeList> nodesFromRect(Document*, int x, int y, unsigned topPadd ing, unsigned rightPadding,
187 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowShadowContent, bool allowChildFrameContent, ExceptionCode&) const; 188 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowShadowContent, bool allowChildFrameContent, ExceptionCode&) const;
188 189
189 void emitInspectorDidBeginFrame(); 190 void emitInspectorDidBeginFrame();
190 void emitInspectorDidCancelFrame(); 191 void emitInspectorDidCancelFrame();
191 192
192 bool hasSpellingMarker(Document*, int from, int length, ExceptionCode&); 193 bool hasSpellingMarker(Document*, int from, int length, ExceptionCode&);
193 bool hasGrammarMarker(Document*, int from, int length, ExceptionCode&); 194 bool hasGrammarMarker(Document*, int from, int length, ExceptionCode&);
194 bool hasAutocorrectedMarker(Document*, int from, int length, ExceptionCode&) ; 195 bool hasAutocorrectedMarker(Document*, int from, int length, ExceptionCode&) ;
195 void setContinuousSpellCheckingEnabled(bool enabled, ExceptionCode&); 196 void setContinuousSpellCheckingEnabled(bool enabled, ExceptionCode&);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 Vector<String> iconURLs(Document*, int iconTypesMask) const; 302 Vector<String> iconURLs(Document*, int iconTypesMask) const;
302 303
303 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
304 RefPtr<DOMWindow> m_frontendWindow; 305 RefPtr<DOMWindow> m_frontendWindow;
305 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
306 }; 307 };
307 308
308 } // namespace WebCore 309 } // namespace WebCore
309 310
310 #endif 311 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698