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

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

Issue 1435263003: [Android] Show document mode opt-out InfoBar on selected devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed isOptedInToDocumentMode Created 5 years, 1 month 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/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index 50448bcd6e7ae59060c45ad5e58800b5c70d68a1..4e21c366927016f468a7e72529a9570e308fa300 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -2,6 +2,7 @@
// 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/infobars/tabbed_mode_opt_in_infobar_delegate.h>
#include "chrome/browser/android/chrome_jni_registrar.h"
#include "base/android/jni_android.h"
@@ -335,6 +336,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer},
{"Sync", syncer::RegisterSyncJni},
{"TabAndroid", TabAndroid::RegisterTabAndroid},
+ {"TabbedModeOptInInfobarDelegate",
gone 2015/11/17 23:18:16 Keep your InfoBar and Infobar naming consistent.
Kibeom Kim (inactive) 2015/11/20 11:44:15 Done.
+ TabbedModeOptInInfoBarDelegate::RegisterTabbedModeOptInInfoBarDelegate},
{"TabContentManager", chrome::android::RegisterTabContentManager},
{"TabListSceneLayer", RegisterTabListSceneLayer},
{"TabModelJniBridge", TabModelJniBridge::Register},

Powered by Google App Engine
This is Rietveld 408576698