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

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: addressed Dan's comments 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 453d439e00d8e82298dc045b9efa5c8c42517a12..1ec3c6c0499a50f836f95eb80272ce02d5750dcc 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"
@@ -333,6 +334,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer},
{"Sync", syncer::RegisterSyncJni},
{"TabAndroid", TabAndroid::RegisterTabAndroid},
+ {"TabbedModeOptInInfoBarDelegate",
+ TabbedModeOptInInfoBarDelegate::RegisterTabbedModeOptInInfoBarDelegate},
{"TabContentManager", chrome::android::RegisterTabContentManager},
{"TabListSceneLayer", RegisterTabListSceneLayer},
{"TabModelJniBridge", TabModelJniBridge::Register},

Powered by Google App Engine
This is Rietveld 408576698