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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
225 void ContentBrowserClient::RequestMidiSysExPermission( | 225 void ContentBrowserClient::RequestMidiSysExPermission( |
226 WebContents* web_contents, | 226 WebContents* web_contents, |
227 int bridge_id, | 227 int bridge_id, |
228 const GURL& requesting_frame, | 228 const GURL& requesting_frame, |
229 bool user_gesture, | 229 bool user_gesture, |
230 base::Callback<void(bool)> result_callback, | 230 base::Callback<void(bool)> result_callback, |
231 base::Closure* cancel_callback) { | 231 base::Closure* cancel_callback) { |
232 result_callback.Run(true); | 232 result_callback.Run(true); |
233 } | 233 } |
234 | 234 |
235 void ContentBrowserClient::DidUseGeolocationPermission( | |
jam
2014/07/14 18:20:53
nit: don't put this in the cc file, instead just h
Daniel Nishi
2014/07/14 22:25:05
Done.
| |
236 WebContents* web_contents, | |
237 const GURL& primary_url, | |
238 const GURL& secondary_url) { | |
239 } | |
240 | |
235 void ContentBrowserClient::RequestProtectedMediaIdentifierPermission( | 241 void ContentBrowserClient::RequestProtectedMediaIdentifierPermission( |
236 WebContents* web_contents, | 242 WebContents* web_contents, |
237 const GURL& origin, | 243 const GURL& origin, |
238 base::Callback<void(bool)> result_callback, | 244 base::Callback<void(bool)> result_callback, |
239 base::Closure* cancel_callback) { | 245 base::Closure* cancel_callback) { |
240 result_callback.Run(true); | 246 result_callback.Run(true); |
241 } | 247 } |
242 | 248 |
243 bool ContentBrowserClient::CanCreateWindow( | 249 bool ContentBrowserClient::CanCreateWindow( |
244 const GURL& opener_url, | 250 const GURL& opener_url, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
344 | 350 |
345 #if defined(VIDEO_HOLE) | 351 #if defined(VIDEO_HOLE) |
346 ExternalVideoSurfaceContainer* | 352 ExternalVideoSurfaceContainer* |
347 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 353 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
348 WebContents* web_contents) { | 354 WebContents* web_contents) { |
349 return NULL; | 355 return NULL; |
350 } | 356 } |
351 #endif | 357 #endif |
352 | 358 |
353 } // namespace content | 359 } // namespace content |
OLD | NEW |