Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: chrome/browser/android/tab_web_contents_delegate_android.cc

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chrome/browser/android/tab_web_contents_delegate_android.h" 5 #include "chrome/browser/android/tab_web_contents_delegate_android.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "chrome/browser/android/banners/app_banner_manager_android.h" 13 #include "chrome/browser/android/banners/app_banner_manager_android.h"
14 #include "chrome/browser/android/feature_utilities.h" 14 #include "chrome/browser/android/feature_utilities.h"
15 #include "chrome/browser/android/hung_renderer_infobar_delegate.h" 15 #include "chrome/browser/android/hung_renderer_infobar_delegate.h"
16 #include "chrome/browser/android/media/media_throttle_infobar_delegate.h" 16 #include "chrome/browser/android/media/media_throttle_infobar_delegate.h"
17 #include "chrome/browser/chrome_notification_types.h" 17 #include "chrome/browser/chrome_notification_types.h"
18 #include "chrome/browser/file_select_helper.h" 18 #include "chrome/browser/file_select_helper.h"
19 #include "chrome/browser/infobars/infobar_service.h" 19 #include "chrome/browser/infobars/infobar_service.h"
20 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
21 #include "chrome/browser/media/media_stream_capture_indicator.h"
22 #include "chrome/browser/media/protected_media_identifier_permission_context.h" 20 #include "chrome/browser/media/protected_media_identifier_permission_context.h"
21 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
22 #include "chrome/browser/media/webrtc/media_stream_capture_indicator.h"
23 #include "chrome/browser/prerender/prerender_manager.h" 23 #include "chrome/browser/prerender/prerender_manager.h"
24 #include "chrome/browser/prerender/prerender_manager_factory.h" 24 #include "chrome/browser/prerender/prerender_manager_factory.h"
25 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
26 #include "chrome/browser/ui/android/bluetooth_chooser_android.h" 26 #include "chrome/browser/ui/android/bluetooth_chooser_android.h"
27 #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h" 27 #include "chrome/browser/ui/blocked_content/popup_blocker_tab_helper.h"
28 #include "chrome/browser/ui/find_bar/find_notification_details.h" 28 #include "chrome/browser/ui/find_bar/find_notification_details.h"
29 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 29 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
30 #include "chrome/browser/ui/tab_helpers.h" 30 #include "chrome/browser/ui/tab_helpers.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/common/url_constants.h" 32 #include "chrome/common/url_constants.h"
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 jboolean IsCapturingVideo(JNIEnv* env, 457 jboolean IsCapturingVideo(JNIEnv* env,
458 const JavaParamRef<jclass>& clazz, 458 const JavaParamRef<jclass>& clazz,
459 const JavaParamRef<jobject>& java_web_contents) { 459 const JavaParamRef<jobject>& java_web_contents) {
460 content::WebContents* web_contents = 460 content::WebContents* web_contents =
461 content::WebContents::FromJavaWebContents(java_web_contents); 461 content::WebContents::FromJavaWebContents(java_web_contents);
462 scoped_refptr<MediaStreamCaptureIndicator> indicator = 462 scoped_refptr<MediaStreamCaptureIndicator> indicator =
463 MediaCaptureDevicesDispatcher::GetInstance()-> 463 MediaCaptureDevicesDispatcher::GetInstance()->
464 GetMediaStreamCaptureIndicator(); 464 GetMediaStreamCaptureIndicator();
465 return indicator->IsCapturingVideo(web_contents); 465 return indicator->IsCapturingVideo(web_contents);
466 } 466 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698