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

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 comments, renaming 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/resource_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5800e497bae97dad22338d0d30d95851a2ef6ba5 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -129,6 +129,7 @@
#include "chrome/browser/ui/android/infobars/auto_signin_first_run_infobar.h"
#include "chrome/browser/ui/android/infobars/confirm_infobar.h"
#include "chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.h"
+#include "chrome/browser/ui/android/infobars/document_mode_opt_out_infobar_delegate.h"
#include "chrome/browser/ui/android/infobars/download_overwrite_infobar.h"
#include "chrome/browser/ui/android/infobars/generated_password_saved_infobar.h"
#include "chrome/browser/ui/android/infobars/infobar_android.h"
@@ -333,6 +334,9 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"StaticTabSceneLayer", chrome::android::RegisterStaticTabSceneLayer},
{"Sync", syncer::RegisterSyncJni},
{"TabAndroid", TabAndroid::RegisterTabAndroid},
+ {"DocumentModeOptOutInfoBarDelegate",
+ DocumentModeOptOutInfoBarDelegate::
+ RegisterDocumentModeOptOutInfoBarDelegate},
{"TabContentManager", chrome::android::RegisterTabContentManager},
{"TabListSceneLayer", RegisterTabListSceneLayer},
{"TabModelJniBridge", TabModelJniBridge::Register},
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/resource_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698