| 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 508 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
| 509 const std::string& security_info, | 509 const std::string& security_info, |
| 510 const std::string& http_request, | 510 const std::string& http_request, |
| 511 const std::string& mime_type, | 511 const std::string& mime_type, |
| 512 ResourceType::Type resource_type); | 512 ResourceType::Type resource_type); |
| 513 void OnDidDisplayInsecureContent(); | 513 void OnDidDisplayInsecureContent(); |
| 514 void OnDidRunInsecureContent(const std::string& security_origin, | 514 void OnDidRunInsecureContent(const std::string& security_origin, |
| 515 const GURL& target_url); | 515 const GURL& target_url); |
| 516 void OnDocumentLoadedInFrame(int64 frame_id); | 516 void OnDocumentLoadedInFrame(int64 frame_id); |
| 517 void OnDidFinishLoad(int64 frame_id, | 517 void OnDidFinishLoad(int64 frame_id, |
| 518 const GURL& validated_url, | 518 const GURL& url, |
| 519 bool is_main_frame); | 519 bool is_main_frame); |
| 520 void OnDidFailLoadWithError(int64 frame_id, | 520 void OnDidFailLoadWithError(int64 frame_id, |
| 521 const GURL& validated_url, | 521 const GURL& url, |
| 522 bool is_main_frame, | 522 bool is_main_frame, |
| 523 int error_code, | 523 int error_code, |
| 524 const string16& error_description); | 524 const string16& error_description); |
| 525 void OnUpdateContentRestrictions(int restrictions); | 525 void OnUpdateContentRestrictions(int restrictions); |
| 526 void OnGoToEntryAtOffset(int offset); | 526 void OnGoToEntryAtOffset(int offset); |
| 527 void OnUpdateZoomLimits(int minimum_percent, | 527 void OnUpdateZoomLimits(int minimum_percent, |
| 528 int maximum_percent, | 528 int maximum_percent, |
| 529 bool remember); | 529 bool remember); |
| 530 void OnSaveURL(const GURL& url, const Referrer& referrer); | 530 void OnSaveURL(const GURL& url, const Referrer& referrer); |
| 531 void OnEnumerateDirectory(int request_id, const FilePath& path); | 531 void OnEnumerateDirectory(int request_id, const FilePath& path); |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 // Maps the ids of pending favicon downloads to their callbacks | 859 // Maps the ids of pending favicon downloads to their callbacks |
| 860 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 860 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
| 861 FaviconDownloadMap favicon_download_map_; | 861 FaviconDownloadMap favicon_download_map_; |
| 862 | 862 |
| 863 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 863 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 864 }; | 864 }; |
| 865 | 865 |
| 866 } // namespace content | 866 } // namespace content |
| 867 | 867 |
| 868 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 868 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |