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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 | 701 |
702 // Callback function when requesting permission to access the PPAPI broker. | 702 // Callback function when requesting permission to access the PPAPI broker. |
703 // |result| is true if permission was granted. | 703 // |result| is true if permission was granted. |
704 void OnPpapiBrokerPermissionResult(int routing_id, bool result); | 704 void OnPpapiBrokerPermissionResult(int routing_id, bool result); |
705 | 705 |
706 bool OnMessageReceived(RenderViewHost* render_view_host, | 706 bool OnMessageReceived(RenderViewHost* render_view_host, |
707 RenderFrameHost* render_frame_host, | 707 RenderFrameHost* render_frame_host, |
708 const IPC::Message& message); | 708 const IPC::Message& message); |
709 | 709 |
710 // IPC message handlers. | 710 // IPC message handlers. |
711 void OnBrandColorChanged(SkColor brand_color); | 711 void OnThemeColorChanged(SkColor theme_color); |
712 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 712 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
713 const std::string& security_info, | 713 const std::string& security_info, |
714 const std::string& http_request, | 714 const std::string& http_request, |
715 const std::string& mime_type, | 715 const std::string& mime_type, |
716 ResourceType::Type resource_type); | 716 ResourceType::Type resource_type); |
717 void OnDidDisplayInsecureContent(); | 717 void OnDidDisplayInsecureContent(); |
718 void OnDidRunInsecureContent(const std::string& security_origin, | 718 void OnDidRunInsecureContent(const std::string& security_origin, |
719 const GURL& target_url); | 719 const GURL& target_url); |
720 void OnDocumentLoadedInFrame(); | 720 void OnDocumentLoadedInFrame(); |
721 void OnDidFinishLoad(const GURL& url); | 721 void OnDidFinishLoad(const GURL& url); |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1156 | 1156 |
1157 scoped_ptr<ScreenOrientationDispatcherHost> | 1157 scoped_ptr<ScreenOrientationDispatcherHost> |
1158 screen_orientation_dispatcher_host_; | 1158 screen_orientation_dispatcher_host_; |
1159 | 1159 |
1160 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1160 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1161 }; | 1161 }; |
1162 | 1162 |
1163 } // namespace content | 1163 } // namespace content |
1164 | 1164 |
1165 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1165 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |