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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 // IPC message handlers. | 733 // IPC message handlers. |
734 void OnThemeColorChanged(SkColor theme_color); | 734 void OnThemeColorChanged(SkColor theme_color); |
735 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 735 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
736 const std::string& security_info, | 736 const std::string& security_info, |
737 const std::string& http_request, | 737 const std::string& http_request, |
738 const std::string& mime_type, | 738 const std::string& mime_type, |
739 ResourceType resource_type); | 739 ResourceType resource_type); |
740 void OnDidDisplayInsecureContent(); | 740 void OnDidDisplayInsecureContent(); |
741 void OnDidRunInsecureContent(const std::string& security_origin, | 741 void OnDidRunInsecureContent(const std::string& security_origin, |
742 const GURL& target_url); | 742 const GURL& target_url); |
743 void OnDidDetectXSS(int32 page_id, const GURL& url, bool blocked_entire_page); | |
744 void OnDocumentLoadedInFrame(); | 743 void OnDocumentLoadedInFrame(); |
745 void OnDidFinishLoad(const GURL& url); | 744 void OnDidFinishLoad(const GURL& url); |
746 void OnDidStartLoading(bool to_different_document); | 745 void OnDidStartLoading(bool to_different_document); |
747 void OnDidStopLoading(); | 746 void OnDidStopLoading(); |
748 void OnDidChangeLoadProgress(double load_progress); | 747 void OnDidChangeLoadProgress(double load_progress); |
749 void OnGoToEntryAtOffset(int offset); | 748 void OnGoToEntryAtOffset(int offset); |
750 void OnUpdateZoomLimits(int minimum_percent, | 749 void OnUpdateZoomLimits(int minimum_percent, |
751 int maximum_percent); | 750 int maximum_percent); |
752 void OnEnumerateDirectory(int request_id, const base::FilePath& path); | 751 void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
753 | 752 |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 // The accessibility mode for all frames. This is queried when each frame | 1185 // The accessibility mode for all frames. This is queried when each frame |
1187 // is created, and broadcast to all frames when it changes. | 1186 // is created, and broadcast to all frames when it changes. |
1188 AccessibilityMode accessibility_mode_; | 1187 AccessibilityMode accessibility_mode_; |
1189 | 1188 |
1190 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1189 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1191 }; | 1190 }; |
1192 | 1191 |
1193 } // namespace content | 1192 } // namespace content |
1194 | 1193 |
1195 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1194 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |