| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" | |
| 14 #include "components/autofill/core/browser/autofill_client.h" | 13 #include "components/autofill/core/browser/autofill_client.h" |
| 15 #include "components/autofill/core/browser/form_structure.h" | 14 #include "components/autofill/core/browser/form_structure.h" |
| 15 #include "components/autofill/core/browser/ui/autofill_dialog_types.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 class PrefRegistrySimple; | 18 class PrefRegistrySimple; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 class WebContents; | 21 class WebContents; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace user_prefs { | 24 namespace user_prefs { |
| 25 class PrefRegistrySyncable; | 25 class PrefRegistrySyncable; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 52 virtual void Hide() = 0; | 52 virtual void Hide() = 0; |
| 53 | 53 |
| 54 // Called when the tab hosting this dialog is activated by a user gesture. | 54 // Called when the tab hosting this dialog is activated by a user gesture. |
| 55 // Used to trigger a refresh of the user's Wallet data. | 55 // Used to trigger a refresh of the user's Wallet data. |
| 56 virtual void TabActivated() = 0; | 56 virtual void TabActivated() = 0; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace autofill | 59 } // namespace autofill |
| 60 | 60 |
| 61 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ | 61 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
| OLD | NEW |