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

Unified Diff: ui/base/touch/touch_device_android.cc

Issue 853033002: More delete + gfx_unittests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix android trybots Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/touch/touch_device.cc ('k') | ui/base/touch/touch_device_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/touch/touch_device_android.cc
diff --git a/ui/base/touch/touch_device_android.cc b/ui/base/touch/touch_device_android.cc
deleted file mode 100644
index 604306c8bb38ff71a6072db2e6514cfa36fef31e..0000000000000000000000000000000000000000
--- a/ui/base/touch/touch_device_android.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/base/touch/touch_device.h"
-
-#include "jni/TouchDevice_jni.h"
-
-namespace ui {
-
-bool IsTouchDevicePresent() {
- return true;
-}
-
-int MaxTouchPoints() {
- JNIEnv* env = base::android::AttachCurrentThread();
- jobject context = base::android::GetApplicationContext();
- jint max_touch_points = Java_TouchDevice_maxTouchPoints(env, context);
- return static_cast<int>(max_touch_points);
-}
-
-bool RegisterTouchDeviceAndroid(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-} // namespace ui
« no previous file with comments | « ui/base/touch/touch_device.cc ('k') | ui/base/touch/touch_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698