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

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

Issue 1352523002: Use high precision timestamp for Event.timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 ClientRectList* focusRingRects(Element*); 380 ClientRectList* focusRingRects(Element*);
381 ClientRectList* outlineRects(Element*); 381 ClientRectList* outlineRects(Element*);
382 382
383 void setCapsLockState(bool enabled); 383 void setCapsLockState(bool enabled);
384 384
385 void setSelectionPaintingWithoutSelectionGapsEnabled(bool); 385 void setSelectionPaintingWithoutSelectionGapsEnabled(bool);
386 386
387 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); 387 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
388 388
389 void forceRestrictIFramePermissions(); 389 void forceRestrictIFramePermissions();
390
391 // Translate given platform monotonic time in seconds to high resolution
392 // document time in seconds
393 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&);
390 private: 394 private:
391 explicit Internals(ScriptState*); 395 explicit Internals(ScriptState*);
392 Document* contextDocument() const; 396 Document* contextDocument() const;
393 LocalFrame* frame() const; 397 LocalFrame* frame() const;
394 Vector<String> iconURLs(Document*, int iconTypesMask) const; 398 Vector<String> iconURLs(Document*, int iconTypesMask) const;
395 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; 399 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ;
396 400
397 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 401 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
398 Member<InternalRuntimeFlags> m_runtimeFlags; 402 Member<InternalRuntimeFlags> m_runtimeFlags;
399 403
400 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 404 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
401 }; 405 };
402 406
403 } // namespace blink 407 } // namespace blink
404 408
405 #endif // Internals_h 409 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.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