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

Side by Side Diff: webkit/glue/temporary_glue.cc

Issue 115482: Move WebMediaPlayerClientImpl files to WebKit API src location.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | « webkit/glue/media_player_private_impl.cc ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "config.h"
6 #include "webkit/api/src/TemporaryGlue.h"
7
8 #include "webkit/glue/webview_impl.h"
9
10 using WebCore::Frame;
11
12 namespace WebKit {
13
14 // static
15 WebMediaPlayer* TemporaryGlue::createWebMediaPlayer(
16 WebMediaPlayerClient* client, Frame* frame) {
17 WebViewImpl* webview = WebFrameImpl::FromFrame(frame)->GetWebViewImpl();
18 if (!webview || !webview->delegate())
19 return NULL;
20
21 return webview->delegate()->CreateWebMediaPlayer(client);
22 }
23
24 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/glue/media_player_private_impl.cc ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698