| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 | 268 |
| 269 // Notification that the given pepper plugin we created is being deleted the | 269 // Notification that the given pepper plugin we created is being deleted the |
| 270 // pointer must not be dereferenced as this is called from the destructor of | 270 // pointer must not be dereferenced as this is called from the destructor of |
| 271 // the plugin. | 271 // the plugin. |
| 272 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin); | 272 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin); |
| 273 | 273 |
| 274 // Create a new plugin without checking the content settings. | 274 // Create a new plugin without checking the content settings. |
| 275 WebKit::WebPlugin* CreatePluginInternal( | 275 WebKit::WebPlugin* CreatePluginInternal( |
| 276 WebKit::WebFrame* frame, | 276 WebKit::WebFrame* frame, |
| 277 const WebKit::WebPluginParams& params, | 277 const WebKit::WebPluginParams& params, |
| 278 const std::string& mime_type, | 278 WebPluginInfo* plugin_info, |
| 279 const FilePath& plugin_path); | 279 const std::string& mime_type); |
| 280 | 280 |
| 281 // Asks the browser for the CPBrowsingContext associated with this renderer. | 281 // Asks the browser for the CPBrowsingContext associated with this renderer. |
| 282 // This is an opaque identifier associated with the renderer for sending | 282 // This is an opaque identifier associated with the renderer for sending |
| 283 // messages for the given "Chrome Plugin." The Chrome Plugin API is used | 283 // messages for the given "Chrome Plugin." The Chrome Plugin API is used |
| 284 // only by gears and this function can be deleted when we remove gears. | 284 // only by gears and this function can be deleted when we remove gears. |
| 285 uint32 GetCPBrowsingContext(); | 285 uint32 GetCPBrowsingContext(); |
| 286 | 286 |
| 287 #if defined(OS_MACOSX) | 287 #if defined(OS_MACOSX) |
| 288 // Helper routines for GPU plugin support. Used by the | 288 // Helper routines for GPU plugin support. Used by the |
| 289 // WebPluginDelegateProxy, which has a pointer to the RenderView. | 289 // WebPluginDelegateProxy, which has a pointer to the RenderView. |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1264 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1264 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1265 // sections rather than throwing it randomly at the end. If you're adding a | 1265 // sections rather than throwing it randomly at the end. If you're adding a |
| 1266 // bunch of stuff, you should probably create a helper class and put your | 1266 // bunch of stuff, you should probably create a helper class and put your |
| 1267 // data and methods on that to avoid bloating RenderView more. | 1267 // data and methods on that to avoid bloating RenderView more. |
| 1268 // --------------------------------------------------------------------------- | 1268 // --------------------------------------------------------------------------- |
| 1269 | 1269 |
| 1270 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1270 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1271 }; | 1271 }; |
| 1272 | 1272 |
| 1273 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1273 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |