 Chromium Code Reviews
 Chromium Code Reviews Issue 10532148:
  Adding java TouchPoint class for android  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 10532148:
  Adding java TouchPoint class for android  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| Index: content/browser/android/touch_point.h | 
| diff --git a/content/browser/android/touch_point.h b/content/browser/android/touch_point.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..eb64eb1b62a9c81a97dc5881d6c461a303a1407b | 
| --- /dev/null | 
| +++ b/content/browser/android/touch_point.h | 
| @@ -0,0 +1,21 @@ | 
| +// Copyright (c) 2012 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. | 
| + | 
| +#ifndef CONTENT_BROWSER_ANDROID_TOUCH_POINT_H_ | 
| +#define CONTENT_BROWSER_ANDROID_TOUCH_POINT_H_ | 
| +#pragma once | 
| + | 
| +#include <jni.h> | 
| + | 
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 
| + | 
| +class TouchPoint { | 
| 
Yaron
2012/06/14 21:56:27
New code should be content namespace
 
qinmin
2012/06/14 22:20:58
Done.
 | 
| + public: | 
| + static void BuildWebTouchEvent(JNIEnv* env, jint type, jlong time_ms, | 
| + jobjectArray pts, WebKit::WebTouchEvent& event); | 
| +}; | 
| + | 
| +bool RegisterTouchPoint(JNIEnv* env); | 
| + | 
| +#endif // CONTENT_BROWSER_ANDROID_CHROME_VIEW_H_ |