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

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: Use HistogramTester 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) const;
146 void clearHistogramCounts();
145 147
146 String visiblePlaceholder(Element*); 148 String visiblePlaceholder(Element*);
147 void selectColorInColorChooser(Element*, const String& colorValue); 149 void selectColorInColorChooser(Element*, const String& colorValue);
148 void endColorChooser(Element*); 150 void endColorChooser(Element*);
149 bool hasAutofocusRequest(Document*); 151 bool hasAutofocusRequest(Document*);
150 bool hasAutofocusRequest(); 152 bool hasAutofocusRequest();
151 Vector<String> formControlStateOfHistoryItem(ExceptionState&); 153 Vector<String> formControlStateOfHistoryItem(ExceptionState&);
152 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 154 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
153 DOMWindow* pagePopupWindow() const; 155 DOMWindow* pagePopupWindow() const;
154 156
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 412
411 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 413 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
412 Member<InternalRuntimeFlags> m_runtimeFlags; 414 Member<InternalRuntimeFlags> m_runtimeFlags;
413 415
414 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 416 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
415 }; 417 };
416 418
417 } // namespace blink 419 } // namespace blink
418 420
419 #endif // Internals_h 421 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698