#ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_
#define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_
#include "base/basictypes.h"
#include "chrome/browser/ui/autofill/autofill_dialog_view_tester.h"
@class AutofillDialogWindowController;
namespace autofill {
class AutofillDialogCocoa;
class AutofillDialogViewTesterCocoa: public AutofillDialogViewTester {
public:
explicit AutofillDialogViewTesterCocoa(AutofillDialogCocoa* dialog);
virtual ~AutofillDialogViewTesterCocoa();
virtual void SubmitForTesting() OVERRIDE;
virtual void CancelForTesting() OVERRIDE;
virtual base::string16 GetTextContentsOfInput(ServerFieldType type) OVERRIDE;
virtual void SetTextContentsOfInput(ServerFieldType type,
const base::string16& contents) OVERRIDE;
virtual void SetTextContentsOfSuggestionInput(
DialogSection section,
const base::string16& text) OVERRIDE;
virtual void ActivateInput(ServerFieldType type) OVERRIDE;
virtual gfx::Size GetSize() const OVERRIDE;
virtual content::WebContents* GetSignInWebContents() OVERRIDE;
virtual bool IsShowingOverlay() const OVERRIDE;
virtual bool IsShowingSection(DialogSection section) const OVERRIDE;
private:
AutofillDialogWindowController* controller() const;
AutofillDialogCocoa* dialog_;
DISALLOW_COPY_AND_ASSIGN(AutofillDialogViewTesterCocoa);
};
}
#endif