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

Side by Side Diff: blimp/client/app/android/blimp_view.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "blimp/client/app/android/blimp_view.h" 5 #include "blimp/client/app/android/blimp_view.h"
6 6
7 #include <android/native_window_jni.h> 7 #include <android/native_window_jni.h>
8 8
9 #include "blimp/client/app/android/blimp_client_session_android.h" 9 #include "blimp/client/app/android/blimp_client_session_android.h"
10 #include "jni/BlimpView_jni.h" 10 #include "jni/BlimpView_jni.h"
11 #include "ui/events/android/motion_event_android.h" 11 #include "ui/events/android/motion_event_android.h"
12 #include "ui/gfx/geometry/size.h" 12 #include "ui/gfx/geometry/size.h"
13 13
14 using base::android::JavaParamRef;
15
14 namespace blimp { 16 namespace blimp {
15 namespace client { 17 namespace client {
16 18
17 static jlong Init(JNIEnv* env, 19 static jlong Init(JNIEnv* env,
18 const JavaParamRef<jobject>& jobj, 20 const JavaParamRef<jobject>& jobj,
19 const JavaParamRef<jobject>& blimp_client_session, 21 const JavaParamRef<jobject>& blimp_client_session,
20 jint real_width, 22 jint real_width,
21 jint real_height, 23 jint real_height,
22 jint width, 24 jint width,
23 jint height, 25 jint height,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 Java_BlimpView_onSwapBuffersCompleted(env, java_obj_.obj()); 185 Java_BlimpView_onSwapBuffersCompleted(env, java_obj_.obj());
184 } 186 }
185 187
186 void BlimpView::DidCommitAndDrawFrame() { 188 void BlimpView::DidCommitAndDrawFrame() {
187 DCHECK(blimp_connection_statistics_); 189 DCHECK(blimp_connection_statistics_);
188 blimp_connection_statistics_->Add(BlimpConnectionStatistics::COMMIT, 1); 190 blimp_connection_statistics_->Add(BlimpConnectionStatistics::COMMIT, 1);
189 } 191 }
190 192
191 } // namespace client 193 } // namespace client
192 } // namespace blimp 194 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/app/android/blimp_library_loader.cc ('k') | blimp/client/app/android/tab_control_feature_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698