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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_test_helper.h

Issue 6262018: Cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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: chrome/browser/ui/cocoa/infobars/infobar_test_helper.h
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_test_helper.h (revision 72676)
+++ chrome/browser/ui/cocoa/infobars/infobar_test_helper.h (working copy)
@@ -9,33 +9,6 @@
#include "chrome/browser/tab_contents/infobar_delegate.h"
-// MockAlertInfoBarDelegate ---------------------------------------------------
-
-class MockAlertInfoBarDelegate : public AlertInfoBarDelegate {
- public:
- MockAlertInfoBarDelegate();
- virtual ~MockAlertInfoBarDelegate();
-
- bool icon_accessed() const { return icon_accessed_; }
- bool message_text_accessed() const { return message_text_accessed_; }
- bool closed() const { return closed_; }
-
- static const char kMessage[];
-
- private:
- // AlertInfoBarDelegate
- virtual void InfoBarClosed();
- virtual SkBitmap* GetIcon() const;
- virtual string16 GetMessageText() const;
-
- mutable bool icon_accessed_;
- mutable bool message_text_accessed_;
- bool closed_;
-
- DISALLOW_COPY_AND_ASSIGN(MockAlertInfoBarDelegate);
-};
-
-
// MockLinkInfoBarDelegate ----------------------------------------------------
class MockLinkInfoBarDelegate : public LinkInfoBarDelegate {
@@ -99,7 +72,6 @@
virtual void InfoBarClosed();
virtual SkBitmap* GetIcon() const;
virtual string16 GetMessageText() const;
- virtual int GetButtons() const;
virtual string16 GetButtonLabel(InfoBarButton button) const;
virtual bool Accept();
virtual bool Cancel();

Powered by Google App Engine
This is Rietveld 408576698