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

Side by Side Diff: chrome/browser/ui/android/page_info/website_settings_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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_WEBSITE_SETTINGS_POPUP_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_PAGE_INFO_WEBSITE_SETTINGS_POPUP_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_PAGE_INFO_WEBSITE_SETTINGS_POPUP_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_PAGE_INFO_WEBSITE_SETTINGS_POPUP_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 28 matching lines...) Expand all
39 void RecordWebsiteSettingsAction( 39 void RecordWebsiteSettingsAction(
40 JNIEnv* env, 40 JNIEnv* env,
41 const base::android::JavaParamRef<jobject>& obj, 41 const base::android::JavaParamRef<jobject>& obj,
42 jint action); 42 jint action);
43 43
44 // WebsiteSettingsUI implementations. 44 // WebsiteSettingsUI implementations.
45 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; 45 void SetCookieInfo(const CookieInfoList& cookie_info_list) override;
46 void SetPermissionInfo(const PermissionInfoList& permission_info_list, 46 void SetPermissionInfo(const PermissionInfoList& permission_info_list,
47 ChosenObjectInfoList chosen_object_info_list) override; 47 ChosenObjectInfoList chosen_object_info_list) override;
48 void SetIdentityInfo(const IdentityInfo& identity_info) override; 48 void SetIdentityInfo(const IdentityInfo& identity_info) override;
49 void SetSelectedTab(WebsiteSettingsUI::TabId tab_id) override;
50 49
51 static bool RegisterWebsiteSettingsPopupAndroid(JNIEnv* env); 50 static bool RegisterWebsiteSettingsPopupAndroid(JNIEnv* env);
52 51
53 private: 52 private:
54 // The presenter that controlls the Website Settings UI. 53 // The presenter that controlls the Website Settings UI.
55 std::unique_ptr<WebsiteSettings> presenter_; 54 std::unique_ptr<WebsiteSettings> presenter_;
56 55
57 // The java prompt implementation. 56 // The java prompt implementation.
58 base::android::ScopedJavaGlobalRef<jobject> popup_jobject_; 57 base::android::ScopedJavaGlobalRef<jobject> popup_jobject_;
59 58
60 GURL url_; 59 GURL url_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupAndroid); 61 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupAndroid);
63 }; 62 };
64 63
65 #endif // CHROME_BROWSER_UI_ANDROID_PAGE_INFO_WEBSITE_SETTINGS_POPUP_ANDROID_H_ 64 #endif // CHROME_BROWSER_UI_ANDROID_PAGE_INFO_WEBSITE_SETTINGS_POPUP_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698