OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 const GURL& source_origin, | 105 const GURL& source_origin, |
106 WindowContainerType container_type, | 106 WindowContainerType container_type, |
107 const GURL& target_url, | 107 const GURL& target_url, |
108 const content::Referrer& referrer, | 108 const content::Referrer& referrer, |
109 WindowOpenDisposition disposition, | 109 WindowOpenDisposition disposition, |
110 const blink::WebWindowFeatures& features, | 110 const blink::WebWindowFeatures& features, |
111 bool user_gesture, | 111 bool user_gesture, |
112 bool opener_suppressed, | 112 bool opener_suppressed, |
113 content::ResourceContext* context, | 113 content::ResourceContext* context, |
114 int render_process_id, | 114 int render_process_id, |
115 int opener_id, | 115 int opener_render_view_id, |
| 116 int opener_render_frame_id, |
116 bool* no_javascript_access) override; | 117 bool* no_javascript_access) override; |
117 void GetAdditionalMappedFilesForChildProcess( | 118 void GetAdditionalMappedFilesForChildProcess( |
118 const base::CommandLine& command_line, | 119 const base::CommandLine& command_line, |
119 int child_process_id, | 120 int child_process_id, |
120 content::FileDescriptorInfo* mappings) override; | 121 content::FileDescriptorInfo* mappings) override; |
121 #if defined(OS_ANDROID) && defined(VIDEO_HOLE) | 122 #if defined(OS_ANDROID) && defined(VIDEO_HOLE) |
122 content::ExternalVideoSurfaceContainer* | 123 content::ExternalVideoSurfaceContainer* |
123 OverrideCreateExternalVideoSurfaceContainer( | 124 OverrideCreateExternalVideoSurfaceContainer( |
124 content::WebContents* web_contents) override; | 125 content::WebContents* web_contents) override; |
125 #endif // defined(OS_ANDROID) && defined(VIDEO_HOLE) | 126 #endif // defined(OS_ANDROID) && defined(VIDEO_HOLE) |
(...skipping 30 matching lines...) Expand all Loading... |
156 | 157 |
157 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 158 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
158 | 159 |
159 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 160 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
160 }; | 161 }; |
161 | 162 |
162 } // namespace shell | 163 } // namespace shell |
163 } // namespace chromecast | 164 } // namespace chromecast |
164 | 165 |
165 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 166 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |