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

Unified Diff: chrome/browser/autocomplete_history_manager_unittest.cc

Issue 8490017: Setting up external delegate calls to allow a future delegate to handle autofill (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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/autocomplete_history_manager_unittest.cc
diff --git a/chrome/browser/autocomplete_history_manager_unittest.cc b/chrome/browser/autocomplete_history_manager_unittest.cc
index 6a1047e4c235e6d816d3258e17552d7569b04b58..c46af630cf58c39a00e81601383af82fff8bdefd 100644
--- a/chrome/browser/autocomplete_history_manager_unittest.cc
+++ b/chrome/browser/autocomplete_history_manager_unittest.cc
@@ -19,6 +19,7 @@
#include "content/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/gfx/rect.h"
#include "webkit/glue/form_data.h"
using content::BrowserThread;
@@ -154,6 +155,12 @@ class MockAutofillExternalDelegate : public AutofillExternalDelegate {
const std::vector<string16>& autofill_icons,
const std::vector<int>& autofill_unique_ids));
+ virtual void SetAutofillElementBounds(const gfx::Rect& bounds) {}
+
+ virtual void ShowAutofillPopup() {}
+
+ virtual void HideAutofillPopup() {}
Ilya Sherman 2011/11/07 21:48:49 nit: Please annotate these with OVERRIDE.
csharp1 2011/11/08 19:59:00 Done.
+
private:
DISALLOW_COPY_AND_ASSIGN(MockAutofillExternalDelegate);
};
@@ -186,4 +193,3 @@ TEST_F(AutocompleteHistoryManagerTest, ExternalDelegate) {
// Should trigger a call to OnSuggestionsReturned, verified by the mock.
autocomplete_history_manager.SendSuggestions(NULL);
}
-

Powered by Google App Engine
This is Rietveld 408576698