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

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

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/android/tab_state.cc ('k') | chrome/browser/android/url_utilities.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"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "jni/TabWebContentsDelegateAndroid_jni.h" 43 #include "jni/TabWebContentsDelegateAndroid_jni.h"
44 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 44 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
45 #include "ui/gfx/geometry/rect.h" 45 #include "ui/gfx/geometry/rect.h"
46 #include "ui/gfx/geometry/rect_f.h" 46 #include "ui/gfx/geometry/rect_f.h"
47 47
48 #if defined(ENABLE_PLUGINS) 48 #if defined(ENABLE_PLUGINS)
49 #include "chrome/browser/pepper_broker_infobar_delegate.h" 49 #include "chrome/browser/pepper_broker_infobar_delegate.h"
50 #endif 50 #endif
51 51
52 using base::android::AttachCurrentThread; 52 using base::android::AttachCurrentThread;
53 using base::android::JavaParamRef;
53 using base::android::ScopedJavaLocalRef; 54 using base::android::ScopedJavaLocalRef;
54 using content::BluetoothChooser; 55 using content::BluetoothChooser;
55 using content::FileChooserParams; 56 using content::FileChooserParams;
56 using content::WebContents; 57 using content::WebContents;
57 58
58 namespace { 59 namespace {
59 60
60 ScopedJavaLocalRef<jobject> CreateJavaRectF( 61 ScopedJavaLocalRef<jobject> CreateJavaRectF(
61 JNIEnv* env, 62 JNIEnv* env,
62 const gfx::RectF& rect) { 63 const gfx::RectF& rect) {
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 jboolean IsCapturingVideo(JNIEnv* env, 477 jboolean IsCapturingVideo(JNIEnv* env,
477 const JavaParamRef<jclass>& clazz, 478 const JavaParamRef<jclass>& clazz,
478 const JavaParamRef<jobject>& java_web_contents) { 479 const JavaParamRef<jobject>& java_web_contents) {
479 content::WebContents* web_contents = 480 content::WebContents* web_contents =
480 content::WebContents::FromJavaWebContents(java_web_contents); 481 content::WebContents::FromJavaWebContents(java_web_contents);
481 scoped_refptr<MediaStreamCaptureIndicator> indicator = 482 scoped_refptr<MediaStreamCaptureIndicator> indicator =
482 MediaCaptureDevicesDispatcher::GetInstance()-> 483 MediaCaptureDevicesDispatcher::GetInstance()->
483 GetMediaStreamCaptureIndicator(); 484 GetMediaStreamCaptureIndicator();
484 return indicator->IsCapturingVideo(web_contents); 485 return indicator->IsCapturingVideo(web_contents);
485 } 486 }
OLDNEW
« no previous file with comments | « chrome/browser/android/tab_state.cc ('k') | chrome/browser/android/url_utilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698