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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 31 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
32 #include "base/posix/global_descriptors.h" | 32 #include "base/posix/global_descriptors.h" |
33 #endif | 33 #endif |
34 | 34 |
35 #if defined(OS_POSIX) | 35 #if defined(OS_POSIX) |
36 #include "content/public/browser/file_descriptor_info.h" | 36 #include "content/public/browser/file_descriptor_info.h" |
37 #endif | 37 #endif |
38 | 38 |
39 class GURL; | 39 class GURL; |
40 struct WebPreferences; | |
41 | 40 |
42 namespace base { | 41 namespace base { |
43 class CommandLine; | 42 class CommandLine; |
44 class DictionaryValue; | 43 class DictionaryValue; |
45 class FilePath; | 44 class FilePath; |
46 } | 45 } |
47 | 46 |
48 namespace blink { | 47 namespace blink { |
49 struct WebWindowFeatures; | 48 struct WebWindowFeatures; |
50 } | 49 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 class RenderViewHost; | 98 class RenderViewHost; |
100 class ResourceContext; | 99 class ResourceContext; |
101 class SiteInstance; | 100 class SiteInstance; |
102 class SpeechRecognitionManagerDelegate; | 101 class SpeechRecognitionManagerDelegate; |
103 class VibrationProvider; | 102 class VibrationProvider; |
104 class WebContents; | 103 class WebContents; |
105 class WebContentsViewDelegate; | 104 class WebContentsViewDelegate; |
106 struct MainFunctionParams; | 105 struct MainFunctionParams; |
107 struct Referrer; | 106 struct Referrer; |
108 struct ShowDesktopNotificationHostMsgParams; | 107 struct ShowDesktopNotificationHostMsgParams; |
| 108 struct WebPreferences; |
109 | 109 |
110 // A mapping from the scheme name to the protocol handler that services its | 110 // A mapping from the scheme name to the protocol handler that services its |
111 // content. | 111 // content. |
112 typedef std::map< | 112 typedef std::map< |
113 std::string, linked_ptr<net::URLRequestJobFactory::ProtocolHandler> > | 113 std::string, linked_ptr<net::URLRequestJobFactory::ProtocolHandler> > |
114 ProtocolHandlerMap; | 114 ProtocolHandlerMap; |
115 | 115 |
116 // A scoped vector of protocol interceptors. | 116 // A scoped vector of protocol interceptors. |
117 typedef ScopedVector<net::URLRequestInterceptor> | 117 typedef ScopedVector<net::URLRequestInterceptor> |
118 URLRequestInterceptorScopedVector; | 118 URLRequestInterceptorScopedVector; |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 647 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
648 // implementation. Return NULL to disable external surface video. | 648 // implementation. Return NULL to disable external surface video. |
649 virtual ExternalVideoSurfaceContainer* | 649 virtual ExternalVideoSurfaceContainer* |
650 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 650 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
651 #endif | 651 #endif |
652 }; | 652 }; |
653 | 653 |
654 } // namespace content | 654 } // namespace content |
655 | 655 |
656 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 656 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |