Chromium Code Reviews| Index: chrome/browser/ui/autofill/testable_autofill_dialog_view.h |
| diff --git a/chrome/browser/ui/autofill/testable_autofill_dialog_view.h b/chrome/browser/ui/autofill/testable_autofill_dialog_view.h |
| deleted file mode 100644 |
| index 13a23db31fc387eb0b510ac9ddb28e0b89c37c23..0000000000000000000000000000000000000000 |
| --- a/chrome/browser/ui/autofill/testable_autofill_dialog_view.h |
| +++ /dev/null |
| @@ -1,48 +0,0 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
|
Dan Beam
2014/01/24 23:37:40
deleting this interface will break mac
Evan Stade
2014/01/27 21:08:35
https://chromiumcodereview.appspot.com/135933003/#
|
| -// Use of this source code is governed by a BSD-style license that can be |
| -// found in the LICENSE file. |
| - |
| -#ifndef CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ |
| -#define CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ |
| - |
| -namespace autofill { |
| - |
| -// Functions that an AutofillDialogView implementation should implement in order |
| -// to assist in unit testing. |
| -class TestableAutofillDialogView { |
| - public: |
| - virtual ~TestableAutofillDialogView() {} |
| - |
| - // Simulates the user pressing 'Submit' to accept the dialog. |
| - virtual void SubmitForTesting() = 0; |
| - |
| - // Simulates the user pressing 'Cancel' to abort the dialog. |
| - virtual void CancelForTesting() = 0; |
| - |
| - // Returns the actual contents of the input of |type|. |
| - virtual base::string16 GetTextContentsOfInput(ServerFieldType type) = 0; |
| - |
| - // Sets the actual contents of the input of |type|. |
| - virtual void SetTextContentsOfInput(ServerFieldType type, |
| - const base::string16& contents) = 0; |
| - |
| - // Sets the content of the extra field for a section. |
| - virtual void SetTextContentsOfSuggestionInput(DialogSection section, |
| - const base::string16& text) = 0; |
| - |
| - // Simulates a user activation of the input of |type|. |
| - virtual void ActivateInput(ServerFieldType type) = 0; |
| - |
| - // Get the size of the entire view. |
| - virtual gfx::Size GetSize() const = 0; |
| - |
| - // Get the web contents used to sign in to Google. |
| - virtual content::WebContents* GetSignInWebContents() = 0; |
| - |
| - // Whether the overlay is visible. |
| - virtual bool IsShowingOverlay() const = 0; |
| -}; |
| - |
| -} // namespace autofill |
| - |
| -#endif // CHROME_BROWSER_UI_AUTOFILL_TESTABLE_AUTOFILL_DIALOG_VIEW_H_ |