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

Side by Side Diff: chrome/browser/autofill/test_autofill_external_delegate.h

Issue 12217024: Use WeakPtr to simplify AutofillPopupControllerImpl memory management (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix test Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
6 #define CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_ 6 #define CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
7 7
8 #include "chrome/browser/autofill/autofill_external_delegate.h" 8 #include "chrome/browser/autofill/autofill_external_delegate.h"
9 9
10 class AutofillManager; 10 class AutofillManager;
(...skipping 17 matching lines...) Expand all
28 virtual void ApplyAutofillSuggestions( 28 virtual void ApplyAutofillSuggestions(
29 const std::vector<string16>& autofill_values, 29 const std::vector<string16>& autofill_values,
30 const std::vector<string16>& autofill_labels, 30 const std::vector<string16>& autofill_labels,
31 const std::vector<string16>& autofill_icons, 31 const std::vector<string16>& autofill_icons,
32 const std::vector<int>& autofill_unique_ids) OVERRIDE; 32 const std::vector<int>& autofill_unique_ids) OVERRIDE;
33 33
34 virtual void HideAutofillPopup() OVERRIDE; 34 virtual void HideAutofillPopup() OVERRIDE;
35 35
36 virtual void EnsurePopupForElement(const gfx::Rect& element_bounds) OVERRIDE; 36 virtual void EnsurePopupForElement(const gfx::Rect& element_bounds) OVERRIDE;
37 37
38 virtual void ControllerDestroyed() OVERRIDE;
39
40 private: 38 private:
41 DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate); 39 DISALLOW_COPY_AND_ASSIGN(TestAutofillExternalDelegate);
42 }; 40 };
43 41
44 } // namespace autofill 42 } // namespace autofill
45 43
46 #endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_ 44 #endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_EXTERNAL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698