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

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

Issue 2047283002: Avoid touching z-index in StyleAdjuster by using an isStackingContext flag instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update old z-index stacking context test Created 4 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 InternalRuntimeFlags* runtimeFlags() const; 227 InternalRuntimeFlags* runtimeFlags() const;
228 unsigned workerThreadCount() const; 228 unsigned workerThreadCount() const;
229 229
230 void setDeviceProximity(Document*, const String& eventType, double value, do uble min, double max, ExceptionState&); 230 void setDeviceProximity(Document*, const String& eventType, double value, do uble min, double max, ExceptionState&);
231 231
232 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const; 232 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const;
233 String layerTreeAsText(Document*, ExceptionState&) const; 233 String layerTreeAsText(Document*, ExceptionState&) const;
234 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st; 234 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st;
235 String elementLayerTreeAsText(Element*, ExceptionState&) const; 235 String elementLayerTreeAsText(Element*, ExceptionState&) const;
236 236
237 bool isStackingContext(Element*) const;
238
237 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&); 239 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&);
238 240
239 String scrollingStateTreeAsText(Document*) const; 241 String scrollingStateTreeAsText(Document*) const;
240 String mainThreadScrollingReasons(Document*, ExceptionState&) const; 242 String mainThreadScrollingReasons(Document*, ExceptionState&) const;
241 ClientRectList* nonFastScrollableRects(Document*, ExceptionState&) const; 243 ClientRectList* nonFastScrollableRects(Document*, ExceptionState&) const;
242 244
243 void evictAllResources() const; 245 void evictAllResources() const;
244 246
245 unsigned numberOfLiveNodes() const; 247 unsigned numberOfLiveNodes() const;
246 unsigned numberOfLiveDocuments() const; 248 unsigned numberOfLiveDocuments() const;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 413
412 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 414 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
413 Member<InternalRuntimeFlags> m_runtimeFlags; 415 Member<InternalRuntimeFlags> m_runtimeFlags;
414 416
415 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 417 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
416 }; 418 };
417 419
418 } // namespace blink 420 } // namespace blink
419 421
420 #endif // Internals_h 422 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698