Index: trunk/src/chrome/browser/ui/content_settings/content_setting_bubble_model.h |
=================================================================== |
--- trunk/src/chrome/browser/ui/content_settings/content_setting_bubble_model.h (revision 221694) |
+++ trunk/src/chrome/browser/ui/content_settings/content_setting_bubble_model.h (working copy) |
@@ -11,7 +11,6 @@ |
#include <vector> |
#include "base/compiler_specific.h" |
-#include "chrome/browser/content_settings/tab_specific_content_settings.h" |
#include "chrome/common/content_settings.h" |
#include "chrome/common/custom_handlers/protocol_handler.h" |
#include "content/public/browser/notification_observer.h" |
@@ -113,16 +112,10 @@ |
virtual void OnMediaMenuClicked(content::MediaStreamType type, |
const std::string& selected_device_id) {} |
- // Called by the view code when the cancel button in clicked by the user. |
- virtual void OnCancelClicked() {} |
- |
// Called by the view code when the bubble is closed by the user using the |
// Done button. |
virtual void OnDoneClicked() {} |
- // Called by the view code when the save button in clicked by the user. |
- virtual void OnSaveClicked() {} |
- |
protected: |
ContentSettingBubbleModel( |
content::WebContents* web_contents, |
@@ -191,23 +184,6 @@ |
Delegate* delegate_; |
}; |
-class SavePasswordBubbleModel : public ContentSettingTitleAndLinkModel { |
- public: |
- SavePasswordBubbleModel(Delegate* delegate, |
- content::WebContents* web_contents, |
- Profile* profile); |
- virtual ~SavePasswordBubbleModel() {} |
- virtual void OnCancelClicked() OVERRIDE; |
- virtual void OnSaveClicked() OVERRIDE; |
- private: |
- // Sets the title of the bubble. |
- void SetTitle(); |
- |
- TabSpecificContentSettings::PasswordSavingState state_; |
- |
- DISALLOW_COPY_AND_ASSIGN(SavePasswordBubbleModel); |
-}; |
- |
class ContentSettingRPHBubbleModel : public ContentSettingTitleAndLinkModel { |
public: |
ContentSettingRPHBubbleModel(Delegate* delegate, |