OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 int event_flags) override; | 122 int event_flags) override; |
123 | 123 |
124 // views::View implementation. | 124 // views::View implementation. |
125 gfx::Size GetPreferredSize() const override; | 125 gfx::Size GetPreferredSize() const override; |
126 | 126 |
127 // WebsiteSettingsUI implementations. | 127 // WebsiteSettingsUI implementations. |
128 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; | 128 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; |
129 void SetPermissionInfo(const PermissionInfoList& permission_info_list, | 129 void SetPermissionInfo(const PermissionInfoList& permission_info_list, |
130 ChosenObjectInfoList chosen_object_info_list) override; | 130 ChosenObjectInfoList chosen_object_info_list) override; |
131 void SetIdentityInfo(const IdentityInfo& identity_info) override; | 131 void SetIdentityInfo(const IdentityInfo& identity_info) override; |
132 // TODO(lgarron): Remove SetSelectedTab() with https://crbug.com/571533 | |
133 void SetSelectedTab(TabId tab_id) override; | |
134 | 132 |
135 // Creates the contents of the |site_settings_view_|. The ownership of the | 133 // Creates the contents of the |site_settings_view_|. The ownership of the |
136 // returned view is transferred to the caller. | 134 // returned view is transferred to the caller. |
137 views::View* CreateSiteSettingsView() WARN_UNUSED_RESULT; | 135 views::View* CreateSiteSettingsView() WARN_UNUSED_RESULT; |
138 | 136 |
139 // Used to asynchronously handle clicks since these calls may cause the | 137 // Used to asynchronously handle clicks since these calls may cause the |
140 // destruction of the settings view and the base class window still needs to | 138 // destruction of the settings view and the base class window still needs to |
141 // be alive to finish handling the mouse or keyboard click. | 139 // be alive to finish handling the mouse or keyboard click. |
142 void HandleLinkClickedAsync(views::Link* source); | 140 void HandleLinkClickedAsync(views::Link* source); |
143 | 141 |
(...skipping 23 matching lines...) Expand all Loading... |
167 | 165 |
168 // The certificate provided by the site, if one exists. | 166 // The certificate provided by the site, if one exists. |
169 scoped_refptr<net::X509Certificate> certificate_; | 167 scoped_refptr<net::X509Certificate> certificate_; |
170 | 168 |
171 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; | 169 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; |
172 | 170 |
173 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); | 171 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); |
174 }; | 172 }; |
175 | 173 |
176 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ | 174 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ |
OLD | NEW |