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

Unified Diff: chrome/browser/autofill/test_autofill_external_delegate.cc

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
Index: chrome/browser/autofill/test_autofill_external_delegate.cc
diff --git a/chrome/browser/autofill/test_autofill_external_delegate.cc b/chrome/browser/autofill/test_autofill_external_delegate.cc
deleted file mode 100644
index ef56594bdd8d4e4278110c05244bc081e2d51f33..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/test_autofill_external_delegate.cc
+++ /dev/null
@@ -1,29 +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.
-
-#include "chrome/browser/autofill/test_autofill_external_delegate.h"
-
-#include "ui/gfx/rect.h"
-
-namespace autofill {
-
-void GenerateTestAutofillPopup(
- AutofillExternalDelegate* autofill_external_delegate) {
- int query_id = 1;
- FormData form;
- FormFieldData field;
- field.is_focusable = true;
- field.should_autocomplete = true;
- gfx::RectF bounds(100.f, 100.f);
- autofill_external_delegate->OnQuery(query_id, form, field, bounds, false);
-
- std::vector<string16> autofill_item;
- autofill_item.push_back(string16());
- std::vector<int> autofill_id;
- autofill_id.push_back(0);
- autofill_external_delegate->OnSuggestionsReturned(
- query_id, autofill_item, autofill_item, autofill_item, autofill_id);
-}
-
-} // namespace autofill
« no previous file with comments | « chrome/browser/autofill/test_autofill_external_delegate.h ('k') | chrome/browser/autofill/test_autofill_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698