| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ | 6 #define CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "base/time/default_tick_clock.h" | 14 #include "base/time/default_tick_clock.h" |
| 14 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
| 15 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 16 #include "content/public/renderer/render_frame_observer.h" | 17 #include "content/public/renderer/render_frame_observer.h" |
| 17 #include "media/blink/webmediaplayer_delegate.h" | 18 #include "media/blink/webmediaplayer_delegate.h" |
| 18 | 19 |
| 19 namespace blink { | 20 namespace blink { |
| 20 class WebMediaPlayer; | 21 class WebMediaPlayer; |
| 21 } | 22 } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // for testing. | 99 // for testing. |
| 99 scoped_ptr<base::DefaultTickClock> default_tick_clock_; | 100 scoped_ptr<base::DefaultTickClock> default_tick_clock_; |
| 100 base::TickClock* tick_clock_; | 101 base::TickClock* tick_clock_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(RendererWebMediaPlayerDelegate); | 103 DISALLOW_COPY_AND_ASSIGN(RendererWebMediaPlayerDelegate); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace media | 106 } // namespace media |
| 106 | 107 |
| 107 #endif // CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ | 108 #endif // CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIAPLAYER_DELEGATE_H_ |
| OLD | NEW |