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

Side by Side Diff: chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_VIEWS_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/autofill/autofill_dialog_view_tester.h"
10 #include "components/autofill/core/browser/dialog_section.h"
11
12 namespace autofill {
13
14 class AutofillDialogViews;
15
16 class AutofillDialogViewTesterViews : public AutofillDialogViewTester {
17 public:
18 explicit AutofillDialogViewTesterViews(AutofillDialogViews* view);
19 ~AutofillDialogViewTesterViews() override;
20
21 // TestableAutofillDialogView implementation:
22 void SubmitForTesting() override;
23 void CancelForTesting() override;
24 base::string16 GetTextContentsOfInput(ServerFieldType type) override;
25 void SetTextContentsOfInput(ServerFieldType type,
26 const base::string16& contents) override;
27 void SetTextContentsOfSuggestionInput(DialogSection section,
28 const base::string16& text) override;
29 void ActivateInput(ServerFieldType type) override;
30 gfx::Size GetSize() const override;
31 bool IsShowingSection(DialogSection section) const override;
32
33 private:
34 AutofillDialogViews* view_;
35
36 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViewTesterViews);
37 };
38
39 } // namespace autofill
40
41 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698