OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ui/android/snackbars/translate_snackbar.h" | |
6 | |
7 #include "base/memory/ptr_util.h" | |
8 #include "jni/TranslateSnackbarController_jni.h" | |
9 | |
10 TranslateSnackbar::TranslateSnackbar(int snackbar_type) { | |
11 type = snackbar_type; | |
12 } | |
13 | |
14 void TranslateSnackbar::ToggleTranslateOption( | |
15 JNIEnv* env, | |
16 const base::android::JavaParamRef<jobject>& obj) { | |
17 // TODO(ramyasharma): Implement. | |
gone
2017/04/26 17:19:51
You don't actually need to create this object, do
ramyasharma
2017/04/27 08:01:42
That is correct as of now. However, hopefully in t
| |
18 } | |
19 | |
20 // Native JNI methods ------------------------------------------------------- | |
21 | |
22 // static | |
23 bool RegisterTranslateSnackbar(JNIEnv* env) { | |
24 return RegisterNativesImpl(env); | |
25 } | |
OLD | NEW |