| 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 // Notification from the renderer that a plugin instance has crashed. | 276 // Notification from the renderer that a plugin instance has crashed. |
| 277 // | 277 // |
| 278 // BrowserIntegration isn't necessarily the best place for this, if you | 278 // BrowserIntegration isn't necessarily the best place for this, if you |
| 279 // need to implement this function somewhere that doesn't need any other | 279 // need to implement this function somewhere that doesn't need any other |
| 280 // BrowserIntegration callbacks, feel free to move it elsewhere. | 280 // BrowserIntegration callbacks, feel free to move it elsewhere. |
| 281 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0; | 281 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0; |
| 282 | 282 |
| 283 // Notification that a worker process has crashed. | 283 // Notification that a worker process has crashed. |
| 284 virtual void OnCrashedWorker() = 0; | 284 virtual void OnCrashedWorker() = 0; |
| 285 | 285 |
| 286 virtual void OnDisabledOutdatedPlugin(const string16& name, | 286 virtual void OnBlockedOutdatedPlugin(const string16& name, |
| 287 const GURL& update_url) = 0; | 287 const GURL& update_url) = 0; |
| 288 | 288 |
| 289 // Notification that a user's request to install an application has | 289 // Notification that a user's request to install an application has |
| 290 // completed. | 290 // completed. |
| 291 virtual void OnDidGetApplicationInfo( | 291 virtual void OnDidGetApplicationInfo( |
| 292 int32 page_id, | 292 int32 page_id, |
| 293 const WebApplicationInfo& app_info) = 0; | 293 const WebApplicationInfo& app_info) = 0; |
| 294 | 294 |
| 295 // Notification when an application programmatically requests installation. | 295 // Notification when an application programmatically requests installation. |
| 296 virtual void OnInstallApplication( | 296 virtual void OnInstallApplication( |
| 297 const WebApplicationInfo& app_info) = 0; | 297 const WebApplicationInfo& app_info) = 0; |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 bool remember) {} | 876 bool remember) {} |
| 877 | 877 |
| 878 // Update the content restrictions, i.e. disable print/copy. | 878 // Update the content restrictions, i.e. disable print/copy. |
| 879 virtual void UpdateContentRestrictions(int restrictions) {} | 879 virtual void UpdateContentRestrictions(int restrictions) {} |
| 880 | 880 |
| 881 protected: | 881 protected: |
| 882 virtual ~RenderViewHostDelegate() {} | 882 virtual ~RenderViewHostDelegate() {} |
| 883 }; | 883 }; |
| 884 | 884 |
| 885 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 885 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |