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 #include "content/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
224 void ContentBrowserClient::RequestMidiSysExPermission( | 224 void ContentBrowserClient::RequestMidiSysExPermission( |
225 WebContents* web_contents, | 225 WebContents* web_contents, |
226 int bridge_id, | 226 int bridge_id, |
227 const GURL& requesting_frame, | 227 const GURL& requesting_frame, |
228 bool user_gesture, | 228 bool user_gesture, |
229 base::Callback<void(bool)> result_callback, | 229 base::Callback<void(bool)> result_callback, |
230 base::Closure* cancel_callback) { | 230 base::Closure* cancel_callback) { |
231 result_callback.Run(true); | 231 result_callback.Run(true); |
232 } | 232 } |
233 | 233 |
234 void ContentBrowserClient::UseContentSettingPermission( | |
235 content::WebContents* web_contents, | |
Michael van Ouwerkerk
2014/07/01 11:02:24
delete content::
Daniel Nishi
2014/07/01 18:37:48
Done.
| |
236 const GURL& primary_url, | |
237 const GURL& secondary_url, | |
238 const std::string& setting_type) { | |
239 return; | |
240 } | |
241 | |
234 void ContentBrowserClient::RequestProtectedMediaIdentifierPermission( | 242 void ContentBrowserClient::RequestProtectedMediaIdentifierPermission( |
235 WebContents* web_contents, | 243 WebContents* web_contents, |
236 const GURL& origin, | 244 const GURL& origin, |
237 base::Callback<void(bool)> result_callback, | 245 base::Callback<void(bool)> result_callback, |
238 base::Closure* cancel_callback) { | 246 base::Closure* cancel_callback) { |
239 result_callback.Run(true); | 247 result_callback.Run(true); |
240 } | 248 } |
241 | 249 |
242 bool ContentBrowserClient::CanCreateWindow( | 250 bool ContentBrowserClient::CanCreateWindow( |
243 const GURL& opener_url, | 251 const GURL& opener_url, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
343 | 351 |
344 #if defined(VIDEO_HOLE) | 352 #if defined(VIDEO_HOLE) |
345 ExternalVideoSurfaceContainer* | 353 ExternalVideoSurfaceContainer* |
346 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 354 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
347 WebContents* web_contents) { | 355 WebContents* web_contents) { |
348 return NULL; | 356 return NULL; |
349 } | 357 } |
350 #endif | 358 #endif |
351 | 359 |
352 } // namespace content | 360 } // namespace content |
OLD | NEW |