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: Source/core/testing/Internals.h

Issue 1360203002: Fix media element time display for times over an hour. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 377
378 ClientRectList* outlineRects(Element*); 378 ClientRectList* outlineRects(Element*);
379 379
380 void setCapsLockState(bool enabled); 380 void setCapsLockState(bool enabled);
381 381
382 void setSelectionPaintingWithoutSelectionGapsEnabled(bool); 382 void setSelectionPaintingWithoutSelectionGapsEnabled(bool);
383 383
384 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); 384 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
385 385
386 void forceRestrictIFramePermissions(); 386 void forceRestrictIFramePermissions();
387
388 String formatChromiumMediaControlsTime(float time, float duration, bool incl udeSeparator);
387 private: 389 private:
388 explicit Internals(ScriptState*); 390 explicit Internals(ScriptState*);
389 Document* contextDocument() const; 391 Document* contextDocument() const;
390 LocalFrame* frame() const; 392 LocalFrame* frame() const;
391 Vector<String> iconURLs(Document*, int iconTypesMask) const; 393 Vector<String> iconURLs(Document*, int iconTypesMask) const;
392 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; 394 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ;
393 395
394 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 396 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
395 Member<InternalRuntimeFlags> m_runtimeFlags; 397 Member<InternalRuntimeFlags> m_runtimeFlags;
396 398
397 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 399 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
398 }; 400 };
399 401
400 } // namespace blink 402 } // namespace blink
401 403
402 #endif // Internals_h 404 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698