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

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

Issue 1417683004: Media controls refer to less magic state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, fixed assert. 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 388
389 void setSelectionPaintingWithoutSelectionGapsEnabled(bool); 389 void setSelectionPaintingWithoutSelectionGapsEnabled(bool);
390 390
391 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); 391 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
392 392
393 void forceRestrictIFramePermissions(); 393 void forceRestrictIFramePermissions();
394 394
395 // Translate given platform monotonic time in seconds to high resolution 395 // Translate given platform monotonic time in seconds to high resolution
396 // document time in seconds 396 // document time in seconds
397 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&); 397 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&);
398
399 void setMediaElementNetworkState(HTMLMediaElement*, long state);
philipj_slow 2015/10/30 10:55:37 The long type in WebIDL <https://heycam.github.io/
liberato (no reviews please) 2015/10/30 15:09:07 Done.
philipj_slow 2015/11/03 09:04:06 The int32_t mention was to point out that WebIDL's
400
398 private: 401 private:
399 explicit Internals(ScriptState*); 402 explicit Internals(ScriptState*);
400 Document* contextDocument() const; 403 Document* contextDocument() const;
401 LocalFrame* frame() const; 404 LocalFrame* frame() const;
402 Vector<String> iconURLs(Document*, int iconTypesMask) const; 405 Vector<String> iconURLs(Document*, int iconTypesMask) const;
403 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ; 406 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&) ;
404 407
405 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 408 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
406 Member<InternalRuntimeFlags> m_runtimeFlags; 409 Member<InternalRuntimeFlags> m_runtimeFlags;
407 410
408 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 411 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
409 }; 412 };
410 413
411 } // namespace blink 414 } // namespace blink
412 415
413 #endif // Internals_h 416 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698