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

Unified Diff: chrome/browser/android/feature_utilities.cc

Issue 1219133003: Contextual Search UI changes for custom tabs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes from Pedro's review Created 5 years, 5 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
Index: chrome/browser/android/feature_utilities.cc
diff --git a/chrome/browser/android/feature_utilities.cc b/chrome/browser/android/feature_utilities.cc
index 4757d7e44e33a102cc1659ac9d52d2bdb4549ff8..bcfebfb562f5a129b14888cd020b8c9ecb33ae51 100644
--- a/chrome/browser/android/feature_utilities.cc
+++ b/chrome/browser/android/feature_utilities.cc
@@ -40,6 +40,11 @@ static void SetCustomTabVisible(JNIEnv* env,
custom_tab_visible = visible;
}
+static jboolean GetCustomTabVisible(JNIEnv* env,
+ jclass clazz) {
+ return custom_tab_visible;
+}
+
bool RegisterFeatureUtilities(JNIEnv* env) {
return RegisterNativesImpl(env);
}

Powered by Google App Engine
This is Rietveld 408576698