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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller.h

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_common.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698