Chromium Code Reviews| 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 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c8b1a1adda40cb084e5806de0a73280053760964 |
| --- /dev/null |
| +++ b/chrome/browser/ui/android/snackbars/translate_snackbar.h |
| @@ -0,0 +1,25 @@ |
| +// 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 { |
|
gone
2017/04/30 02:09:44
You don't actually need this class for this CL, do
ramyasharma
2017/05/01 01:42:39
Done.
gone
2017/05/01 02:51:51
I meant that you didn't actually construct any ins
|
| + private: |
| + TranslateSnackbar(); |
| + ~TranslateSnackbar(); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(TranslateSnackbar); |
| +}; |
| + |
| +// Registers the native methods through JNI. |
| +bool RegisterTranslateSnackbar(JNIEnv* env); |
| + |
| +#endif // CHROME_BROWSER_UI_ANDROID_SNACKBARS_TRANSLATE_SNACKBAR_H |