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

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

Issue 517293002: Convert some Internals APIs to use DOMPoint instead of WebKitPoint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | « no previous file | 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 27 matching lines...) Expand all
38 #include "wtf/ArrayBuffer.h" 38 #include "wtf/ArrayBuffer.h"
39 #include "wtf/PassRefPtr.h" 39 #include "wtf/PassRefPtr.h"
40 #include "wtf/RefCounted.h" 40 #include "wtf/RefCounted.h"
41 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class CanvasRenderingContext2D; 45 class CanvasRenderingContext2D;
46 class ClientRect; 46 class ClientRect;
47 class ClientRectList; 47 class ClientRectList;
48 class WebKitPoint; 48 class DOMPoint;
49 class DOMStringList; 49 class DOMStringList;
50 class LocalDOMWindow; 50 class LocalDOMWindow;
51 class DictionaryTest; 51 class DictionaryTest;
52 class Document; 52 class Document;
53 class DocumentMarker; 53 class DocumentMarker;
54 class Element; 54 class Element;
55 class ExceptionState; 55 class ExceptionState;
56 class ExecutionContext; 56 class ExecutionContext;
57 class GCObservation; 57 class GCObservation;
58 class HTMLElement; 58 class HTMLElement;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void setSuggestedValue(Element*, const String&, ExceptionState&); 157 void setSuggestedValue(Element*, const String&, ExceptionState&);
158 void setEditingValue(Element* inputElement, const String&, ExceptionState&); 158 void setEditingValue(Element* inputElement, const String&, ExceptionState&);
159 void setAutofilled(Element*, bool enabled, ExceptionState&); 159 void setAutofilled(Element*, bool enabled, ExceptionState&);
160 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&); 160 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&);
161 161
162 PassRefPtrWillBeRawPtr<Range> rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength); 162 PassRefPtrWillBeRawPtr<Range> rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength);
163 unsigned locationFromRange(Element* scope, const Range*); 163 unsigned locationFromRange(Element* scope, const Range*);
164 unsigned lengthFromRange(Element* scope, const Range*); 164 unsigned lengthFromRange(Element* scope, const Range*);
165 String rangeAsText(const Range*); 165 String rangeAsText(const Range*);
166 166
167 PassRefPtrWillBeRawPtr<WebKitPoint> touchPositionAdjustedToBestClickableNode (long x, long y, long width, long height, Document*, ExceptionState&); 167 DOMPoint* touchPositionAdjustedToBestClickableNode(long x, long y, long widt h, long height, Document*, ExceptionState&);
168 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&); 168 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&);
169 PassRefPtrWillBeRawPtr<WebKitPoint> touchPositionAdjustedToBestContextMenuNo de(long x, long y, long width, long height, Document*, ExceptionState&); 169 DOMPoint* touchPositionAdjustedToBestContextMenuNode(long x, long y, long wi dth, long height, Document*, ExceptionState&);
170 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon g height, Document*, ExceptionState&); 170 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon g height, Document*, ExceptionState&);
171 PassRefPtrWillBeRawPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, lon g y, long width, long height, Document*, ExceptionState&); 171 PassRefPtrWillBeRawPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, lon g y, long width, long height, Document*, ExceptionState&);
172 172
173 int lastSpellCheckRequestSequence(Document*, ExceptionState&); 173 int lastSpellCheckRequestSequence(Document*, ExceptionState&);
174 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); 174 int lastSpellCheckProcessedSequence(Document*, ExceptionState&);
175 175
176 Vector<AtomicString> userPreferredLanguages() const; 176 Vector<AtomicString> userPreferredLanguages() const;
177 void setUserPreferredLanguages(const Vector<String>&); 177 void setUserPreferredLanguages(const Vector<String>&);
178 178
179 unsigned activeDOMObjectCount(Document*); 179 unsigned activeDOMObjectCount(Document*);
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 325 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
326 326
327 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 327 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
328 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 328 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
329 RefPtrWillBeMember<InternalProfilers> m_profilers; 329 RefPtrWillBeMember<InternalProfilers> m_profilers;
330 }; 330 };
331 331
332 } // namespace blink 332 } // namespace blink
333 333
334 #endif 334 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698