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

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

Issue 2137483003: Add UMA metrics for root scroller intervention to track forcing passive breakage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ability to test histograms from layout tests Created 4 years, 5 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 Node* lastChildInFlatTree(Node*, ExceptionState&); 135 Node* lastChildInFlatTree(Node*, ExceptionState&);
136 Node* nextInFlatTree(Node*, ExceptionState&); 136 Node* nextInFlatTree(Node*, ExceptionState&);
137 Node* previousInFlatTree(Node*, ExceptionState&); 137 Node* previousInFlatTree(Node*, ExceptionState&);
138 138
139 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const; 139 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const;
140 unsigned needsLayoutCount(ExceptionState&) const; 140 unsigned needsLayoutCount(ExceptionState&) const;
141 unsigned hitTestCount(Document*, ExceptionState&) const; 141 unsigned hitTestCount(Document*, ExceptionState&) const;
142 unsigned hitTestCacheHits(Document*, ExceptionState&) const; 142 unsigned hitTestCacheHits(Document*, ExceptionState&) const;
143 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const; 143 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const;
144 void clearHitTestCache(Document*, ExceptionState&) const; 144 void clearHitTestCache(Document*, ExceptionState&) const;
145 int histogramCount(const String&, int, ExceptionState&) const;
145 146
146 String visiblePlaceholder(Element*); 147 String visiblePlaceholder(Element*);
147 void selectColorInColorChooser(Element*, const String& colorValue); 148 void selectColorInColorChooser(Element*, const String& colorValue);
148 void endColorChooser(Element*); 149 void endColorChooser(Element*);
149 bool hasAutofocusRequest(Document*); 150 bool hasAutofocusRequest(Document*);
150 bool hasAutofocusRequest(); 151 bool hasAutofocusRequest();
151 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 152 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
152 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 153 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
153 DOMWindow* pagePopupWindow() const; 154 DOMWindow* pagePopupWindow() const;
154 155
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 411
411 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 412 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
412 Member<InternalRuntimeFlags> m_runtimeFlags; 413 Member<InternalRuntimeFlags> m_runtimeFlags;
413 414
414 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 415 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
415 }; 416 };
416 417
417 } // namespace blink 418 } // namespace blink
418 419
419 #endif // Internals_h 420 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698