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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 10382048: create WebMediaPlayer based on URL (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | « content/renderer/media/video_capture_relay.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 WebKit::WebFrame* frame, 448 WebKit::WebFrame* frame,
449 const WebKit::WebPluginParams& params); 449 const WebKit::WebPluginParams& params);
450 virtual WebKit::WebPlugin* createPluginReplacement( 450 virtual WebKit::WebPlugin* createPluginReplacement(
451 WebKit::WebFrame* frame, 451 WebKit::WebFrame* frame,
452 const WebKit::WebPluginParams& params); 452 const WebKit::WebPluginParams& params);
453 virtual WebKit::WebSharedWorker* createSharedWorker( 453 virtual WebKit::WebSharedWorker* createSharedWorker(
454 WebKit::WebFrame* frame, const WebKit::WebURL& url, 454 WebKit::WebFrame* frame, const WebKit::WebURL& url,
455 const WebKit::WebString& name, unsigned long long documentId); 455 const WebKit::WebString& name, unsigned long long documentId);
456 virtual WebKit::WebMediaPlayer* createMediaPlayer( 456 virtual WebKit::WebMediaPlayer* createMediaPlayer(
457 WebKit::WebFrame* frame, 457 WebKit::WebFrame* frame,
458 WebKit::WebMediaPlayerClient* client); 458 WebKit::WebMediaPlayerClient* client,
459 const WebKit::WebURL& url);
459 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( 460 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
460 WebKit::WebFrame* frame, 461 WebKit::WebFrame* frame,
461 WebKit::WebApplicationCacheHostClient* client); 462 WebKit::WebApplicationCacheHostClient* client);
462 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame); 463 virtual WebKit::WebCookieJar* cookieJar(WebKit::WebFrame* frame);
463 virtual void frameDetached(WebKit::WebFrame* frame); 464 virtual void frameDetached(WebKit::WebFrame* frame);
464 virtual void willClose(WebKit::WebFrame* frame); 465 virtual void willClose(WebKit::WebFrame* frame);
465 virtual void loadURLExternally(WebKit::WebFrame* frame, 466 virtual void loadURLExternally(WebKit::WebFrame* frame,
466 const WebKit::WebURLRequest& request, 467 const WebKit::WebURLRequest& request,
467 WebKit::WebNavigationPolicy policy); 468 WebKit::WebNavigationPolicy policy);
468 virtual void loadURLExternally(WebKit::WebFrame* frame, 469 virtual void loadURLExternally(WebKit::WebFrame* frame,
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 648 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
648 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 649 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
649 virtual void DidMovePlugin( 650 virtual void DidMovePlugin(
650 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; 651 const webkit::npapi::WebPluginGeometry& move) OVERRIDE;
651 virtual void DidStartLoadingForPlugin() OVERRIDE; 652 virtual void DidStartLoadingForPlugin() OVERRIDE;
652 virtual void DidStopLoadingForPlugin() OVERRIDE; 653 virtual void DidStopLoadingForPlugin() OVERRIDE;
653 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE; 654 virtual WebKit::WebCookieJar* GetCookieJar() OVERRIDE;
654 655
655 // webkit_media::WebMediaPlayerDelegate implementation ----------------------- 656 // webkit_media::WebMediaPlayerDelegate implementation -----------------------
656 657
657 virtual void DidPlay(webkit_media::WebMediaPlayerImpl* player) OVERRIDE; 658 virtual void DidPlay(WebKit::WebMediaPlayer* player) OVERRIDE;
658 virtual void DidPause(webkit_media::WebMediaPlayerImpl* player) OVERRIDE; 659 virtual void DidPause(WebKit::WebMediaPlayer* player) OVERRIDE;
659 virtual void PlayerGone(webkit_media::WebMediaPlayerImpl* player) OVERRIDE; 660 virtual void PlayerGone(WebKit::WebMediaPlayer* player) OVERRIDE;
660 661
661 // Please do not add your stuff randomly to the end here. If there is an 662 // Please do not add your stuff randomly to the end here. If there is an
662 // appropriate section, add it there. If not, there are some random functions 663 // appropriate section, add it there. If not, there are some random functions
663 // nearer to the top you can add it to. 664 // nearer to the top you can add it to.
664 665
665 // Cannot use std::set unfortunately since linked_ptr<> does not support 666 // Cannot use std::set unfortunately since linked_ptr<> does not support
666 // operator<. 667 // operator<.
667 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> > 668 typedef std::vector<linked_ptr<webkit_glue::ImageResourceFetcher> >
668 ImageResourceFetcherList; 669 ImageResourceFetcherList;
669 670
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // bunch of stuff, you should probably create a helper class and put your 1344 // bunch of stuff, you should probably create a helper class and put your
1344 // data and methods on that to avoid bloating RenderView more. You can 1345 // data and methods on that to avoid bloating RenderView more. You can
1345 // use the Observer interface to filter IPC messages and receive frame change 1346 // use the Observer interface to filter IPC messages and receive frame change
1346 // notifications. 1347 // notifications.
1347 // --------------------------------------------------------------------------- 1348 // ---------------------------------------------------------------------------
1348 1349
1349 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1350 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1350 }; 1351 };
1351 1352
1352 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1353 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/video_capture_relay.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698