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

Side by Side Diff: content/public/renderer/render_view.h

Issue 10413015: Upstream implementation for embedded video for WebMediaPlayerAndroid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactored the code to remove SetVideoSurface() call 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 | « no previous file | content/renderer/render_view_impl.h » ('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_PUBLIC_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h " 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h "
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 14
15 namespace webkit_glue { 15 namespace webkit_glue {
16 struct WebPreferences; 16 struct WebPreferences;
17 } 17 }
18 18
19 #if defined(OS_ANDROID)
20 namespace webkit_media {
21 class WebMediaPlayerManagerAndroid;
22 }
23 #endif
24
19 namespace WebKit { 25 namespace WebKit {
20 class WebFrame; 26 class WebFrame;
21 class WebNode; 27 class WebNode;
22 class WebPlugin; 28 class WebPlugin;
23 class WebString; 29 class WebString;
24 class WebURLRequest; 30 class WebURLRequest;
25 class WebView; 31 class WebView;
26 struct WebContextMenuData; 32 struct WebContextMenuData;
27 struct WebPluginParams; 33 struct WebPluginParams;
28 } 34 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Displays a modal alert dialog containing the given message. Returns 129 // Displays a modal alert dialog containing the given message. Returns
124 // once the user dismisses the dialog. 130 // once the user dismisses the dialog.
125 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, 131 virtual void RunModalAlertDialog(WebKit::WebFrame* frame,
126 const WebKit::WebString& message) = 0; 132 const WebKit::WebString& message) = 0;
127 133
128 // The client should handle the navigation externally. 134 // The client should handle the navigation externally.
129 virtual void LoadURLExternally( 135 virtual void LoadURLExternally(
130 WebKit::WebFrame* frame, 136 WebKit::WebFrame* frame,
131 const WebKit::WebURLRequest& request, 137 const WebKit::WebURLRequest& request,
132 WebKit::WebNavigationPolicy policy) = 0; 138 WebKit::WebNavigationPolicy policy) = 0;
139
140 #if defined(OS_ANDROID)
141 // Returns the manager for all the WebMediaPlayers.
142 virtual webkit_media::WebMediaPlayerManagerAndroid*
143 GetWebMediaPlayerManager() = 0;
jam 2012/05/21 15:39:13 does this need to be in the public API? i.e. who's
qinmin 2012/05/21 16:42:39 Not necessarily. We call this in content/renderer/
144 #endif
133 }; 145 };
134 146
135 } // namespace content 147 } // namespace content
136 148
137 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 149 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698