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

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

Issue 1711703002: Add internals.isCSSPropertyUseCounted functionality (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 void setVisualViewportOffset(int x, int y); 367 void setVisualViewportOffset(int x, int y);
368 int visualViewportHeight(); 368 int visualViewportHeight();
369 int visualViewportWidth(); 369 int visualViewportWidth();
370 // The scroll position of the visual viewport relative to the document origi n. 370 // The scroll position of the visual viewport relative to the document origi n.
371 double visualViewportScrollX(); 371 double visualViewportScrollX();
372 double visualViewportScrollY(); 372 double visualViewportScrollY();
373 373
374 // Return true if the given use counter exists for the given document. 374 // Return true if the given use counter exists for the given document.
375 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. 375 // |useCounterId| must be one of the values from the UseCounter::Feature enu m.
376 bool isUseCounted(Document*, int useCounterId); 376 bool isUseCounted(Document*, int useCounterId);
377 bool isCSSPropertyUseCounted(Document*, const String&);
377 378
378 String unscopeableAttribute(); 379 String unscopeableAttribute();
379 String unscopeableMethod(); 380 String unscopeableMethod();
380 381
381 ClientRectList* focusRingRects(Element*); 382 ClientRectList* focusRingRects(Element*);
382 ClientRectList* outlineRects(Element*); 383 ClientRectList* outlineRects(Element*);
383 384
384 void setCapsLockState(bool enabled); 385 void setCapsLockState(bool enabled);
385 386
386 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); 387 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
(...skipping 22 matching lines...) Expand all
409 410
410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 411 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
411 Member<InternalRuntimeFlags> m_runtimeFlags; 412 Member<InternalRuntimeFlags> m_runtimeFlags;
412 413
413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 414 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
414 }; 415 };
415 416
416 } // namespace blink 417 } // namespace blink
417 418
418 #endif // Internals_h 419 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698