| Index: chrome/browser/ui/android/snackbars/translate_snackbar.cc
|
| diff --git a/chrome/browser/ui/android/snackbars/translate_snackbar.cc b/chrome/browser/ui/android/snackbars/translate_snackbar.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..102ae0a7ca19d2f3b97c61d87206f03a290436c4
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/android/snackbars/translate_snackbar.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2017 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 "chrome/browser/ui/android/snackbars/translate_snackbar.h"
|
| +
|
| +#include "base/memory/ptr_util.h"
|
| +#include "jni/TranslateSnackbarController_jni.h"
|
| +
|
| +// static
|
| +static void ToggleTranslateOption(
|
| + JNIEnv* env,
|
| + const base::android::JavaParamRef<jclass>& obj,
|
| + int snackbar_type) {
|
| + // TODO(ramyasharma): Implement.
|
| +}
|
| +
|
| +// Native JNI methods -------------------------------------------------------
|
| +
|
| +// static
|
| +bool RegisterTranslateSnackbar(JNIEnv* env) {
|
| + return RegisterNativesImpl(env);
|
| +}
|
|
|