| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 // BrowserIntegration callbacks, feel free to move it elsewhere. | 210 // BrowserIntegration callbacks, feel free to move it elsewhere. |
| 211 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0; | 211 virtual void OnCrashedPlugin(const FilePath& plugin_path) = 0; |
| 212 | 212 |
| 213 // Notification that a worker process has crashed. | 213 // Notification that a worker process has crashed. |
| 214 virtual void OnCrashedWorker() = 0; | 214 virtual void OnCrashedWorker() = 0; |
| 215 | 215 |
| 216 // Notification that a request for install info has completed. | 216 // Notification that a request for install info has completed. |
| 217 virtual void OnDidGetApplicationInfo( | 217 virtual void OnDidGetApplicationInfo( |
| 218 int32 page_id, | 218 int32 page_id, |
| 219 const webkit_glue::WebApplicationInfo& app_info) = 0; | 219 const webkit_glue::WebApplicationInfo& app_info) = 0; |
| 220 |
| 221 // Notification that the contents of the page has been loaded. |
| 222 virtual void OnPageContents(const GURL& url, |
| 223 int renderer_process_id, |
| 224 int32 page_id, |
| 225 const std::wstring& contents) = 0; |
| 220 }; | 226 }; |
| 221 | 227 |
| 222 // Resource ------------------------------------------------------------------ | 228 // Resource ------------------------------------------------------------------ |
| 223 // Notifications of resource loading events. | 229 // Notifications of resource loading events. |
| 224 | 230 |
| 225 class Resource { | 231 class Resource { |
| 226 public: | 232 public: |
| 227 // The RenderView is starting a provisional load. | 233 // The RenderView is starting a provisional load. |
| 228 virtual void DidStartProvisionalLoadForFrame( | 234 virtual void DidStartProvisionalLoadForFrame( |
| 229 RenderViewHost* render_view_host, | 235 RenderViewHost* render_view_host, |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 virtual bool IsExternalTabContainer() const; | 573 virtual bool IsExternalTabContainer() const; |
| 568 | 574 |
| 569 // The RenderView has inserted one css file into page. | 575 // The RenderView has inserted one css file into page. |
| 570 virtual void DidInsertCSS() {} | 576 virtual void DidInsertCSS() {} |
| 571 | 577 |
| 572 // A different node in the page got focused. | 578 // A different node in the page got focused. |
| 573 virtual void FocusedNodeChanged() {} | 579 virtual void FocusedNodeChanged() {} |
| 574 }; | 580 }; |
| 575 | 581 |
| 576 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 582 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |