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

Side by Side Diff: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h

Issue 473643002: Add button to page info to revoke user certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/mac/scoped_nsobject.h" 7 #include "base/mac/scoped_nsobject.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" 9 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
10 #include "chrome/browser/ui/website_settings/website_settings_ui.h" 10 #include "chrome/browser/ui/website_settings/website_settings_ui.h"
(...skipping 28 matching lines...) Expand all
39 39
40 // Container for cookies info on the Permissions tab. 40 // Container for cookies info on the Permissions tab.
41 NSView* cookiesView_; 41 NSView* cookiesView_;
42 42
43 // The link button for showing cookies and site data info. 43 // The link button for showing cookies and site data info.
44 NSButton* cookiesButton_; 44 NSButton* cookiesButton_;
45 45
46 // The link button for showing certificate information. 46 // The link button for showing certificate information.
47 NSButton* certificateInfoButton_; 47 NSButton* certificateInfoButton_;
48 48
49 // The link button for revoking certificate decisions.
50 NSButton* resetDecisionsButton_;
51
49 // The ID of the server certificate from the identity info. 52 // The ID of the server certificate from the identity info.
50 // This should always be non-zero on a secure connection, and 0 otherwise. 53 // This should always be non-zero on a secure connection, and 0 otherwise.
51 int certificateId_; 54 int certificateId_;
52 55
53 // Container for permission info on the Permissions tab. 56 // Container for permission info on the Permissions tab.
54 NSView* permissionsView_; 57 NSView* permissionsView_;
55 58
56 NSImageView* identityStatusIcon_; 59 NSImageView* identityStatusIcon_;
57 NSTextField* identityStatusDescriptionField_; 60 NSTextField* identityStatusDescriptionField_;
58 NSView* separatorAfterIdentity_; 61 NSView* separatorAfterIdentity_;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; 124 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE;
122 virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE; 125 virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE;
123 virtual void SetSelectedTab(TabId tab_id) OVERRIDE; 126 virtual void SetSelectedTab(TabId tab_id) OVERRIDE;
124 127
125 private: 128 private:
126 // The Cocoa controller for the bubble UI. 129 // The Cocoa controller for the bubble UI.
127 WebsiteSettingsBubbleController* bubble_controller_; 130 WebsiteSettingsBubbleController* bubble_controller_;
128 131
129 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); 132 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge);
130 }; 133 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698