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

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

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: Fix README.md Created 4 years, 2 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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 // gc() instead as it would trigger both Blink GC and V8 GC. 480 // gc() instead as it would trigger both Blink GC and V8 GC.
481 void forceBlinkGCWithoutV8GC(); 481 void forceBlinkGCWithoutV8GC();
482 482
483 String selectedHTMLForClipboard(); 483 String selectedHTMLForClipboard();
484 String selectedTextForClipboard(); 484 String selectedTextForClipboard();
485 485
486 void setVisualViewportOffset(int x, int y); 486 void setVisualViewportOffset(int x, int y);
487 int visualViewportHeight(); 487 int visualViewportHeight();
488 int visualViewportWidth(); 488 int visualViewportWidth();
489 // The scroll position of the visual viewport relative to the document origin. 489 // The scroll position of the visual viewport relative to the document origin.
490 double visualViewportScrollX(); 490 float visualViewportScrollX();
491 double visualViewportScrollY(); 491 float visualViewportScrollY();
492 492
493 // Return true if the given use counter exists for the given document. 493 // Return true if the given use counter exists for the given document.
494 // |useCounterId| must be one of the values from the UseCounter::Feature enum. 494 // |useCounterId| must be one of the values from the UseCounter::Feature enum.
495 bool isUseCounted(Document*, int useCounterId); 495 bool isUseCounted(Document*, int useCounterId);
496 bool isCSSPropertyUseCounted(Document*, const String&); 496 bool isCSSPropertyUseCounted(Document*, const String&);
497 497
498 String unscopableAttribute(); 498 String unscopableAttribute();
499 String unscopableMethod(); 499 String unscopableMethod();
500 500
501 ClientRectList* focusRingRects(Element*); 501 ClientRectList* focusRingRects(Element*);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 unsigned index, 542 unsigned index,
543 ExceptionState&); 543 ExceptionState&);
544 Member<InternalRuntimeFlags> m_runtimeFlags; 544 Member<InternalRuntimeFlags> m_runtimeFlags;
545 545
546 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 546 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
547 }; 547 };
548 548
549 } // namespace blink 549 } // namespace blink
550 550
551 #endif // Internals_h 551 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698