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: content/renderer/render_view_impl.h

Issue 15947004: Allow renderer to create pepper ResourceHosts in the browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 class GeolocationDispatcher; 149 class GeolocationDispatcher;
150 class ImageResourceFetcher; 150 class ImageResourceFetcher;
151 class InputTagSpeechDispatcher; 151 class InputTagSpeechDispatcher;
152 class JavaBridgeDispatcher; 152 class JavaBridgeDispatcher;
153 class LoadProgressTracker; 153 class LoadProgressTracker;
154 class MediaStreamDispatcher; 154 class MediaStreamDispatcher;
155 class MediaStreamImpl; 155 class MediaStreamImpl;
156 class MouseLockDispatcher; 156 class MouseLockDispatcher;
157 class NavigationState; 157 class NavigationState;
158 class NotificationProvider; 158 class NotificationProvider;
159 class PepperBrowserConnection;
159 class RenderViewObserver; 160 class RenderViewObserver;
160 class RenderViewTest; 161 class RenderViewTest;
161 class RendererAccessibility; 162 class RendererAccessibility;
162 class RendererDateTimePicker; 163 class RendererDateTimePicker;
163 class RendererPpapiHost; 164 class RendererPpapiHost;
164 class RendererWebColorChooserImpl; 165 class RendererWebColorChooserImpl;
165 class RenderWidgetFullscreenPepper; 166 class RenderWidgetFullscreenPepper;
166 class SpeechRecognitionDispatcher; 167 class SpeechRecognitionDispatcher;
167 class WebPluginDelegateProxy; 168 class WebPluginDelegateProxy;
168 struct CustomContextMenuContext; 169 struct CustomContextMenuContext;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } 248 }
248 249
249 MediaStreamDispatcher* media_stream_dispatcher() { 250 MediaStreamDispatcher* media_stream_dispatcher() {
250 return media_stream_dispatcher_; 251 return media_stream_dispatcher_;
251 } 252 }
252 253
253 MouseLockDispatcher* mouse_lock_dispatcher() { 254 MouseLockDispatcher* mouse_lock_dispatcher() {
254 return mouse_lock_dispatcher_; 255 return mouse_lock_dispatcher_;
255 } 256 }
256 257
258 PepperBrowserConnection* pepper_browser_connection() {
259 return pepper_browser_connection_;
260 }
261
257 #if defined(OS_ANDROID) 262 #if defined(OS_ANDROID)
258 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() { 263 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() {
259 return media_player_manager_.get(); 264 return media_player_manager_.get();
260 } 265 }
261 #endif 266 #endif
262 267
263 // Lazily initialize this view's BrowserPluginManager and return it. 268 // Lazily initialize this view's BrowserPluginManager and return it.
264 BrowserPluginManager* GetBrowserPluginManager(); 269 BrowserPluginManager* GetBrowserPluginManager();
265 270
266 // Functions to add and remove observers for this object. 271 // Functions to add and remove observers for this object.
(...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 // Only valid if |accessibility_mode_| is anything other than 1415 // Only valid if |accessibility_mode_| is anything other than
1411 // AccessibilityModeOff. 1416 // AccessibilityModeOff.
1412 RendererAccessibility* renderer_accessibility_; 1417 RendererAccessibility* renderer_accessibility_;
1413 1418
1414 // Java Bridge dispatcher attached to this view; lazily initialized. 1419 // Java Bridge dispatcher attached to this view; lazily initialized.
1415 JavaBridgeDispatcher* java_bridge_dispatcher_; 1420 JavaBridgeDispatcher* java_bridge_dispatcher_;
1416 1421
1417 // Mouse Lock dispatcher attached to this view. 1422 // Mouse Lock dispatcher attached to this view.
1418 MouseLockDispatcher* mouse_lock_dispatcher_; 1423 MouseLockDispatcher* mouse_lock_dispatcher_;
1419 1424
1425 // Connection for sending and receiving pepper host-related messages to/from
1426 // the browser.
1427 PepperBrowserConnection* pepper_browser_connection_;
1428
1420 #if defined(OS_ANDROID) 1429 #if defined(OS_ANDROID)
1421 // Android Specific --------------------------------------------------------- 1430 // Android Specific ---------------------------------------------------------
1422 1431
1423 // The background color of the document body element. This is used as the 1432 // The background color of the document body element. This is used as the
1424 // default background color for filling the screen areas for which we don't 1433 // default background color for filling the screen areas for which we don't
1425 // have the actual content. 1434 // have the actual content.
1426 SkColor body_background_color_; 1435 SkColor body_background_color_;
1427 1436
1428 // Expected id of the next content intent launched. Used to prevent scheduled 1437 // Expected id of the next content intent launched. Used to prevent scheduled
1429 // intents to be launched if aborted. 1438 // intents to be launched if aborted.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 // use the Observer interface to filter IPC messages and receive frame change 1548 // use the Observer interface to filter IPC messages and receive frame change
1540 // notifications. 1549 // notifications.
1541 // --------------------------------------------------------------------------- 1550 // ---------------------------------------------------------------------------
1542 1551
1543 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1552 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1544 }; 1553 };
1545 1554
1546 } // namespace content 1555 } // namespace content
1547 1556
1548 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1557 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698