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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 namespace base { | 84 namespace base { |
85 class WaitableEvent; | 85 class WaitableEvent; |
86 } | 86 } |
87 | 87 |
88 namespace gfx { | 88 namespace gfx { |
89 class Point; | 89 class Point; |
90 class Rect; | 90 class Rect; |
91 } | 91 } |
92 | 92 |
| 93 namespace pepper { |
| 94 class PluginInstance; |
| 95 class FullscreenContainer; |
| 96 } |
| 97 |
93 namespace webkit_glue { | 98 namespace webkit_glue { |
94 class ImageResourceFetcher; | 99 class ImageResourceFetcher; |
95 struct FileUploadData; | 100 struct FileUploadData; |
96 struct FormData; | 101 struct FormData; |
97 struct PasswordFormFillData; | 102 struct PasswordFormFillData; |
98 } | 103 } |
99 | 104 |
100 namespace WebKit { | 105 namespace WebKit { |
101 class WebAccessibilityCache; | 106 class WebAccessibilityCache; |
102 class WebAccessibilityObject; | 107 class WebAccessibilityObject; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 // Notification that the default plugin has done something about a missing | 280 // Notification that the default plugin has done something about a missing |
276 // plugin. See default_plugin_shared.h for possible values of |status|. | 281 // plugin. See default_plugin_shared.h for possible values of |status|. |
277 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate, | 282 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate, |
278 int status); | 283 int status); |
279 | 284 |
280 // Notification that the given pepper plugin we created is being deleted the | 285 // Notification that the given pepper plugin we created is being deleted the |
281 // pointer must not be dereferenced as this is called from the destructor of | 286 // pointer must not be dereferenced as this is called from the destructor of |
282 // the plugin. | 287 // the plugin. |
283 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin); | 288 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin); |
284 | 289 |
| 290 // Creates a fullscreen container for a pepper plugin instance. |
| 291 pepper::FullscreenContainer* CreatePepperFullscreenContainer( |
| 292 pepper::PluginInstance* plugin); |
| 293 |
285 // Create a new plugin without checking the content settings. | 294 // Create a new plugin without checking the content settings. |
286 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, | 295 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, |
287 const WebKit::WebPluginParams& params); | 296 const WebKit::WebPluginParams& params); |
288 | 297 |
289 // Asks the browser for the CPBrowsingContext associated with this renderer. | 298 // Asks the browser for the CPBrowsingContext associated with this renderer. |
290 // This is an opaque identifier associated with the renderer for sending | 299 // This is an opaque identifier associated with the renderer for sending |
291 // messages for the given "Chrome Plugin." The Chrome Plugin API is used | 300 // messages for the given "Chrome Plugin." The Chrome Plugin API is used |
292 // only by gears and this function can be deleted when we remove gears. | 301 // only by gears and this function can be deleted when we remove gears. |
293 uint32 GetCPBrowsingContext(); | 302 uint32 GetCPBrowsingContext(); |
294 | 303 |
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1344 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1336 // sections rather than throwing it randomly at the end. If you're adding a | 1345 // sections rather than throwing it randomly at the end. If you're adding a |
1337 // bunch of stuff, you should probably create a helper class and put your | 1346 // bunch of stuff, you should probably create a helper class and put your |
1338 // data and methods on that to avoid bloating RenderView more. | 1347 // data and methods on that to avoid bloating RenderView more. |
1339 // --------------------------------------------------------------------------- | 1348 // --------------------------------------------------------------------------- |
1340 | 1349 |
1341 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1350 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1342 }; | 1351 }; |
1343 | 1352 |
1344 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1353 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |