| 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_RENDER_VIEW_HOST_DELEGATE_H__ | 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ |
| 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ | 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 const std::wstring& title, | 160 const std::wstring& title, |
| 161 const std::string& state) { } | 161 const std::string& state) { } |
| 162 | 162 |
| 163 // The page's title was changed and should be updated. | 163 // The page's title was changed and should be updated. |
| 164 virtual void UpdateTitle(RenderViewHost* render_view_host, | 164 virtual void UpdateTitle(RenderViewHost* render_view_host, |
| 165 int32 page_id, | 165 int32 page_id, |
| 166 const std::wstring& title) { } | 166 const std::wstring& title) { } |
| 167 | 167 |
| 168 // The page's encoding was changed and should be updated. | 168 // The page's encoding was changed and should be updated. |
| 169 virtual void UpdateEncoding(RenderViewHost* render_view_host, | 169 virtual void UpdateEncoding(RenderViewHost* render_view_host, |
| 170 const std::wstring& encoding_name) { } | 170 const std::wstring& encoding) { } |
| 171 | 171 |
| 172 // The destination URL has changed should be updated | 172 // The destination URL has changed should be updated |
| 173 virtual void UpdateTargetURL(int32 page_id, const GURL& url) { } | 173 virtual void UpdateTargetURL(int32 page_id, const GURL& url) { } |
| 174 | 174 |
| 175 // The thumbnail representation of the page changed and should be updated. | 175 // The thumbnail representation of the page changed and should be updated. |
| 176 virtual void UpdateThumbnail(const GURL& url, | 176 virtual void UpdateThumbnail(const GURL& url, |
| 177 const SkBitmap& bitmap, | 177 const SkBitmap& bitmap, |
| 178 const ThumbnailScore& score) { } | 178 const ThumbnailScore& score) { } |
| 179 | 179 |
| 180 // The page is trying to close the RenderView's representation in the client. | 180 // The page is trying to close the RenderView's representation in the client. |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 const webkit_glue::WebApplicationInfo& app_info) { } | 357 const webkit_glue::WebApplicationInfo& app_info) { } |
| 358 | 358 |
| 359 // Notification the user has pressed enter or space while focus was on the | 359 // Notification the user has pressed enter or space while focus was on the |
| 360 // page. This is used to avoid uninitiated user downloads (aka carpet | 360 // page. This is used to avoid uninitiated user downloads (aka carpet |
| 361 // bombing), see DownloadRequestManager for details. | 361 // bombing), see DownloadRequestManager for details. |
| 362 virtual void OnEnterOrSpace() { } | 362 virtual void OnEnterOrSpace() { } |
| 363 }; | 363 }; |
| 364 | 364 |
| 365 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ | 365 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ |
| 366 | 366 |
| OLD | NEW |