| 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 | 688 |
| 689 // Callback function when requesting permission to access the PPAPI broker. | 689 // Callback function when requesting permission to access the PPAPI broker. |
| 690 // |result| is true if permission was granted. | 690 // |result| is true if permission was granted. |
| 691 void OnPpapiBrokerPermissionResult(int routing_id, bool result); | 691 void OnPpapiBrokerPermissionResult(int routing_id, bool result); |
| 692 | 692 |
| 693 bool OnMessageReceived(RenderViewHost* render_view_host, | 693 bool OnMessageReceived(RenderViewHost* render_view_host, |
| 694 RenderFrameHost* render_frame_host, | 694 RenderFrameHost* render_frame_host, |
| 695 const IPC::Message& message); | 695 const IPC::Message& message); |
| 696 | 696 |
| 697 // IPC message handlers. | 697 // IPC message handlers. |
| 698 void OnBrandColorChanged(uint32 brand_color); |
| 698 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 699 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
| 699 const std::string& security_info, | 700 const std::string& security_info, |
| 700 const std::string& http_request, | 701 const std::string& http_request, |
| 701 const std::string& mime_type, | 702 const std::string& mime_type, |
| 702 ResourceType::Type resource_type); | 703 ResourceType::Type resource_type); |
| 703 void OnDidDisplayInsecureContent(); | 704 void OnDidDisplayInsecureContent(); |
| 704 void OnDidRunInsecureContent(const std::string& security_origin, | 705 void OnDidRunInsecureContent(const std::string& security_origin, |
| 705 const GURL& target_url); | 706 const GURL& target_url); |
| 706 void OnDocumentLoadedInFrame(); | 707 void OnDocumentLoadedInFrame(); |
| 707 void OnDidFinishLoad(const GURL& url); | 708 void OnDidFinishLoad(const GURL& url); |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 bool last_dialog_suppressed_; | 1131 bool last_dialog_suppressed_; |
| 1131 | 1132 |
| 1132 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1133 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
| 1133 | 1134 |
| 1134 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1135 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1135 }; | 1136 }; |
| 1136 | 1137 |
| 1137 } // namespace content | 1138 } // namespace content |
| 1138 | 1139 |
| 1139 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1140 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |