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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 // IPC message handlers. | 705 // IPC message handlers. |
706 void OnThemeColorChanged(SkColor theme_color); | 706 void OnThemeColorChanged(SkColor theme_color); |
707 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 707 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
708 const std::string& security_info, | 708 const std::string& security_info, |
709 const std::string& http_request, | 709 const std::string& http_request, |
710 const std::string& mime_type, | 710 const std::string& mime_type, |
711 ResourceType::Type resource_type); | 711 ResourceType::Type resource_type); |
712 void OnDidDisplayInsecureContent(); | 712 void OnDidDisplayInsecureContent(); |
713 void OnDidRunInsecureContent(const std::string& security_origin, | 713 void OnDidRunInsecureContent(const std::string& security_origin, |
714 const GURL& target_url); | 714 const GURL& target_url); |
| 715 void OnDidDetectXSS(int32 page_id, const GURL& url, bool blocked_entire_page); |
715 void OnDocumentLoadedInFrame(); | 716 void OnDocumentLoadedInFrame(); |
716 void OnDidFinishLoad(const GURL& url); | 717 void OnDidFinishLoad(const GURL& url); |
717 void OnDidStartLoading(bool to_different_document); | 718 void OnDidStartLoading(bool to_different_document); |
718 void OnDidStopLoading(); | 719 void OnDidStopLoading(); |
719 void OnDidChangeLoadProgress(double load_progress); | 720 void OnDidChangeLoadProgress(double load_progress); |
720 void OnGoToEntryAtOffset(int offset); | 721 void OnGoToEntryAtOffset(int offset); |
721 void OnUpdateZoomLimits(int minimum_percent, | 722 void OnUpdateZoomLimits(int minimum_percent, |
722 int maximum_percent); | 723 int maximum_percent); |
723 void OnEnumerateDirectory(int request_id, const base::FilePath& path); | 724 void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
724 | 725 |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1150 | 1151 |
1151 scoped_ptr<ScreenOrientationDispatcherHost> | 1152 scoped_ptr<ScreenOrientationDispatcherHost> |
1152 screen_orientation_dispatcher_host_; | 1153 screen_orientation_dispatcher_host_; |
1153 | 1154 |
1154 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1155 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1155 }; | 1156 }; |
1156 | 1157 |
1157 } // namespace content | 1158 } // namespace content |
1158 | 1159 |
1159 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1160 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |