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

Unified Diff: chrome/browser/autofill/autofill_popup_delegate.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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
« no previous file with comments | « chrome/browser/autofill/autofill_metrics_unittest.cc ('k') | chrome/browser/autofill/autofill_profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_popup_delegate.h
diff --git a/chrome/browser/autofill/autofill_popup_delegate.h b/chrome/browser/autofill/autofill_popup_delegate.h
deleted file mode 100644
index b246ccefb605e89f0c09c433cb58ae03b3ca70f7..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/autofill_popup_delegate.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 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_AUTOFILL_AUTOFILL_POPUP_DELEGATE_H_
-#define CHROME_BROWSER_AUTOFILL_AUTOFILL_POPUP_DELEGATE_H_
-
-#include "base/string16.h"
-
-namespace content {
-class KeyboardListener;
-}
-
-// An interface for interaction with AutofillPopupController. Will be notified
-// of events by the controller.
-class AutofillPopupDelegate {
- public:
- // Called when the Autofill popup is shown. |listener| may be used to pass
- // keyboard events to the popup.
- virtual void OnPopupShown(content::KeyboardListener* listener) = 0;
-
- // Called when the Autofill popup is hidden. |listener| must be unregistered
- // if it was registered in OnPopupShown.
- virtual void OnPopupHidden(content::KeyboardListener* listener) = 0;
-
- // Called when the autofill suggestion indicated by |identifier| has been
- // temporarily selected (e.g., hovered).
- virtual void DidSelectSuggestion(int identifier) = 0;
-
- // Inform the delegate that a row in the popup has been chosen.
- virtual void DidAcceptSuggestion(const string16& value, int identifier) = 0;
-
- // Delete the described suggestion.
- virtual void RemoveSuggestion(const string16& value, int identifier) = 0;
-
- // Informs the delegate that the Autofill previewed form should be cleared.
- virtual void ClearPreviewedForm() = 0;
-};
-
-#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_POPUP_DELEGATE_H_
« no previous file with comments | « chrome/browser/autofill/autofill_metrics_unittest.cc ('k') | chrome/browser/autofill/autofill_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698