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

Side by Side Diff: blimp/client/app/android/blimp_view.cc

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fix build break 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 | « blimp/client/app/android/blimp_view.h ('k') | blimp/client/app/linux/blimp_display_manager.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 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 "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "blimp/client/app/android/blimp_client_session_android.h" 10 #include "blimp/client/app/android/blimp_client_session_android.h"
11 #include "blimp/client/app/compositor/browser_compositor.h" 11 #include "blimp/client/app/compositor/browser_compositor.h"
12 #include "blimp/client/core/compositor/blimp_compositor_dependencies.h" 12 #include "blimp/client/core/compositor/blimp_compositor_dependencies.h"
13 #include "blimp/client/feature/compositor/blimp_compositor_manager.h" 13 #include "blimp/client/core/compositor/blimp_compositor_manager.h"
14 #include "blimp/client/support/compositor/compositor_dependencies_impl.h" 14 #include "blimp/client/support/compositor/compositor_dependencies_impl.h"
15 #include "jni/BlimpView_jni.h" 15 #include "jni/BlimpView_jni.h"
16 #include "ui/events/android/motion_event_android.h" 16 #include "ui/events/android/motion_event_android.h"
17 #include "ui/gfx/geometry/size.h" 17 #include "ui/gfx/geometry/size.h"
18 18
19 using base::android::JavaParamRef; 19 using base::android::JavaParamRef;
20 20
21 namespace blimp { 21 namespace blimp {
22 namespace client { 22 namespace client {
23 23
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 return compositor_manager_->OnTouchEvent(event); 202 return compositor_manager_->OnTouchEvent(event);
203 } 203 }
204 204
205 void BlimpView::OnSwapBuffersCompleted() { 205 void BlimpView::OnSwapBuffersCompleted() {
206 JNIEnv* env = base::android::AttachCurrentThread(); 206 JNIEnv* env = base::android::AttachCurrentThread();
207 Java_BlimpView_onSwapBuffersCompleted(env, java_obj_); 207 Java_BlimpView_onSwapBuffersCompleted(env, java_obj_);
208 } 208 }
209 209
210 } // namespace client 210 } // namespace client
211 } // namespace blimp 211 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/app/android/blimp_view.h ('k') | blimp/client/app/linux/blimp_display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698