| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_ANDROID_PAGE_INFO_CONNECTION_INFO_POPUP_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_PAGE_INFO_CONNECTION_INFO_POPUP_ANDROID_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_PAGE_INFO_CONNECTION_INFO_POPUP_ANDROID_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_PAGE_INFO_CONNECTION_INFO_POPUP_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "chrome/browser/ui/website_settings/website_settings_ui.h" | 14 #include "chrome/browser/ui/page_info/website_settings_ui.h" |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 class WebContents; | 17 class WebContents; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // Android implementation of the website settings UI which displays detailed | 20 // Android implementation of the website settings UI which displays detailed |
| 21 // connection and certificate information for the website. | 21 // connection and certificate information for the website. |
| 22 class ConnectionInfoPopupAndroid : public WebsiteSettingsUI { | 22 class ConnectionInfoPopupAndroid : public WebsiteSettingsUI { |
| 23 public: | 23 public: |
| 24 ConnectionInfoPopupAndroid(JNIEnv* env, | 24 ConnectionInfoPopupAndroid(JNIEnv* env, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 46 // The presenter that controls the Website Settings UI. | 46 // The presenter that controls the Website Settings UI. |
| 47 std::unique_ptr<WebsiteSettings> presenter_; | 47 std::unique_ptr<WebsiteSettings> presenter_; |
| 48 | 48 |
| 49 // The java prompt implementation. | 49 // The java prompt implementation. |
| 50 base::android::ScopedJavaGlobalRef<jobject> popup_jobject_; | 50 base::android::ScopedJavaGlobalRef<jobject> popup_jobject_; |
| 51 | 51 |
| 52 DISALLOW_COPY_AND_ASSIGN(ConnectionInfoPopupAndroid); | 52 DISALLOW_COPY_AND_ASSIGN(ConnectionInfoPopupAndroid); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 #endif // CHROME_BROWSER_UI_ANDROID_PAGE_INFO_CONNECTION_INFO_POPUP_ANDROID_H_ | 55 #endif // CHROME_BROWSER_UI_ANDROID_PAGE_INFO_CONNECTION_INFO_POPUP_ANDROID_H_ |
| OLD | NEW |