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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 bool OnMessageReceived(RenderViewHost* render_view_host, | 727 bool OnMessageReceived(RenderViewHost* render_view_host, |
728 RenderFrameHost* render_frame_host, | 728 RenderFrameHost* render_frame_host, |
729 const IPC::Message& message); | 729 const IPC::Message& message); |
730 | 730 |
731 // IPC message handlers. | 731 // IPC message handlers. |
732 void OnThemeColorChanged(SkColor theme_color); | 732 void OnThemeColorChanged(SkColor theme_color); |
733 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 733 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
734 const std::string& security_info, | 734 const std::string& security_info, |
735 const std::string& http_request, | 735 const std::string& http_request, |
736 const std::string& mime_type, | 736 const std::string& mime_type, |
737 ResourceType::Type resource_type); | 737 ResourceType resource_type); |
738 void OnDidDisplayInsecureContent(); | 738 void OnDidDisplayInsecureContent(); |
739 void OnDidRunInsecureContent(const std::string& security_origin, | 739 void OnDidRunInsecureContent(const std::string& security_origin, |
740 const GURL& target_url); | 740 const GURL& target_url); |
741 void OnDidDetectXSS(int32 page_id, const GURL& url, bool blocked_entire_page); | 741 void OnDidDetectXSS(int32 page_id, const GURL& url, bool blocked_entire_page); |
742 void OnDocumentLoadedInFrame(); | 742 void OnDocumentLoadedInFrame(); |
743 void OnDidFinishLoad(const GURL& url); | 743 void OnDidFinishLoad(const GURL& url); |
744 void OnDidStartLoading(bool to_different_document); | 744 void OnDidStartLoading(bool to_different_document); |
745 void OnDidStopLoading(); | 745 void OnDidStopLoading(); |
746 void OnDidChangeLoadProgress(double load_progress); | 746 void OnDidChangeLoadProgress(double load_progress); |
747 void OnGoToEntryAtOffset(int offset); | 747 void OnGoToEntryAtOffset(int offset); |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 // The accessibility mode for all frames. This is queried when each frame | 1184 // The accessibility mode for all frames. This is queried when each frame |
1185 // is created, and broadcast to all frames when it changes. | 1185 // is created, and broadcast to all frames when it changes. |
1186 AccessibilityMode accessibility_mode_; | 1186 AccessibilityMode accessibility_mode_; |
1187 | 1187 |
1188 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1188 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1189 }; | 1189 }; |
1190 | 1190 |
1191 } // namespace content | 1191 } // namespace content |
1192 | 1192 |
1193 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1193 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |