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

Side by Side Diff: chrome/browser/ui/android/page_info/connection_info_popup_android.h

Issue 2521173004: Remove SetSelectedTab() and deprecate unused WebsiteSettingsAction values. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/android/page_info/connection_info_popup_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
(...skipping 21 matching lines...) Expand all
32 void ResetCertDecisions( 32 void ResetCertDecisions(
33 JNIEnv* env, 33 JNIEnv* env,
34 const base::android::JavaParamRef<jobject>& obj, 34 const base::android::JavaParamRef<jobject>& obj,
35 const base::android::JavaParamRef<jobject>& java_web_contents); 35 const base::android::JavaParamRef<jobject>& java_web_contents);
36 36
37 // WebsiteSettingsUI implementations. 37 // WebsiteSettingsUI implementations.
38 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; 38 void SetCookieInfo(const CookieInfoList& cookie_info_list) override;
39 void SetPermissionInfo(const PermissionInfoList& permission_info_list, 39 void SetPermissionInfo(const PermissionInfoList& permission_info_list,
40 ChosenObjectInfoList chosen_object_info_list) override; 40 ChosenObjectInfoList chosen_object_info_list) override;
41 void SetIdentityInfo(const IdentityInfo& identity_info) override; 41 void SetIdentityInfo(const IdentityInfo& identity_info) override;
42 void SetSelectedTab(WebsiteSettingsUI::TabId tab_id) override;
43 42
44 static bool RegisterConnectionInfoPopupAndroid(JNIEnv* env); 43 static bool RegisterConnectionInfoPopupAndroid(JNIEnv* env);
45 44
46 private: 45 private:
47 // The presenter that controls the Website Settings UI. 46 // The presenter that controls the Website Settings UI.
48 std::unique_ptr<WebsiteSettings> presenter_; 47 std::unique_ptr<WebsiteSettings> presenter_;
49 48
50 // The java prompt implementation. 49 // The java prompt implementation.
51 base::android::ScopedJavaGlobalRef<jobject> popup_jobject_; 50 base::android::ScopedJavaGlobalRef<jobject> popup_jobject_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(ConnectionInfoPopupAndroid); 52 DISALLOW_COPY_AND_ASSIGN(ConnectionInfoPopupAndroid);
54 }; 53 };
55 54
56 #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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/android/page_info/connection_info_popup_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698