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

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

Issue 9235072: Adding Mouse Support for new GTK Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing problem with autofillAgent browser tests Created 8 years, 10 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 (c) 2012 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_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
6 #define CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
7 #pragma once
8
9 #include "chrome/browser/autofill/autofill_external_delegate.h"
10
11 class AutofillManager;
12 class TabContentsWrapper;
13
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
16 // pure virtual functions have been giving empty methods).
17 class TestAutofillExternalDelegate : public AutofillExternalDelegate {
18 public:
19 TestAutofillExternalDelegate(TabContentsWrapper* wrapper,
20 AutofillManager* autofill_manager);
21 virtual ~TestAutofillExternalDelegate();
22
23 virtual void ApplyAutofillSuggestions(
24 const std::vector<string16>& autofill_values,
25 const std::vector<string16>& autofill_labels,
26 const std::vector<string16>& autofill_icons,
27 const std::vector<int>& autofill_unique_ids,
28 int separator_index) OVERRIDE;
29
30 virtual void OnQueryPlatformSpecific(int query_id,
31 const webkit::forms::FormData& form,
32 const webkit::forms::FormField& field,
33 const gfx::Rect& bounds) OVERRIDE;
34
35
36 virtual void HideAutofillPopupInternal() OVERRIDE;
37
38 private:
39 DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate);
40 };
41
42 #endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_popup_view_browsertest.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