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

Side by Side Diff: chrome/browser/ui/page_info/page_info_ui.h

Issue 2737413004: Add a Certificate Viewer link to the Page Info dropdown (Closed)
Patch Set: Add Cocoa, Fix MaxViews, Add Flag Created 3 years, 8 months 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) 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_PAGE_INFO_PAGE_INFO_UI_H_ 5 #ifndef CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_UI_H_
6 #define CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_UI_H_ 6 #define CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_UI_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Returns the identity icon for the given identity |status|. 177 // Returns the identity icon for the given identity |status|.
178 static const gfx::Image& GetIdentityIcon(PageInfo::SiteIdentityStatus status); 178 static const gfx::Image& GetIdentityIcon(PageInfo::SiteIdentityStatus status);
179 179
180 // Returns the connection icon ID for the given connection |status|. 180 // Returns the connection icon ID for the given connection |status|.
181 static int GetConnectionIconID(PageInfo::SiteConnectionStatus status); 181 static int GetConnectionIconID(PageInfo::SiteConnectionStatus status);
182 182
183 // Returns the connection icon for the given connection |status|. 183 // Returns the connection icon for the given connection |status|.
184 static const gfx::Image& GetConnectionIcon( 184 static const gfx::Image& GetConnectionIcon(
185 PageInfo::SiteConnectionStatus status); 185 PageInfo::SiteConnectionStatus status);
186 186
187 // Returns the icon for the Certificate area.
188 static const gfx::Image& GetCertificateIcon();
189
187 // Sets cookie information. 190 // Sets cookie information.
188 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0; 191 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0;
189 192
190 // Sets permission information. 193 // Sets permission information.
191 virtual void SetPermissionInfo( 194 virtual void SetPermissionInfo(
192 const PermissionInfoList& permission_info_list, 195 const PermissionInfoList& permission_info_list,
193 ChosenObjectInfoList chosen_object_info_list) = 0; 196 ChosenObjectInfoList chosen_object_info_list) = 0;
194 197
195 // Sets site identity information. 198 // Sets site identity information.
196 virtual void SetIdentityInfo(const IdentityInfo& identity_info) = 0; 199 virtual void SetIdentityInfo(const IdentityInfo& identity_info) = 0;
197 }; 200 };
198 201
199 typedef PageInfoUI::CookieInfoList CookieInfoList; 202 typedef PageInfoUI::CookieInfoList CookieInfoList;
200 typedef PageInfoUI::PermissionInfoList PermissionInfoList; 203 typedef PageInfoUI::PermissionInfoList PermissionInfoList;
201 typedef PageInfoUI::ChosenObjectInfoList ChosenObjectInfoList; 204 typedef PageInfoUI::ChosenObjectInfoList ChosenObjectInfoList;
202 205
203 #endif // CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_UI_H_ 206 #endif // CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698