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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 | 698 |
699 // IPC message handlers. | 699 // IPC message handlers. |
700 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 700 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
701 const std::string& security_info, | 701 const std::string& security_info, |
702 const std::string& http_request, | 702 const std::string& http_request, |
703 const std::string& mime_type, | 703 const std::string& mime_type, |
704 ResourceType::Type resource_type); | 704 ResourceType::Type resource_type); |
705 void OnDidDisplayInsecureContent(); | 705 void OnDidDisplayInsecureContent(); |
706 void OnDidRunInsecureContent(const std::string& security_origin, | 706 void OnDidRunInsecureContent(const std::string& security_origin, |
707 const GURL& target_url); | 707 const GURL& target_url); |
| 708 void OnDidDetectXSS(int32 page_id, const GURL& url, bool blocked_entire_page); |
708 void OnDocumentLoadedInFrame(); | 709 void OnDocumentLoadedInFrame(); |
709 void OnDidFinishLoad(const GURL& url); | 710 void OnDidFinishLoad(const GURL& url); |
710 void OnDidStartLoading(bool to_different_document); | 711 void OnDidStartLoading(bool to_different_document); |
711 void OnDidStopLoading(); | 712 void OnDidStopLoading(); |
712 void OnDidChangeLoadProgress(double load_progress); | 713 void OnDidChangeLoadProgress(double load_progress); |
713 void OnGoToEntryAtOffset(int offset); | 714 void OnGoToEntryAtOffset(int offset); |
714 void OnUpdateZoomLimits(int minimum_percent, | 715 void OnUpdateZoomLimits(int minimum_percent, |
715 int maximum_percent); | 716 int maximum_percent); |
716 void OnEnumerateDirectory(int request_id, const base::FilePath& path); | 717 void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
717 | 718 |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 | 1138 |
1138 scoped_ptr<ScreenOrientationDispatcherHost> | 1139 scoped_ptr<ScreenOrientationDispatcherHost> |
1139 screen_orientation_dispatcher_host_; | 1140 screen_orientation_dispatcher_host_; |
1140 | 1141 |
1141 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1142 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1142 }; | 1143 }; |
1143 | 1144 |
1144 } // namespace content | 1145 } // namespace content |
1145 | 1146 |
1146 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1147 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |