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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const GURL& source_origin, | 88 const GURL& source_origin, |
89 WindowContainerType container_type, | 89 WindowContainerType container_type, |
90 const GURL& target_url, | 90 const GURL& target_url, |
91 const content::Referrer& referrer, | 91 const content::Referrer& referrer, |
92 WindowOpenDisposition disposition, | 92 WindowOpenDisposition disposition, |
93 const blink::WebWindowFeatures& features, | 93 const blink::WebWindowFeatures& features, |
94 bool user_gesture, | 94 bool user_gesture, |
95 bool opener_suppressed, | 95 bool opener_suppressed, |
96 content::ResourceContext* context, | 96 content::ResourceContext* context, |
97 int render_process_id, | 97 int render_process_id, |
98 int opener_id, | 98 int opener_render_view_id, |
| 99 int opener_render_frame_id, |
99 bool* no_javascript_access) override; | 100 bool* no_javascript_access) override; |
100 void GetAdditionalMappedFilesForChildProcess( | 101 void GetAdditionalMappedFilesForChildProcess( |
101 const base::CommandLine& command_line, | 102 const base::CommandLine& command_line, |
102 int child_process_id, | 103 int child_process_id, |
103 content::FileDescriptorInfo* mappings) override; | 104 content::FileDescriptorInfo* mappings) override; |
104 #if defined(OS_ANDROID) && defined(VIDEO_HOLE) | 105 #if defined(OS_ANDROID) && defined(VIDEO_HOLE) |
105 content::ExternalVideoSurfaceContainer* | 106 content::ExternalVideoSurfaceContainer* |
106 OverrideCreateExternalVideoSurfaceContainer( | 107 OverrideCreateExternalVideoSurfaceContainer( |
107 content::WebContents* web_contents) override; | 108 content::WebContents* web_contents) override; |
108 #endif // defined(OS_ANDROID) && defined(VIDEO_HOLE) | 109 #endif // defined(OS_ANDROID) && defined(VIDEO_HOLE) |
(...skipping 25 matching lines...) Expand all Loading... |
134 | 135 |
135 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 136 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
136 | 137 |
137 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 138 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
138 }; | 139 }; |
139 | 140 |
140 } // namespace shell | 141 } // namespace shell |
141 } // namespace chromecast | 142 } // namespace chromecast |
142 | 143 |
143 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 144 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |