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

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

Issue 1910263003: Generate CSSPropertyEquality instead of using hand-updated file. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests2! Created 4 years, 7 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 void triggerAutoplayViewportCheck(HTMLMediaElement*); 399 void triggerAutoplayViewportCheck(HTMLMediaElement*);
400 400
401 // Returns the run state of the node's scroll animator (see ScrollAnimatorCo mpositorCoordinater::RunState), 401 // Returns the run state of the node's scroll animator (see ScrollAnimatorCo mpositorCoordinater::RunState),
402 // or -1 if the node does not have a scrollable area. 402 // or -1 if the node does not have a scrollable area.
403 String getScrollAnimationState(Node*) const; 403 String getScrollAnimationState(Node*) const;
404 404
405 // Returns the run state of the node's programmatic scroll animator (see Scr ollAnimatorCompositorCoordinater::RunState), 405 // Returns the run state of the node's programmatic scroll animator (see Scr ollAnimatorCompositorCoordinater::RunState),
406 // or -1 if the node does not have a scrollable area. 406 // or -1 if the node does not have a scrollable area.
407 String getProgrammaticScrollAnimationState(Node*) const; 407 String getProgrammaticScrollAnimationState(Node*) const;
408 408
409 bool isCSSPropertyEqual(String property, Element* a, Element* b, ExceptionSt ate&) const;
410
409 private: 411 private:
410 explicit Internals(ScriptState*); 412 explicit Internals(ScriptState*);
411 Document* contextDocument() const; 413 Document* contextDocument() const;
412 LocalFrame* frame() const; 414 LocalFrame* frame() const;
413 Vector<String> iconURLs(Document*, int iconTypesMask) const; 415 Vector<String> iconURLs(Document*, int iconTypesMask) const;
414 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; 416 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ;
415 417
416 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 418 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
417 Member<InternalRuntimeFlags> m_runtimeFlags; 419 Member<InternalRuntimeFlags> m_runtimeFlags;
418 420
419 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 421 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
420 }; 422 };
421 423
422 } // namespace blink 424 } // namespace blink
423 425
424 #endif // Internals_h 426 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698