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

Side by Side Diff: chrome/browser/translate/android/translate_utils.h

Issue 2762393003: Creates translate_compact_infobar class, which holds the logic for the new translate UI (Closed)
Patch Set: a Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(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 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_TRANSLATE_UTILS_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_TRANSLATE_UTILS_H_
7
8 #include "base/android/jni_android.h"
9 #include "base/android/scoped_java_ref.h"
10
11 namespace translate {
12 class TranslateInfoBarDelegate;
13 }
14
15 class TranslateUtils {
16 public:
17 static base::android::ScopedJavaLocalRef<jobjectArray> GetJavaLanguages(
18 JNIEnv* env,
19 translate::TranslateInfoBarDelegate* delegate);
20 static base::android::ScopedJavaLocalRef<jobjectArray> GetJavaLanguageCodes(
21 JNIEnv* env,
22 translate::TranslateInfoBarDelegate* delegate);
23 };
24
25 #endif
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/translate/android/translate_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698