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

Side by Side Diff: content/browser/android/composited_touch_handle_drawable.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 "content/browser/android/composited_touch_handle_drawable.h" 5 #include "content/browser/android/composited_touch_handle_drawable.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
8 #include "base/logging.h" 9 #include "base/logging.h"
9 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
10 #include "cc/layers/ui_resource_layer.h" 11 #include "cc/layers/ui_resource_layer.h"
11 #include "content/public/browser/android/compositor.h" 12 #include "content/public/browser/android/compositor.h"
12 #include "jni/HandleViewResources_jni.h" 13 #include "jni/HandleViewResources_jni.h"
13 #include "ui/gfx/android/java_bitmap.h" 14 #include "ui/gfx/android/java_bitmap.h"
14 15
15 namespace content { 16 namespace content {
16 17
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 void CompositedTouchHandleDrawable::UpdateLayerPosition() { 177 void CompositedTouchHandleDrawable::UpdateLayerPosition() {
177 layer_->SetPosition(origin_position_); 178 layer_->SetPosition(origin_position_);
178 } 179 }
179 180
180 // static 181 // static
181 bool CompositedTouchHandleDrawable::RegisterHandleViewResources(JNIEnv* env) { 182 bool CompositedTouchHandleDrawable::RegisterHandleViewResources(JNIEnv* env) {
182 return RegisterNativesImpl(env); 183 return RegisterNativesImpl(env);
183 } 184 }
184 185
185 } // namespace content 186 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/child_process_launcher_android.cc ('k') | content/browser/android/download_controller_android_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698