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

Unified Diff: content/renderer/media/texttrack_impl.h

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/test_response_generator.cc ('k') | content/renderer/media/texttrack_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/texttrack_impl.h
diff --git a/content/renderer/media/texttrack_impl.h b/content/renderer/media/texttrack_impl.h
deleted file mode 100644
index 436d4eab0e0f5e3bc039652fe5ba32a95d10c54e..0000000000000000000000000000000000000000
--- a/content/renderer/media/texttrack_impl.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_MEDIA_TEXTTRACK_IMPL_H_
-#define CONTENT_RENDERER_MEDIA_TEXTTRACK_IMPL_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "media/base/text_track.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-}
-
-namespace blink {
-class WebInbandTextTrackClient;
-class WebMediaPlayerClient;
-}
-
-namespace content {
-
-class WebInbandTextTrackImpl;
-
-class TextTrackImpl : public media::TextTrack {
- public:
- // Constructor assumes ownership of the |text_track| object.
- TextTrackImpl(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
- blink::WebMediaPlayerClient* client,
- scoped_ptr<WebInbandTextTrackImpl> text_track);
-
- virtual ~TextTrackImpl();
-
- virtual void addWebVTTCue(const base::TimeDelta& start,
- const base::TimeDelta& end,
- const std::string& id,
- const std::string& content,
- const std::string& settings) OVERRIDE;
-
- private:
- static void OnAddCue(WebInbandTextTrackImpl* text_track,
- const base::TimeDelta& start,
- const base::TimeDelta& end,
- const std::string& id,
- const std::string& content,
- const std::string& settings);
-
- static void OnRemoveTrack(blink::WebMediaPlayerClient* client,
- scoped_ptr<WebInbandTextTrackImpl> text_track);
-
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- blink::WebMediaPlayerClient* client_;
- scoped_ptr<WebInbandTextTrackImpl> text_track_;
- DISALLOW_COPY_AND_ASSIGN(TextTrackImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MEDIA_TEXTTRACK_IMPL_H_
« no previous file with comments | « content/renderer/media/test_response_generator.cc ('k') | content/renderer/media/texttrack_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698