OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 } | 92 } |
93 | 93 |
94 namespace WebKit { | 94 namespace WebKit { |
95 class WebAccessibilityCache; | 95 class WebAccessibilityCache; |
96 class WebAccessibilityObject; | 96 class WebAccessibilityObject; |
97 class WebApplicationCacheHost; | 97 class WebApplicationCacheHost; |
98 class WebApplicationCacheHostClient; | 98 class WebApplicationCacheHostClient; |
99 class WebDataSource; | 99 class WebDataSource; |
100 class WebDocument; | 100 class WebDocument; |
101 class WebDragData; | 101 class WebDragData; |
| 102 class WebFullscreenMediaPlayer; |
102 class WebGeolocationServiceInterface; | 103 class WebGeolocationServiceInterface; |
103 class WebImage; | 104 class WebImage; |
104 class WebInputElement; | 105 class WebInputElement; |
105 class WebKeyboardEvent; | 106 class WebKeyboardEvent; |
106 class WebMediaPlayer; | 107 class WebMediaPlayer; |
107 class WebMediaPlayerClient; | 108 class WebMediaPlayerClient; |
108 class WebNode; | 109 class WebNode; |
109 class WebPlugin; | 110 class WebPlugin; |
110 class WebStorageNamespace; | 111 class WebStorageNamespace; |
111 class WebURLRequest; | 112 class WebURLRequest; |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 const WebKit::WebString& message); | 367 const WebKit::WebString& message); |
367 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, | 368 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, |
368 const WebKit::WebString& message, | 369 const WebKit::WebString& message, |
369 const WebKit::WebString& default_value, | 370 const WebKit::WebString& default_value, |
370 WebKit::WebString* actual_value); | 371 WebKit::WebString* actual_value); |
371 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, | 372 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, |
372 const WebKit::WebString& message); | 373 const WebKit::WebString& message); |
373 virtual void showContextMenu(WebKit::WebFrame* frame, | 374 virtual void showContextMenu(WebKit::WebFrame* frame, |
374 const WebKit::WebContextMenuData& data); | 375 const WebKit::WebContextMenuData& data); |
375 virtual bool supportsFullscreen(); | 376 virtual bool supportsFullscreen(); |
376 virtual void enterFullscreenForNode(const WebKit::WebNode&); | |
377 virtual void exitFullscreenForNode(const WebKit::WebNode&); | |
378 virtual void setStatusText(const WebKit::WebString& text); | 377 virtual void setStatusText(const WebKit::WebString& text); |
379 virtual void setMouseOverURL(const WebKit::WebURL& url); | 378 virtual void setMouseOverURL(const WebKit::WebURL& url); |
380 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); | 379 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); |
381 virtual void setToolTipText(const WebKit::WebString& text, | 380 virtual void setToolTipText(const WebKit::WebString& text, |
382 WebKit::WebTextDirection hint); | 381 WebKit::WebTextDirection hint); |
383 virtual void startDragging(const WebKit::WebDragData& data, | 382 virtual void startDragging(const WebKit::WebDragData& data, |
384 WebKit::WebDragOperationsMask mask, | 383 WebKit::WebDragOperationsMask mask, |
385 const WebKit::WebImage& image, | 384 const WebKit::WebImage& image, |
386 const WebKit::WebPoint& imageOffset); | 385 const WebKit::WebPoint& imageOffset); |
387 virtual bool acceptsLoadDrops(); | 386 virtual bool acceptsLoadDrops(); |
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 // DOM automation bindings are enabled. | 1255 // DOM automation bindings are enabled. |
1257 DomAutomationController dom_automation_controller_; | 1256 DomAutomationController dom_automation_controller_; |
1258 | 1257 |
1259 // Allows DOM UI pages (new tab page, etc.) to talk to the browser. The JS | 1258 // Allows DOM UI pages (new tab page, etc.) to talk to the browser. The JS |
1260 // object is only exposed when DOM UI bindings are enabled. | 1259 // object is only exposed when DOM UI bindings are enabled. |
1261 DOMUIBindings dom_ui_bindings_; | 1260 DOMUIBindings dom_ui_bindings_; |
1262 | 1261 |
1263 // External host exposed through automation controller. | 1262 // External host exposed through automation controller. |
1264 ExternalHostBindings external_host_bindings_; | 1263 ExternalHostBindings external_host_bindings_; |
1265 | 1264 |
| 1265 typedef std::map<WebKit::WebNode, WebKit::WebFullscreenMediaPlayer*> |
| 1266 FullscreenWidgets; |
| 1267 FullscreenWidgets fullscreen_widgets_; |
| 1268 |
1266 // --------------------------------------------------------------------------- | 1269 // --------------------------------------------------------------------------- |
1267 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1270 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1268 // sections rather than throwing it randomly at the end. If you're adding a | 1271 // sections rather than throwing it randomly at the end. If you're adding a |
1269 // bunch of stuff, you should probably create a helper class and put your | 1272 // bunch of stuff, you should probably create a helper class and put your |
1270 // data and methods on that to avoid bloating RenderView more. | 1273 // data and methods on that to avoid bloating RenderView more. |
1271 // --------------------------------------------------------------------------- | 1274 // --------------------------------------------------------------------------- |
1272 | 1275 |
1273 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1276 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1274 }; | 1277 }; |
1275 | 1278 |
1276 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1279 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |