| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "chrome/browser/ui/autofill/autofill_dialog_view_tester.h" | 9 #include "chrome/browser/ui/autofill/autofill_dialog_view_tester.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual base::string16 GetTextContentsOfInput(ServerFieldType type) OVERRIDE; | 25 virtual base::string16 GetTextContentsOfInput(ServerFieldType type) OVERRIDE; |
| 26 virtual void SetTextContentsOfInput(ServerFieldType type, | 26 virtual void SetTextContentsOfInput(ServerFieldType type, |
| 27 const base::string16& contents) OVERRIDE; | 27 const base::string16& contents) OVERRIDE; |
| 28 virtual void SetTextContentsOfSuggestionInput( | 28 virtual void SetTextContentsOfSuggestionInput( |
| 29 DialogSection section, | 29 DialogSection section, |
| 30 const base::string16& text) OVERRIDE; | 30 const base::string16& text) OVERRIDE; |
| 31 virtual void ActivateInput(ServerFieldType type) OVERRIDE; | 31 virtual void ActivateInput(ServerFieldType type) OVERRIDE; |
| 32 virtual gfx::Size GetSize() const OVERRIDE; | 32 virtual gfx::Size GetSize() const OVERRIDE; |
| 33 virtual content::WebContents* GetSignInWebContents() OVERRIDE; | 33 virtual content::WebContents* GetSignInWebContents() OVERRIDE; |
| 34 virtual bool IsShowingOverlay() const OVERRIDE; | 34 virtual bool IsShowingOverlay() const OVERRIDE; |
| 35 virtual bool IsShowingSection(DialogSection section) const OVERRIDE; |
| 35 | 36 |
| 36 private: | 37 private: |
| 37 AutofillDialogWindowController* controller() const; | 38 AutofillDialogWindowController* controller() const; |
| 38 | 39 |
| 39 AutofillDialogCocoa* dialog_; | 40 AutofillDialogCocoa* dialog_; |
| 40 | 41 |
| 41 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViewTesterCocoa); | 42 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViewTesterCocoa); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 | 45 |
| 45 } // autofill | 46 } // autofill |
| 46 | 47 |
| 47 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_ | 48 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_COCOA_H_ |
| 48 | 49 |
| OLD | NEW |