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

Side by Side Diff: Source/core/html/MediaController.h

Issue 196353003: Include HTMLMediaElement.h only where needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: SetWrapperReferenceFrom=owner casts owner() to Node* 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
« no previous file with comments | « Source/core/html/HTMLMediaSource.h ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 #include "platform/Timer.h" 34 #include "platform/Timer.h"
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/Vector.h" 37 #include "wtf/Vector.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class Clock; 41 class Clock;
42 class Event; 42 class Event;
43 class ExceptionState; 43 class ExceptionState;
44 class HTMLMediaElement;
45 class ExecutionContext; 44 class ExecutionContext;
46 45
47 class MediaController FINAL : public RefCounted<MediaController>, public ScriptW rappable, public MediaControllerInterface, public EventTargetWithInlineData { 46 class MediaController FINAL : public RefCounted<MediaController>, public ScriptW rappable, public MediaControllerInterface, public EventTargetWithInlineData {
48 REFCOUNTED_EVENT_TARGET(MediaController); 47 REFCOUNTED_EVENT_TARGET(MediaController);
49 public: 48 public:
50 static PassRefPtr<MediaController> create(ExecutionContext*); 49 static PassRefPtr<MediaController> create(ExecutionContext*);
51 virtual ~MediaController(); 50 virtual ~MediaController();
52 51
53 void addMediaElement(HTMLMediaElement*); 52 void addMediaElement(HTMLMediaElement*);
54 void removeMediaElement(HTMLMediaElement*); 53 void removeMediaElement(HTMLMediaElement*);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool m_closedCaptionsVisible; 136 bool m_closedCaptionsVisible;
138 OwnPtr<Clock> m_clock; 137 OwnPtr<Clock> m_clock;
139 ExecutionContext* m_executionContext; 138 ExecutionContext* m_executionContext;
140 Timer<MediaController> m_timeupdateTimer; 139 Timer<MediaController> m_timeupdateTimer;
141 double m_previousTimeupdateTime; 140 double m_previousTimeupdateTime;
142 }; 141 };
143 142
144 } // namespace WebCore 143 } // namespace WebCore
145 144
146 #endif 145 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLMediaSource.h ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698