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

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

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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 7
8 #include "chrome/browser/autofill/autofill_external_delegate.h" 8 #include "chrome/browser/autofill/autofill_external_delegate.h"
9 9
10 class AutofillManager; 10 class AutofillManager;
11 class TabContents; 11 class TabContents;
12 12
13 // This test class is meant to give tests a base AutofillExternalDelegate 13 // This test class is meant to give tests a base AutofillExternalDelegate
14 // class that requires no additional work to compile with (i.e. all the 14 // class that requires no additional work to compile with (i.e. all the
15 // pure virtual functions have been giving empty methods). 15 // pure virtual functions have been giving empty methods).
16 class TestAutofillExternalDelegate : public AutofillExternalDelegate { 16 class TestAutofillExternalDelegate : public AutofillExternalDelegate {
17 public: 17 public:
18 TestAutofillExternalDelegate(TabContents* tab_contents, 18 TestAutofillExternalDelegate(TabContents* tab_contents,
19 AutofillManager* autofill_manager); 19 AutofillManager* autofill_manager);
20 virtual ~TestAutofillExternalDelegate(); 20 virtual ~TestAutofillExternalDelegate();
21 21
22 virtual void ApplyAutofillSuggestions( 22 virtual void ApplyAutofillSuggestions(
23 const std::vector<string16>& autofill_values, 23 const std::vector<string16>& autofill_values,
24 const std::vector<string16>& autofill_labels, 24 const std::vector<string16>& autofill_labels,
25 const std::vector<string16>& autofill_icons, 25 const std::vector<string16>& autofill_icons,
26 const std::vector<int>& autofill_unique_ids) OVERRIDE; 26 const std::vector<int>& autofill_unique_ids) OVERRIDE;
27 27
28 virtual void OnQueryPlatformSpecific(int query_id, 28 virtual void OnQueryPlatformSpecific(int query_id,
29 const webkit::forms::FormData& form, 29 const FormData& form,
30 const webkit::forms::FormField& field, 30 const FormFieldData& field,
31 const gfx::Rect& bounds) OVERRIDE; 31 const gfx::Rect& bounds) OVERRIDE;
32 32
33 33
34 virtual void HideAutofillPopupInternal() OVERRIDE; 34 virtual void HideAutofillPopupInternal() OVERRIDE;
35 35
36 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 36 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
37 37
38 private: 38 private:
39 DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate); 39 DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate);
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_ 42 #endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/select_control_handler_unittest.cc ('k') | chrome/browser/autofill/test_autofill_external_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698