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

Side by Side Diff: chrome/browser/autofill/test_autofill_external_delegate.h

Issue 10073018: Add Delete Support to New Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
6 #define CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_ 6 #define CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/autofill/autofill_external_delegate.h" 9 #include "chrome/browser/autofill/autofill_external_delegate.h"
10 10
11 class AutofillManager; 11 class AutofillManager;
12 class TabContentsWrapper; 12 class TabContentsWrapper;
13 13
14 // This test class is meant to give tests a base AutofillExternalDelegate 14 // This test class is meant to give tests a base AutofillExternalDelegate
15 // class that requires no additional work to compile with (i.e. all the 15 // class that requires no additional work to compile with (i.e. all the
16 // pure virtual functions have been giving empty methods). 16 // pure virtual functions have been giving empty methods).
17 class TestAutofillExternalDelegate : public AutofillExternalDelegate { 17 class TestAutofillExternalDelegate : public AutofillExternalDelegate {
18 public: 18 public:
19 TestAutofillExternalDelegate(TabContentsWrapper* wrapper, 19 TestAutofillExternalDelegate(TabContentsWrapper* wrapper,
20 AutofillManager* autofill_manager); 20 AutofillManager* autofill_manager);
21 virtual ~TestAutofillExternalDelegate(); 21 virtual ~TestAutofillExternalDelegate();
22 22
23 virtual void ApplyAutofillSuggestions( 23 virtual void ApplyAutofillSuggestions(
24 const std::vector<string16>& autofill_values, 24 const std::vector<string16>& autofill_values,
25 const std::vector<string16>& autofill_labels, 25 const std::vector<string16>& autofill_labels,
26 const std::vector<string16>& autofill_icons, 26 const std::vector<string16>& autofill_icons,
27 const std::vector<int>& autofill_unique_ids, 27 const std::vector<int>& autofill_unique_ids) OVERRIDE;
28 int separator_index) OVERRIDE;
29 28
30 virtual void OnQueryPlatformSpecific(int query_id, 29 virtual void OnQueryPlatformSpecific(int query_id,
31 const webkit::forms::FormData& form, 30 const webkit::forms::FormData& form,
32 const webkit::forms::FormField& field, 31 const webkit::forms::FormField& field,
33 const gfx::Rect& bounds) OVERRIDE; 32 const gfx::Rect& bounds) OVERRIDE;
34 33
35 34
36 virtual void HideAutofillPopupInternal() OVERRIDE; 35 virtual void HideAutofillPopupInternal() OVERRIDE;
37 36
38 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 37 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
39 38
40 private: 39 private:
41 DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate); 40 DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate);
42 }; 41 };
43 42
44 #endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_ 43 #endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/personal_data_manager.h ('k') | chrome/browser/autofill/test_autofill_external_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698