| 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_WEB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_WEB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_WEB_CONTENTS_H_ | 6 #define CHROME_BROWSER_WEB_CONTENTS_H_ |
| 7 | 7 |
| 8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
| 9 #include "chrome/browser/download/save_package.h" | 9 #include "chrome/browser/download/save_package.h" |
| 10 #include "chrome/browser/fav_icon_helper.h" | 10 #include "chrome/browser/fav_icon_helper.h" |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 int error_code, | 257 int error_code, |
| 258 const GURL& url, | 258 const GURL& url, |
| 259 bool showing_repost_interstitial); | 259 bool showing_repost_interstitial); |
| 260 virtual void UpdateFavIconURL(RenderViewHost* render_view_host, | 260 virtual void UpdateFavIconURL(RenderViewHost* render_view_host, |
| 261 int32 page_id, const GURL& icon_url); | 261 int32 page_id, const GURL& icon_url); |
| 262 virtual void DidDownloadImage(RenderViewHost* render_view_host, | 262 virtual void DidDownloadImage(RenderViewHost* render_view_host, |
| 263 int id, | 263 int id, |
| 264 const GURL& image_url, | 264 const GURL& image_url, |
| 265 bool errored, | 265 bool errored, |
| 266 const SkBitmap& image); | 266 const SkBitmap& image); |
| 267 virtual void RequestOpenURL(const GURL& url, | 267 virtual void RequestOpenURL(const GURL& url, const GURL& referrer, |
| 268 WindowOpenDisposition disposition); | 268 WindowOpenDisposition disposition); |
| 269 virtual void DomOperationResponse(const std::string& json_string, | 269 virtual void DomOperationResponse(const std::string& json_string, |
| 270 int automation_id); | 270 int automation_id); |
| 271 virtual void ProcessExternalHostMessage(const std::string& receiver, | 271 virtual void ProcessExternalHostMessage(const std::string& receiver, |
| 272 const std::string& message); | 272 const std::string& message); |
| 273 virtual void GoToEntryAtOffset(int offset); | 273 virtual void GoToEntryAtOffset(int offset); |
| 274 virtual void GetHistoryListCount(int* back_list_count, | 274 virtual void GetHistoryListCount(int* back_list_count, |
| 275 int* forward_list_count); | 275 int* forward_list_count); |
| 276 virtual void RunFileChooser(const std::wstring& default_file); | 276 virtual void RunFileChooser(const std::wstring& default_file); |
| 277 virtual void RunJavaScriptMessage(const std::wstring& message, | 277 virtual void RunJavaScriptMessage(const std::wstring& message, |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 net::LoadState load_state_; | 549 net::LoadState load_state_; |
| 550 std::wstring load_state_host_; | 550 std::wstring load_state_host_; |
| 551 | 551 |
| 552 // Non-null if we're displaying content for a web app. | 552 // Non-null if we're displaying content for a web app. |
| 553 scoped_refptr<WebApp> web_app_; | 553 scoped_refptr<WebApp> web_app_; |
| 554 | 554 |
| 555 DISALLOW_COPY_AND_ASSIGN(WebContents); | 555 DISALLOW_COPY_AND_ASSIGN(WebContents); |
| 556 }; | 556 }; |
| 557 | 557 |
| 558 #endif // CHROME_BROWSER_WEB_CONTENTS_H_ | 558 #endif // CHROME_BROWSER_WEB_CONTENTS_H_ |
| OLD | NEW |