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

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

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/BUILD.gn ('k') | chrome/browser/ui/android/snackbars/translate_snackbar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/snackbars/translate_snackbar.h
diff --git a/chrome/browser/ui/android/snackbars/translate_snackbar.h b/chrome/browser/ui/android/snackbars/translate_snackbar.h
deleted file mode 100644
index dce8499780c7338cc413aa3a58b494ff03d57e8f..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/android/snackbars/translate_snackbar.h
+++ /dev/null
@@ -1,30 +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.
-
-#ifndef CHROME_BROWSER_UI_ANDROID_SNACKBARS_TRANSLATE_SNACKBAR_H_
-#define CHROME_BROWSER_UI_ANDROID_SNACKBARS_TRANSLATE_SNACKBAR_H_
-
-#include <stddef.h>
-
-#include "base/android/jni_android.h"
-#include "base/android/scoped_java_ref.h"
-#include "base/macros.h"
-
-class TranslateSnackbar {
- public:
- explicit TranslateSnackbar(int snackbar_type);
-
- void ToggleTranslateOption(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& obj);
-
- private:
- int type_;
-
- DISALLOW_COPY_AND_ASSIGN(TranslateSnackbar);
-};
-
-// Registers the native methods through JNI.
-bool RegisterTranslateSnackbar(JNIEnv* env);
-
-#endif // CHROME_BROWSER_UI_ANDROID_SNACKBARS_TRANSLATE_SNACKBAR_H_
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/ui/android/snackbars/translate_snackbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698