Index: chrome/browser/ui/views/content_setting_bubble_contents.h |
diff --git a/chrome/browser/ui/views/content_setting_bubble_contents.h b/chrome/browser/ui/views/content_setting_bubble_contents.h |
index 24c4efb90238766db95fd1a0b92c5fefc51e4ad5..61a11d2ed1d7b3d860f764bc998a9ab9fe8ac598 100644 |
--- a/chrome/browser/ui/views/content_setting_bubble_contents.h |
+++ b/chrome/browser/ui/views/content_setting_bubble_contents.h |
@@ -92,6 +92,15 @@ class ContentSettingBubbleContents : public content::NotificationObserver, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) OVERRIDE; |
+ // Called when the 'save password' button is pressed. If this function |
+ // returns true, the bubble is then immediately closed. Subclasses MUST NOT |
+ // return true if in handling this call triggers the infobar to begin |
+ // closing. |
+ virtual bool Accept(); |
sky
2013/08/26 20:48:27
Does this and Cancel need to be virtual?
npentrel
2013/08/27 16:35:11
Actually it doesn't need to be there at all. Thank
|
+ |
+ // Called when the 'never save password for this site' button is pressed. |
+ virtual bool Cancel(); |
+ |
// Helper to get the preferred width of the media menu. |
int GetPreferredMediaMenuWidth(views::MenuButton* button, |
ui::SimpleMenuModel* menu_model); |
@@ -113,6 +122,8 @@ class ContentSettingBubbleContents : public content::NotificationObserver, |
views::Link* custom_link_; |
views::Link* manage_link_; |
views::LabelButton* close_button_; |
+ views::LabelButton* never_button_; |
+ views::LabelButton* save_button_; |
scoped_ptr<views::MenuRunner> menu_runner_; |
MediaMenuPartsMap media_menus_; |