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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <functional> | 10 #include <functional> |
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 // IPC message handlers. | 899 // IPC message handlers. |
900 void OnThemeColorChanged(SkColor theme_color); | 900 void OnThemeColorChanged(SkColor theme_color); |
901 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 901 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
902 const std::string& security_info, | 902 const std::string& security_info, |
903 const std::string& http_request, | 903 const std::string& http_request, |
904 const std::string& mime_type, | 904 const std::string& mime_type, |
905 ResourceType resource_type); | 905 ResourceType resource_type); |
906 void OnDidDisplayInsecureContent(); | 906 void OnDidDisplayInsecureContent(); |
907 void OnDidRunInsecureContent(const GURL& security_origin, | 907 void OnDidRunInsecureContent(const GURL& security_origin, |
908 const GURL& target_url); | 908 const GURL& target_url); |
909 void OnDidDisplayContentWithCertificateErrors( | 909 void OnDidDisplayContentWithCertificateErrors(const GURL& url); |
910 const GURL& url, | 910 void OnDidRunContentWithCertificateErrors(const GURL& url); |
911 const std::string& security_info); | |
912 void OnDidRunContentWithCertificateErrors(const GURL& url, | |
913 const std::string& security_info); | |
914 void OnDocumentLoadedInFrame(); | 911 void OnDocumentLoadedInFrame(); |
915 void OnDidFinishLoad(const GURL& url); | 912 void OnDidFinishLoad(const GURL& url); |
916 void OnGoToEntryAtOffset(int offset); | 913 void OnGoToEntryAtOffset(int offset); |
917 void OnUpdateZoomLimits(int minimum_percent, | 914 void OnUpdateZoomLimits(int minimum_percent, |
918 int maximum_percent); | 915 int maximum_percent); |
919 void OnPageScaleFactorChanged(float page_scale_factor); | 916 void OnPageScaleFactorChanged(float page_scale_factor); |
920 void OnEnumerateDirectory(int request_id, const base::FilePath& path); | 917 void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
921 | 918 |
922 void OnRegisterProtocolHandler(const std::string& protocol, | 919 void OnRegisterProtocolHandler(const std::string& protocol, |
923 const GURL& url, | 920 const GURL& url, |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 // Adds/removes a callback called on creation of each new WebContents. | 1420 // Adds/removes a callback called on creation of each new WebContents. |
1424 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1425 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1426 | 1423 |
1427 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1428 }; | 1425 }; |
1429 | 1426 |
1430 } // namespace content | 1427 } // namespace content |
1431 | 1428 |
1432 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |