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

Side by Side Diff: ui/android/window_android.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ui/android/window_android.h" 5 #include "ui/android/window_android.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 9 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
10 #include "base/android/jni_weak_ref.h" 11 #include "base/android/jni_weak_ref.h"
11 #include "base/android/scoped_java_ref.h" 12 #include "base/android/scoped_java_ref.h"
12 #include "jni/WindowAndroid_jni.h" 13 #include "jni/WindowAndroid_jni.h"
13 #include "ui/android/window_android_compositor.h" 14 #include "ui/android/window_android_compositor.h"
14 #include "ui/android/window_android_observer.h" 15 #include "ui/android/window_android_observer.h"
15 16
16 namespace ui { 17 namespace ui {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // ---------------------------------------------------------------------------- 143 // ----------------------------------------------------------------------------
143 // Native JNI methods 144 // Native JNI methods
144 // ---------------------------------------------------------------------------- 145 // ----------------------------------------------------------------------------
145 146
146 jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { 147 jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) {
147 WindowAndroid* window = new WindowAndroid(env, obj); 148 WindowAndroid* window = new WindowAndroid(env, obj);
148 return reinterpret_cast<intptr_t>(window); 149 return reinterpret_cast<intptr_t>(window);
149 } 150 }
150 151
151 } // namespace ui 152 } // namespace ui
OLDNEW
« no previous file with comments | « testing/android/native_test/native_test_launcher.cc ('k') | ui/base/clipboard/clipboard_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698