| 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_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" | 10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual void ActivateInput(ServerFieldType type) = 0; | 48 virtual void ActivateInput(ServerFieldType type) = 0; |
| 49 | 49 |
| 50 // Get the size of the entire view. | 50 // Get the size of the entire view. |
| 51 virtual gfx::Size GetSize() const = 0; | 51 virtual gfx::Size GetSize() const = 0; |
| 52 | 52 |
| 53 // Get the web contents used to sign in to Google. | 53 // Get the web contents used to sign in to Google. |
| 54 virtual content::WebContents* GetSignInWebContents() = 0; | 54 virtual content::WebContents* GetSignInWebContents() = 0; |
| 55 | 55 |
| 56 // Whether the overlay is visible. | 56 // Whether the overlay is visible. |
| 57 virtual bool IsShowingOverlay() const = 0; | 57 virtual bool IsShowingOverlay() const = 0; |
| 58 |
| 59 // Whether |section| is currently showing. |
| 60 virtual bool IsShowingSection(DialogSection section) const = 0; |
| 58 }; | 61 }; |
| 59 | 62 |
| 60 } // namespace autofill | 63 } // namespace autofill |
| 61 | 64 |
| 62 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ | 65 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ |
| OLD | NEW |