| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // An image that was requested to be downloaded by DownloadImage has | 222 // An image that was requested to be downloaded by DownloadImage has |
| 223 // completed. | 223 // completed. |
| 224 virtual void DidDownloadImage(RenderViewHost* render_view_host, | 224 virtual void DidDownloadImage(RenderViewHost* render_view_host, |
| 225 int id, | 225 int id, |
| 226 const GURL& image_url, | 226 const GURL& image_url, |
| 227 bool errored, | 227 bool errored, |
| 228 const SkBitmap& image) { } | 228 const SkBitmap& image) { } |
| 229 | 229 |
| 230 // The page wants to open a URL with the specified disposition. | 230 // The page wants to open a URL with the specified disposition. |
| 231 virtual void RequestOpenURL(const GURL& url, | 231 virtual void RequestOpenURL(const GURL& url, |
| 232 const GURL& referrer, |
| 232 WindowOpenDisposition disposition) { } | 233 WindowOpenDisposition disposition) { } |
| 233 | 234 |
| 234 // A DOM automation operation completed. The result of the operation is | 235 // A DOM automation operation completed. The result of the operation is |
| 235 // expressed in a json string. | 236 // expressed in a json string. |
| 236 virtual void DomOperationResponse(const std::string& json_string, | 237 virtual void DomOperationResponse(const std::string& json_string, |
| 237 int automation_id) { } | 238 int automation_id) { } |
| 238 | 239 |
| 239 // A message was sent from HTML-based UI. | 240 // A message was sent from HTML-based UI. |
| 240 // By default we ignore such messages. | 241 // By default we ignore such messages. |
| 241 virtual void ProcessDOMUIMessage(const std::string& message, | 242 virtual void ProcessDOMUIMessage(const std::string& message, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 const webkit_glue::WebApplicationInfo& app_info) { } | 358 const webkit_glue::WebApplicationInfo& app_info) { } |
| 358 | 359 |
| 359 // Notification the user has pressed enter or space while focus was on the | 360 // 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 | 361 // page. This is used to avoid uninitiated user downloads (aka carpet |
| 361 // bombing), see DownloadRequestManager for details. | 362 // bombing), see DownloadRequestManager for details. |
| 362 virtual void OnEnterOrSpace() { } | 363 virtual void OnEnterOrSpace() { } |
| 363 }; | 364 }; |
| 364 | 365 |
| 365 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ | 366 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_DELEGATE_H__ |
| 366 | 367 |
| OLD | NEW |