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

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: Remove validity rect as per Elliott's request 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 Node* nextSiblingInComposedTree(Node*, ExceptionState&); 126 Node* nextSiblingInComposedTree(Node*, ExceptionState&);
127 Node* firstChildInComposedTree(Node*, ExceptionState&); 127 Node* firstChildInComposedTree(Node*, ExceptionState&);
128 Node* lastChildInComposedTree(Node*, ExceptionState&); 128 Node* lastChildInComposedTree(Node*, ExceptionState&);
129 Node* nextInComposedTree(Node*, ExceptionState&); 129 Node* nextInComposedTree(Node*, ExceptionState&);
130 Node* previousInComposedTree(Node*, ExceptionState&); 130 Node* previousInComposedTree(Node*, ExceptionState&);
131 131
132 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const; 132 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const;
133 unsigned needsLayoutCount(ExceptionState&) const; 133 unsigned needsLayoutCount(ExceptionState&) const;
134 unsigned hitTestCount(Document*, ExceptionState&) const; 134 unsigned hitTestCount(Document*, ExceptionState&) const;
135 unsigned hitTestCacheHits(Document*, ExceptionState&) const;
136 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const;
137 void clearHitTestCache(Document*, ExceptionState&) const;
135 138
136 String visiblePlaceholder(Element*); 139 String visiblePlaceholder(Element*);
137 void selectColorInColorChooser(Element*, const String& colorValue); 140 void selectColorInColorChooser(Element*, const String& colorValue);
138 void endColorChooser(Element*); 141 void endColorChooser(Element*);
139 bool hasAutofocusRequest(Document*); 142 bool hasAutofocusRequest(Document*);
140 bool hasAutofocusRequest(); 143 bool hasAutofocusRequest();
141 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 144 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
142 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 145 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
143 DOMWindow* pagePopupWindow() const; 146 DOMWindow* pagePopupWindow() const;
144 147
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 371
369 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 372 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
370 Member<InternalRuntimeFlags> m_runtimeFlags; 373 Member<InternalRuntimeFlags> m_runtimeFlags;
371 374
372 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 375 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
373 }; 376 };
374 377
375 } // namespace blink 378 } // namespace blink
376 379
377 #endif // Internals_h 380 #endif // Internals_h
OLDNEW
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698