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

Unified Diff: trunk/src/chrome/browser/ui/content_settings/content_setting_bubble_model.h

Issue 24024006: Revert 221424 "Save password functionality added to the save pas..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698