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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 | 690 |
691 // Callback function when requesting permission to access the PPAPI broker. | 691 // Callback function when requesting permission to access the PPAPI broker. |
692 // |result| is true if permission was granted. | 692 // |result| is true if permission was granted. |
693 void OnPpapiBrokerPermissionResult(int routing_id, bool result); | 693 void OnPpapiBrokerPermissionResult(int routing_id, bool result); |
694 | 694 |
695 bool OnMessageReceived(RenderViewHost* render_view_host, | 695 bool OnMessageReceived(RenderViewHost* render_view_host, |
696 RenderFrameHost* render_frame_host, | 696 RenderFrameHost* render_frame_host, |
697 const IPC::Message& message); | 697 const IPC::Message& message); |
698 | 698 |
699 // IPC message handlers. | 699 // IPC message handlers. |
| 700 void OnBrandColorChanged(SkColor brand_color); |
700 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 701 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
701 const std::string& security_info, | 702 const std::string& security_info, |
702 const std::string& http_request, | 703 const std::string& http_request, |
703 const std::string& mime_type, | 704 const std::string& mime_type, |
704 ResourceType::Type resource_type); | 705 ResourceType::Type resource_type); |
705 void OnDidDisplayInsecureContent(); | 706 void OnDidDisplayInsecureContent(); |
706 void OnDidRunInsecureContent(const std::string& security_origin, | 707 void OnDidRunInsecureContent(const std::string& security_origin, |
707 const GURL& target_url); | 708 const GURL& target_url); |
708 void OnDocumentLoadedInFrame(); | 709 void OnDocumentLoadedInFrame(); |
709 void OnDidFinishLoad(const GURL& url); | 710 void OnDidFinishLoad(const GURL& url); |
(...skipping 427 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 |