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

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

Issue 1415513002: Remove plumbing for inert-visual-viewport flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 361
362 // Schedule a forced Blink GC run (Oilpan) at the end of event loop. 362 // Schedule a forced Blink GC run (Oilpan) at the end of event loop.
363 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time. 363 // Note: This is designed to be only used from PerformanceTests/BlinkGC to e xplicitly measure only Blink GC time.
364 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC. 364 // Normal LayoutTests should use gc() instead as it would trigger both Blink GC and V8 GC.
365 void forceBlinkGCWithoutV8GC(); 365 void forceBlinkGCWithoutV8GC();
366 366
367 String selectedHTMLForClipboard(); 367 String selectedHTMLForClipboard();
368 String selectedTextForClipboard(); 368 String selectedTextForClipboard();
369 369
370 void setVisualViewportOffset(int x, int y); 370 void setVisualViewportOffset(int x, int y);
371 int visualViewportHeight();
372 int visualViewportWidth();
373 // The scroll position of the visual viewport relative to scroll origin of
bokan 2015/10/19 15:01:14 I think it's clearer to just say "relative to docu
ymalik 2015/10/20 21:27:14 Done.
374 // layout viewport.
375 double visualViewportScrollX();
376 double visualViewportScrollY();
371 377
372 // Return true if the given use counter exists for the given document. 378 // Return true if the given use counter exists for the given document.
373 // |useCounterId| must be one of the values from the UseCounter::Feature enu m. 379 // |useCounterId| must be one of the values from the UseCounter::Feature enu m.
374 bool isUseCounted(Document*, int useCounterId); 380 bool isUseCounted(Document*, int useCounterId);
375 381
376 String unscopeableAttribute(); 382 String unscopeableAttribute();
377 String unscopeableMethod(); 383 String unscopeableMethod();
378 384
379 ClientRectList* focusRingRects(Element*); 385 ClientRectList* focusRingRects(Element*);
380 ClientRectList* outlineRects(Element*); 386 ClientRectList* outlineRects(Element*);
(...skipping 18 matching lines...) Expand all
399 405
400 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 406 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
401 Member<InternalRuntimeFlags> m_runtimeFlags; 407 Member<InternalRuntimeFlags> m_runtimeFlags;
402 408
403 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 409 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
404 }; 410 };
405 411
406 } // namespace blink 412 } // namespace blink
407 413
408 #endif // Internals_h 414 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698