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

Side by Side Diff: content/browser/vr/android/cardboard/cardboard_vr_device.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 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 "content/browser/vr/android/cardboard/cardboard_vr_device.h" 5 #include "content/browser/vr/android/cardboard/cardboard_vr_device.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "base/android/context_utils.h"
10 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
11 #include "base/android/jni_array.h" 12 #include "base/android/jni_array.h"
12 #include "base/android/jni_string.h" 13 #include "base/android/jni_string.h"
13 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
15 #include "base/time/time.h" 16 #include "base/time/time.h"
16 #include "base/trace_event/trace_event.h" 17 #include "base/trace_event/trace_event.h"
17 #include "jni/CardboardVRDevice_jni.h" 18 #include "jni/CardboardVRDevice_jni.h"
18 #include "ui/gfx/transform.h" 19 #include "ui/gfx/transform.h"
19 #include "ui/gfx/transform_util.h" 20 #include "ui/gfx/transform_util.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 158
158 return state.Pass(); 159 return state.Pass();
159 } 160 }
160 161
161 void CardboardVRDevice::ResetSensor() { 162 void CardboardVRDevice::ResetSensor() {
162 Java_CardboardVRDevice_resetSensor(AttachCurrentThread(), 163 Java_CardboardVRDevice_resetSensor(AttachCurrentThread(),
163 j_cardboard_device_.obj()); 164 j_cardboard_device_.obj());
164 } 165 }
165 166
166 } // namespace content 167 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/time_zone_monitor_android.cc ('k') | content/shell/browser/layout_test/layout_test_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698