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

Side by Side Diff: ui/gfx/android/view_configuration.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/gfx/android/view_configuration.h" 5 #include "ui/gfx/android/view_configuration.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/lazy_instance.h" 9 #include "base/lazy_instance.h"
9 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
10 #include "jni/ViewConfigurationHelper_jni.h" 11 #include "jni/ViewConfigurationHelper_jni.h"
11 12
12 using base::android::AttachCurrentThread; 13 using base::android::AttachCurrentThread;
13 using base::android::GetApplicationContext; 14 using base::android::GetApplicationContext;
14 15
15 namespace gfx { 16 namespace gfx {
16 17
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 194
194 int ViewConfiguration::GetMinScalingTouchMajorInDips() { 195 int ViewConfiguration::GetMinScalingTouchMajorInDips() {
195 return g_view_configuration.Get().min_scaling_touch_major_in_dips(); 196 return g_view_configuration.Get().min_scaling_touch_major_in_dips();
196 } 197 }
197 198
198 bool ViewConfiguration::RegisterViewConfiguration(JNIEnv* env) { 199 bool ViewConfiguration::RegisterViewConfiguration(JNIEnv* env) {
199 return RegisterNativesImpl(env); 200 return RegisterNativesImpl(env);
200 } 201 }
201 202
202 } // namespace gfx 203 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/android/shared_device_display_info.cc ('k') | ui/platform_window/android/platform_window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698