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

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

Issue 209693003: Make mediaPlayerRequestFullscreen() user gesture bypass explicit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 class ClientRect; 45 class ClientRect;
46 class ClientRectList; 46 class ClientRectList;
47 class DOMPoint; 47 class DOMPoint;
48 class DOMStringList; 48 class DOMStringList;
49 class DOMWindow; 49 class DOMWindow;
50 class Document; 50 class Document;
51 class DocumentMarker; 51 class DocumentMarker;
52 class Element; 52 class Element;
53 class ExceptionState; 53 class ExceptionState;
54 class LocalFrame; 54 class ExecutionContext;
55 class GCObservation; 55 class GCObservation;
56 class HTMLMediaElement;
56 class InspectorFrontendChannelDummy; 57 class InspectorFrontendChannelDummy;
57 class InternalProfilers; 58 class InternalProfilers;
58 class InternalRuntimeFlags; 59 class InternalRuntimeFlags;
59 class InternalSettings; 60 class InternalSettings;
60 class LayerRectList; 61 class LayerRectList;
62 class LocalFrame;
61 class MallocStatistics; 63 class MallocStatistics;
62 class Node; 64 class Node;
63 class Page; 65 class Page;
64 class PagePopupController; 66 class PagePopupController;
65 class Range; 67 class Range;
66 class ExecutionContext;
67 class SerializedScriptValue; 68 class SerializedScriptValue;
68 class ShadowRoot; 69 class ShadowRoot;
69 class TypeConversions; 70 class TypeConversions;
70 71
71 class Internals FINAL : public RefCountedWillBeGarbageCollectedFinalized<Interna ls>, public ContextLifecycleObserver { 72 class Internals FINAL : public RefCountedWillBeGarbageCollectedFinalized<Interna ls>, public ContextLifecycleObserver {
72 public: 73 public:
73 static PassRefPtrWillBeRawPtr<Internals> create(Document*); 74 static PassRefPtrWillBeRawPtr<Internals> create(Document*);
74 virtual ~Internals(); 75 virtual ~Internals();
75 76
76 static void resetToConsistentState(Page*); 77 static void resetToConsistentState(Page*);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 262
262 void setDeviceScaleFactor(float scaleFactor, ExceptionState&); 263 void setDeviceScaleFactor(float scaleFactor, ExceptionState&);
263 264
264 void setIsCursorVisible(Document*, bool, ExceptionState&); 265 void setIsCursorVisible(Document*, bool, ExceptionState&);
265 266
266 void webkitWillEnterFullScreenForElement(Document*, Element*); 267 void webkitWillEnterFullScreenForElement(Document*, Element*);
267 void webkitDidEnterFullScreenForElement(Document*, Element*); 268 void webkitDidEnterFullScreenForElement(Document*, Element*);
268 void webkitWillExitFullScreenForElement(Document*, Element*); 269 void webkitWillExitFullScreenForElement(Document*, Element*);
269 void webkitDidExitFullScreenForElement(Document*, Element*); 270 void webkitDidExitFullScreenForElement(Document*, Element*);
270 271
272 void mediaPlayerRequestFullscreen(HTMLMediaElement*);
273
271 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ; 274 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ;
272 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme); 275 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme);
273 276
274 PassRefPtrWillBeRawPtr<MallocStatistics> mallocStatistics() const; 277 PassRefPtrWillBeRawPtr<MallocStatistics> mallocStatistics() const;
275 PassRefPtrWillBeRawPtr<TypeConversions> typeConversions() const; 278 PassRefPtrWillBeRawPtr<TypeConversions> typeConversions() const;
276 279
277 Vector<String> getReferencedFilePaths() const; 280 Vector<String> getReferencedFilePaths() const;
278 281
279 void startTrackingRepaints(Document*, ExceptionState&); 282 void startTrackingRepaints(Document*, ExceptionState&);
280 void stopTrackingRepaints(Document*, ExceptionState&); 283 void stopTrackingRepaints(Document*, ExceptionState&);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 335 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
333 RefPtr<DOMWindow> m_frontendWindow; 336 RefPtr<DOMWindow> m_frontendWindow;
334 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 337 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 338 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
336 RefPtrWillBeMember<InternalProfilers> m_profilers; 339 RefPtrWillBeMember<InternalProfilers> m_profilers;
337 }; 340 };
338 341
339 } // namespace WebCore 342 } // namespace WebCore
340 343
341 #endif 344 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698