| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 virtual void UpdateThumbnail(const GURL& url, | 191 virtual void UpdateThumbnail(const GURL& url, |
| 192 const SkBitmap& bitmap, | 192 const SkBitmap& bitmap, |
| 193 const ThumbnailScore& score) { } | 193 const ThumbnailScore& score) { } |
| 194 | 194 |
| 195 // The page is trying to close the RenderView's representation in the client. | 195 // The page is trying to close the RenderView's representation in the client. |
| 196 virtual void Close(RenderViewHost* render_view_host) { } | 196 virtual void Close(RenderViewHost* render_view_host) { } |
| 197 | 197 |
| 198 // The page is trying to move the RenderView's representation in the client. | 198 // The page is trying to move the RenderView's representation in the client. |
| 199 virtual void RequestMove(const gfx::Rect& new_bounds) { } | 199 virtual void RequestMove(const gfx::Rect& new_bounds) { } |
| 200 | 200 |
| 201 // The RenderView began loading a new page. | 201 // The RenderView began loading a new page. This corresponds to WebKit's |
| 202 virtual void DidStartLoading(RenderViewHost* render_view_host, | 202 // notion of the throbber starting. |
| 203 int32 page_id) { } | 203 virtual void DidStartLoading(RenderViewHost* render_view_host) { } |
| 204 | 204 |
| 205 // The RenderView stopped loading a page. | 205 // The RenderView stopped loading a page. This corresponds to WebKit's |
| 206 virtual void DidStopLoading(RenderViewHost* render_view_host, | 206 // notion of the throbber stopping. |
| 207 int32 page_id) { } | 207 virtual void DidStopLoading(RenderViewHost* render_view_host) { } |
| 208 | 208 |
| 209 // The RenderView is starting a provisional load. | 209 // The RenderView is starting a provisional load. |
| 210 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, | 210 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, |
| 211 bool is_main_frame, | 211 bool is_main_frame, |
| 212 const GURL& url) { } | 212 const GURL& url) { } |
| 213 | 213 |
| 214 // Sent when a provisional load is redirected. | 214 // Sent when a provisional load is redirected. |
| 215 virtual void DidRedirectProvisionalLoad(int32 page_id, | 215 virtual void DidRedirectProvisionalLoad(int32 page_id, |
| 216 const GURL& source_url, | 216 const GURL& source_url, |
| 217 const GURL& target_url) { } | 217 const GURL& target_url) { } |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 | 421 |
| 422 // A find operation in the current page completed. | 422 // A find operation in the current page completed. |
| 423 virtual void OnFindReply(int request_id, | 423 virtual void OnFindReply(int request_id, |
| 424 int number_of_matches, | 424 int number_of_matches, |
| 425 const gfx::Rect& selection_rect, | 425 const gfx::Rect& selection_rect, |
| 426 int active_match_ordinal, | 426 int active_match_ordinal, |
| 427 bool final_update) { } | 427 bool final_update) { } |
| 428 }; | 428 }; |
| 429 | 429 |
| 430 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 430 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |