Index: chrome/browser/ui/autofill/autofill_dialog_controller.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.h b/chrome/browser/ui/autofill/autofill_dialog_controller.h |
deleted file mode 100644 |
index 584b63a3f17f72bba0bc1f5efcd3b73eb7ac0d06..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h |
+++ /dev/null |
@@ -1,62 +0,0 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
-#define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |
- |
-#include <string> |
- |
-#include "base/callback.h" |
-#include "base/memory/weak_ptr.h" |
-#include "base/strings/string16.h" |
-#include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
-#include "components/autofill/core/browser/autofill_client.h" |
-#include "components/autofill/core/browser/form_structure.h" |
- |
-class GURL; |
-class PrefRegistrySimple; |
- |
-namespace content { |
-class WebContents; |
-} |
- |
-namespace user_prefs { |
-class PrefRegistrySyncable; |
-} |
- |
-namespace autofill { |
- |
-// This class defines the interface to the controller for ChromeAutofillClient. |
-class AutofillDialogController { |
- public: |
- virtual ~AutofillDialogController(); |
- |
- // Creates the AutofillDialogController. |
- static base::WeakPtr<AutofillDialogController> Create( |
- content::WebContents* contents, |
- const FormData& form_structure, |
- const GURL& source_url, |
- const AutofillClient::ResultCallback& callback); |
- |
- // Registers device preferences. |
- static void RegisterPrefs(PrefRegistrySimple* registry); |
- |
- // Registers profile preferences. |
- static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
- |
- // Shows the Autofill dialog. |
- virtual void Show() = 0; |
- |
- // Hides the Autofill dialog. |
- virtual void Hide() = 0; |
- |
- // Called when the tab hosting this dialog is activated by a user gesture. |
- // Used to trigger a refresh of the user's Wallet data. |
- // TODO(estade): remove. |
- virtual void TabActivated() = 0; |
-}; |
- |
-} // namespace autofill |
- |
-#endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ |