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

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: worked on review comments Created 5 years, 1 month 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 the document origi n.
374 double visualViewportScrollX();
375 double visualViewportScrollY();
Rick Byers 2015/10/21 17:26:40 would this be simpler and most consistent with oth
ymalik 2015/10/21 21:14:17 I was originally thinking of that but thought that
371 376
372 // Return true if the given use counter exists for the given document. 377 // 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. 378 // |useCounterId| must be one of the values from the UseCounter::Feature enu m.
374 bool isUseCounted(Document*, int useCounterId); 379 bool isUseCounted(Document*, int useCounterId);
375 380
376 String unscopeableAttribute(); 381 String unscopeableAttribute();
377 String unscopeableMethod(); 382 String unscopeableMethod();
378 383
379 ClientRectList* focusRingRects(Element*); 384 ClientRectList* focusRingRects(Element*);
380 ClientRectList* outlineRects(Element*); 385 ClientRectList* outlineRects(Element*);
(...skipping 18 matching lines...) Expand all
399 404
400 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 405 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
401 Member<InternalRuntimeFlags> m_runtimeFlags; 406 Member<InternalRuntimeFlags> m_runtimeFlags;
402 407
403 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 408 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
404 }; 409 };
405 410
406 } // namespace blink 411 } // namespace blink
407 412
408 #endif // Internals_h 413 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.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