| Index: chrome/browser/android/appmenu/app_menu_drag_helper.cc
|
| diff --git a/chrome/browser/android/appmenu/app_menu_drag_helper.cc b/chrome/browser/android/appmenu/app_menu_drag_helper.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7d285d569d4cf51bdd1ac0bbe1e11c02c9dabe57
|
| --- /dev/null
|
| +++ b/chrome/browser/android/appmenu/app_menu_drag_helper.cc
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2014 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 "base/metrics/histogram_macros.h"
|
| +#include "chrome/browser/android/appmenu/app_menu_drag_helper.h"
|
| +#include "jni/AppMenuDragHelper_jni.h"
|
| +
|
| +bool RegisterAppMenuDragHelper(JNIEnv* env) {
|
| + return RegisterNativesImpl(env);
|
| +}
|
| +
|
| +// static
|
| +void RecordAppMenuTouchDuration(JNIEnv* env, jclass jcaller, jlong time_ms) {
|
| + UMA_HISTOGRAM_TIMES("WrenchMenu.TouchDuration",
|
| + base::TimeDelta::FromMilliseconds(time_ms));
|
| +}
|
|
|