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

Side by Side Diff: components/autofill/browser/test_autofill_manager_delegate.h

Issue 15769018: [Autofill] Determine Popup RTLness from page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compile Created 7 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h"
9 #include "components/autofill/browser/autofill_manager_delegate.h" 10 #include "components/autofill/browser/autofill_manager_delegate.h"
10 11
11 namespace autofill { 12 namespace autofill {
12 13
13 // This class is only for easier writing of testings. All pure virtual functions 14 // This class is only for easier writing of testings. All pure virtual functions
14 // have been giving empty methods. 15 // have been giving empty methods.
15 class TestAutofillManagerDelegate : public AutofillManagerDelegate { 16 class TestAutofillManagerDelegate : public AutofillManagerDelegate {
16 public: 17 public:
17 TestAutofillManagerDelegate(); 18 TestAutofillManagerDelegate();
18 virtual ~TestAutofillManagerDelegate(); 19 virtual ~TestAutofillManagerDelegate();
(...skipping 17 matching lines...) Expand all
36 const base::Callback<void(bool)>& callback) OVERRIDE; 37 const base::Callback<void(bool)>& callback) OVERRIDE;
37 virtual void HideAutocheckoutBubble() OVERRIDE; 38 virtual void HideAutocheckoutBubble() OVERRIDE;
38 virtual void ShowRequestAutocompleteDialog( 39 virtual void ShowRequestAutocompleteDialog(
39 const FormData& form, 40 const FormData& form,
40 const GURL& source_url, 41 const GURL& source_url,
41 DialogType dialog_type, 42 DialogType dialog_type,
42 const base::Callback<void(const FormStructure*, 43 const base::Callback<void(const FormStructure*,
43 const std::string&)>& callback) OVERRIDE; 44 const std::string&)>& callback) OVERRIDE;
44 virtual void ShowAutofillPopup( 45 virtual void ShowAutofillPopup(
45 const gfx::RectF& element_bounds, 46 const gfx::RectF& element_bounds,
47 base::i18n::TextDirection text_direction,
46 const std::vector<base::string16>& values, 48 const std::vector<base::string16>& values,
47 const std::vector<base::string16>& labels, 49 const std::vector<base::string16>& labels,
48 const std::vector<base::string16>& icons, 50 const std::vector<base::string16>& icons,
49 const std::vector<int>& identifiers, 51 const std::vector<int>& identifiers,
50 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; 52 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE;
51 virtual void HideAutofillPopup() OVERRIDE; 53 virtual void HideAutofillPopup() OVERRIDE;
52 virtual void UpdateProgressBar(double value) OVERRIDE; 54 virtual void UpdateProgressBar(double value) OVERRIDE;
53 55
54 private: 56 private:
55 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate); 57 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate);
56 }; 58 };
57 59
58 } // namespace autofill 60 } // namespace autofill
59 61
60 #endif // COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ 62 #endif // COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/autofill_manager_delegate.h ('k') | components/autofill/browser/test_autofill_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698