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

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

Issue 1142283004: Implement a Hit Test Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix git cl format mangling Created 5 years, 6 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 Node* nextSiblingInComposedTree(Node*, ExceptionState&); 122 Node* nextSiblingInComposedTree(Node*, ExceptionState&);
123 Node* firstChildInComposedTree(Node*, ExceptionState&); 123 Node* firstChildInComposedTree(Node*, ExceptionState&);
124 Node* lastChildInComposedTree(Node*, ExceptionState&); 124 Node* lastChildInComposedTree(Node*, ExceptionState&);
125 Node* nextInComposedTree(Node*, ExceptionState&); 125 Node* nextInComposedTree(Node*, ExceptionState&);
126 Node* previousInComposedTree(Node*, ExceptionState&); 126 Node* previousInComposedTree(Node*, ExceptionState&);
127 127
128 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const; 128 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const;
129 unsigned needsLayoutCount(ExceptionState&) const; 129 unsigned needsLayoutCount(ExceptionState&) const;
130 unsigned hitTestCount(Document*, ExceptionState&) const; 130 unsigned hitTestCount(Document*, ExceptionState&) const;
131 unsigned hitTestCacheHits(Document*, ExceptionState&) const;
132 Element* elementFromPointNoCache(Document*, double, double, ExceptionState&) const;
131 133
132 String visiblePlaceholder(Element*); 134 String visiblePlaceholder(Element*);
133 void selectColorInColorChooser(Element*, const String& colorValue); 135 void selectColorInColorChooser(Element*, const String& colorValue);
134 void endColorChooser(Element*); 136 void endColorChooser(Element*);
135 bool hasAutofocusRequest(Document*); 137 bool hasAutofocusRequest(Document*);
136 bool hasAutofocusRequest(); 138 bool hasAutofocusRequest();
137 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 139 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
138 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 140 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
139 DOMWindow* pagePopupWindow() const; 141 DOMWindow* pagePopupWindow() const;
140 142
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 365
364 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 366 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
365 Member<InternalRuntimeFlags> m_runtimeFlags; 367 Member<InternalRuntimeFlags> m_runtimeFlags;
366 368
367 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 369 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
368 }; 370 };
369 371
370 } // namespace blink 372 } // namespace blink
371 373
372 #endif // Internals_h 374 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698