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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 | 695 |
696 // IPC message handlers. | 696 // IPC message handlers. |
697 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 697 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
698 const std::string& security_info, | 698 const std::string& security_info, |
699 const std::string& http_request, | 699 const std::string& http_request, |
700 const std::string& mime_type, | 700 const std::string& mime_type, |
701 ResourceType::Type resource_type); | 701 ResourceType::Type resource_type); |
702 void OnDidDisplayInsecureContent(); | 702 void OnDidDisplayInsecureContent(); |
703 void OnDidRunInsecureContent(const std::string& security_origin, | 703 void OnDidRunInsecureContent(const std::string& security_origin, |
704 const GURL& target_url); | 704 const GURL& target_url); |
| 705 void OnDidDetectXSS(const GURL& url, bool blocked_entire_page); |
705 void OnDocumentLoadedInFrame(); | 706 void OnDocumentLoadedInFrame(); |
706 void OnDidFinishLoad(const GURL& url); | 707 void OnDidFinishLoad(const GURL& url); |
707 void OnDidStartLoading(bool to_different_document); | 708 void OnDidStartLoading(bool to_different_document); |
708 void OnDidStopLoading(); | 709 void OnDidStopLoading(); |
709 void OnDidChangeLoadProgress(double load_progress); | 710 void OnDidChangeLoadProgress(double load_progress); |
710 void OnGoToEntryAtOffset(int offset); | 711 void OnGoToEntryAtOffset(int offset); |
711 void OnUpdateZoomLimits(int minimum_percent, | 712 void OnUpdateZoomLimits(int minimum_percent, |
712 int maximum_percent); | 713 int maximum_percent); |
713 void OnEnumerateDirectory(int request_id, const base::FilePath& path); | 714 void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
714 | 715 |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 bool last_dialog_suppressed_; | 1127 bool last_dialog_suppressed_; |
1127 | 1128 |
1128 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1129 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
1129 | 1130 |
1130 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1131 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1131 }; | 1132 }; |
1132 | 1133 |
1133 } // namespace content | 1134 } // namespace content |
1134 | 1135 |
1135 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1136 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |