| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 const GURL& url) { } | 217 const GURL& url) { } |
| 218 | 218 |
| 219 // Sent when a provisional load is redirected. | 219 // Sent when a provisional load is redirected. |
| 220 virtual void DidRedirectProvisionalLoad(int32 page_id, | 220 virtual void DidRedirectProvisionalLoad(int32 page_id, |
| 221 const GURL& source_url, | 221 const GURL& source_url, |
| 222 const GURL& target_url) { } | 222 const GURL& target_url) { } |
| 223 | 223 |
| 224 // The RenderView loaded a resource from an in-memory cache. | 224 // The RenderView loaded a resource from an in-memory cache. |
| 225 // |security_info| contains the security info if this resource was originally | 225 // |security_info| contains the security info if this resource was originally |
| 226 // loaded over a secure connection. | 226 // loaded over a secure connection. |
| 227 virtual void DidLoadResourceFromMemoryCache(const GURL& url, | 227 virtual void DidLoadResourceFromMemoryCache( |
| 228 const GURL& url, |
| 229 const std::string& frame_origin, |
| 230 const std::string& main_frame_origin, |
| 228 const std::string& security_info) { } | 231 const std::string& security_info) { } |
| 229 | 232 |
| 230 // The RenderView failed a provisional load with an error. | 233 // The RenderView failed a provisional load with an error. |
| 231 virtual void DidFailProvisionalLoadWithError( | 234 virtual void DidFailProvisionalLoadWithError( |
| 232 RenderViewHost* render_view_host, | 235 RenderViewHost* render_view_host, |
| 233 bool is_main_frame, | 236 bool is_main_frame, |
| 234 int error_code, | 237 int error_code, |
| 235 const GURL& url, | 238 const GURL& url, |
| 236 bool showing_repost_interstitial) { } | 239 bool showing_repost_interstitial) { } |
| 237 | 240 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 | 417 |
| 415 // A find operation in the current page completed. | 418 // A find operation in the current page completed. |
| 416 virtual void OnFindReply(int request_id, | 419 virtual void OnFindReply(int request_id, |
| 417 int number_of_matches, | 420 int number_of_matches, |
| 418 const gfx::Rect& selection_rect, | 421 const gfx::Rect& selection_rect, |
| 419 int active_match_ordinal, | 422 int active_match_ordinal, |
| 420 bool final_update) { } | 423 bool final_update) { } |
| 421 }; | 424 }; |
| 422 | 425 |
| 423 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 426 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |