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

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

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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: components/autofill/browser/test_autofill_external_delegate.cc
diff --git a/components/autofill/browser/test_autofill_external_delegate.cc b/components/autofill/browser/test_autofill_external_delegate.cc
deleted file mode 100644
index e9643d889b1ba113019c9812b7488b9137893f35..0000000000000000000000000000000000000000
--- a/components/autofill/browser/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 "components/autofill/browser/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<base::string16> autofill_item;
- autofill_item.push_back(base::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

Powered by Google App Engine
This is Rietveld 408576698