| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 virtual InterstitialPage* GetInterstitialPage() const OVERRIDE; | 268 virtual InterstitialPage* GetInterstitialPage() const OVERRIDE; |
| 269 virtual bool IsSavable() OVERRIDE; | 269 virtual bool IsSavable() OVERRIDE; |
| 270 virtual void OnSavePage() OVERRIDE; | 270 virtual void OnSavePage() OVERRIDE; |
| 271 virtual bool SavePage(const base::FilePath& main_file, | 271 virtual bool SavePage(const base::FilePath& main_file, |
| 272 const base::FilePath& dir_path, | 272 const base::FilePath& dir_path, |
| 273 SavePageType save_type) OVERRIDE; | 273 SavePageType save_type) OVERRIDE; |
| 274 virtual void SaveFrame(const GURL& url, | 274 virtual void SaveFrame(const GURL& url, |
| 275 const Referrer& referrer) OVERRIDE; | 275 const Referrer& referrer) OVERRIDE; |
| 276 virtual void GenerateMHTML( | 276 virtual void GenerateMHTML( |
| 277 const base::FilePath& file, | 277 const base::FilePath& file, |
| 278 const base::Callback<void(const base::FilePath&, int64)>& callback) | 278 const base::Callback<void(int64)>& callback) |
| 279 OVERRIDE; | 279 OVERRIDE; |
| 280 virtual bool IsActiveEntry(int32 page_id) OVERRIDE; | 280 virtual bool IsActiveEntry(int32 page_id) OVERRIDE; |
| 281 | 281 |
| 282 virtual const std::string& GetContentsMimeType() const OVERRIDE; | 282 virtual const std::string& GetContentsMimeType() const OVERRIDE; |
| 283 virtual bool WillNotifyDisconnection() const OVERRIDE; | 283 virtual bool WillNotifyDisconnection() const OVERRIDE; |
| 284 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; | 284 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; |
| 285 virtual void ResetOverrideEncoding() OVERRIDE; | 285 virtual void ResetOverrideEncoding() OVERRIDE; |
| 286 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; | 286 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; |
| 287 virtual void Close() OVERRIDE; | 287 virtual void Close() OVERRIDE; |
| 288 virtual void SystemDragEnded() OVERRIDE; | 288 virtual void SystemDragEnded() OVERRIDE; |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 964 // Maps the ids of pending image downloads to their callbacks | 964 // Maps the ids of pending image downloads to their callbacks |
| 965 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 965 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 966 ImageDownloadMap image_download_map_; | 966 ImageDownloadMap image_download_map_; |
| 967 | 967 |
| 968 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 968 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 969 }; | 969 }; |
| 970 | 970 |
| 971 } // namespace content | 971 } // namespace content |
| 972 | 972 |
| 973 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 973 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |