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

Unified Diff: chrome/browser/autofill/autofill_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/autofill/autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index aac5a7a6942f3545b8536220725b82a1be48870e..b1f1b42196e4a76298e318c286bc4bafd727e077 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -38,6 +38,7 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
+#include "ui/gfx/rect.h"
#include "webkit/glue/form_data.h"
#include "webkit/glue/form_field.h"
@@ -2873,6 +2874,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);
};

Powered by Google App Engine
This is Rietveld 408576698