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

Unified Diff: chrome/browser/ui/android/snackbars/translate_snackbar.cc

Issue 2854243004: Moves translate snackbar functionality to Android side. (Closed)
Patch Set: Created 3 years, 7 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 | « chrome/browser/ui/android/snackbars/translate_snackbar.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index fd7c8b123f0ef88d467572fe6e33729221f9ee58..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/android/snackbars/translate_snackbar.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// 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"
-
-TranslateSnackbar::TranslateSnackbar(int snackbar_type) {
- type_ = snackbar_type;
-}
-
-void TranslateSnackbar::ToggleTranslateOption(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& obj) {
- // TODO(ramyasharma): Implement.
-}
-
-// Native JNI methods -------------------------------------------------------
-
-// static
-bool RegisterTranslateSnackbar(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
« no previous file with comments | « chrome/browser/ui/android/snackbars/translate_snackbar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698