| 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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 // IPC message handlers. | 834 // IPC message handlers. |
| 835 void OnThemeColorChanged(SkColor theme_color); | 835 void OnThemeColorChanged(SkColor theme_color); |
| 836 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 836 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
| 837 const std::string& security_info, | 837 const std::string& security_info, |
| 838 const std::string& http_request, | 838 const std::string& http_request, |
| 839 const std::string& mime_type, | 839 const std::string& mime_type, |
| 840 ResourceType resource_type); | 840 ResourceType resource_type); |
| 841 void OnDidDisplayInsecureContent(); | 841 void OnDidDisplayInsecureContent(); |
| 842 void OnDidRunInsecureContent(const std::string& security_origin, | 842 void OnDidRunInsecureContent(const std::string& security_origin, |
| 843 const GURL& target_url); | 843 const GURL& target_url); |
| 844 void OnDidDisplayContentWithCertificateErrors( |
| 845 const GURL& url, |
| 846 const std::string& security_info); |
| 847 void OnDidRunContentWithCertificateErrors(const std::string& security_origin, |
| 848 const GURL& url, |
| 849 const std::string& security_info); |
| 844 void OnDocumentLoadedInFrame(); | 850 void OnDocumentLoadedInFrame(); |
| 845 void OnDidFinishLoad(const GURL& url); | 851 void OnDidFinishLoad(const GURL& url); |
| 846 void OnGoToEntryAtOffset(int offset); | 852 void OnGoToEntryAtOffset(int offset); |
| 847 void OnUpdateZoomLimits(int minimum_percent, | 853 void OnUpdateZoomLimits(int minimum_percent, |
| 848 int maximum_percent); | 854 int maximum_percent); |
| 849 void OnPageScaleFactorChanged(float page_scale_factor); | 855 void OnPageScaleFactorChanged(float page_scale_factor); |
| 850 void OnEnumerateDirectory(int request_id, const base::FilePath& path); | 856 void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
| 851 | 857 |
| 852 void OnRegisterProtocolHandler(const std::string& protocol, | 858 void OnRegisterProtocolHandler(const std::string& protocol, |
| 853 const GURL& url, | 859 const GURL& url, |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1349 // Adds/removes a callback called on creation of each new WebContents. | 1355 // Adds/removes a callback called on creation of each new WebContents. |
| 1350 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1356 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1351 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1357 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1352 | 1358 |
| 1353 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1359 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1354 }; | 1360 }; |
| 1355 | 1361 |
| 1356 } // namespace content | 1362 } // namespace content |
| 1357 | 1363 |
| 1358 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1364 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |