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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_view_tester.h

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/autofill/autofill_dialog_view_tester.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_view_tester.h b/chrome/browser/ui/autofill/autofill_dialog_view_tester.h
deleted file mode 100644
index 535caf2bd731eb6fa7892b9bba7072ff32499296..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/autofill/autofill_dialog_view_tester.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_AUTOFILL_DIALOG_VIEW_TESTER_H_
-#define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_
-
-#include <memory>
-
-#include "base/strings/string16.h"
-#include "chrome/browser/ui/autofill/autofill_dialog_types.h"
-#include "components/autofill/core/browser/dialog_section.h"
-#include "components/autofill/core/browser/field_types.h"
-#include "ui/gfx/geometry/size.h"
-
-namespace content {
-class WebContents;
-}
-
-namespace autofill {
-
-class AutofillDialogView;
-
-// Functionality that helps to test an AutofillDialogView.
-class AutofillDialogViewTester {
- public:
- // Gets a AutofillDialogViewTester for |view|.
- static std::unique_ptr<AutofillDialogViewTester> For(
- AutofillDialogView* view);
-
- virtual ~AutofillDialogViewTester() {}
-
- // 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;
-
- // Whether |section| is currently showing.
- virtual bool IsShowingSection(DialogSection section) const = 0;
-};
-
-} // namespace autofill
-
-#endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_view_delegate.h ('k') | chrome/browser/ui/autofill/chrome_autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698