summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_external_delegate.cc
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 22:50:14 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 22:50:14 +0000
commit23b562f7ef7cf1a158bcd2c2d7a70bf3e75aa5fa (patch)
treee81a825d408a650f8ee99734f69d81e752f38e7a /chrome/browser/autofill/autofill_external_delegate.cc
parent2303c68e5343d8ec6b6ff5c965d0a6a6e1115eca (diff)
downloadchromium_src-23b562f7ef7cf1a158bcd2c2d7a70bf3e75aa5fa.zip
chromium_src-23b562f7ef7cf1a158bcd2c2d7a70bf3e75aa5fa.tar.gz
chromium_src-23b562f7ef7cf1a158bcd2c2d7a70bf3e75aa5fa.tar.bz2
Revert 116512 - SwitchTabAndHideAutofillPopup failing linux chromeos bot.
First pass for new GTK Autofill popup. This first pass just displays the new Autofill popup and then hides it at the correct times. The box is the correct size, but none of the text is drawn at the moment. This is only enabled when the --external-autofill-popup flag is enabled. BUG=51644 Review URL: http://codereview.chromium.org/8890035 TBR=csharp@chromium.org Review URL: http://codereview.chromium.org/9109031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_external_delegate.cc')
-rw-r--r--chrome/browser/autofill/autofill_external_delegate.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/browser/autofill/autofill_external_delegate.cc b/chrome/browser/autofill/autofill_external_delegate.cc
index 8c0bcdd..6d0a6f3 100644
--- a/chrome/browser/autofill/autofill_external_delegate.cc
+++ b/chrome/browser/autofill/autofill_external_delegate.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -17,10 +17,8 @@ AutofillExternalDelegate::~AutofillExternalDelegate() {
}
AutofillExternalDelegate::AutofillExternalDelegate(
- TabContentsWrapper* tab_contents_wrapper,
- AutofillManager* autofill_manager)
+ TabContentsWrapper* tab_contents_wrapper)
: tab_contents_wrapper_(tab_contents_wrapper),
- autofill_manager_(autofill_manager),
autofill_query_id_(0),
display_warning_if_disabled_(false),
has_shown_autofill_popup_for_current_edit_(false) {
@@ -43,7 +41,7 @@ void AutofillExternalDelegate::OnQuery(int query_id,
display_warning_if_disabled_ = display_warning_if_disabled;
autofill_query_id_ = query_id;
- OnQueryPlatformSpecific(query_id, form, field, bounds);
+ OnQueryPlatformSpecific(query_id, form, field);
}
void AutofillExternalDelegate::DidEndTextFieldEditing() {
@@ -136,7 +134,7 @@ void AutofillExternalDelegate::OnSuggestionsReturned(
// in an autofill_external_delegate_YOUROS.cc. Currently there are
// none, so all platforms use the default.
-#if !defined(OS_ANDROID) && !defined(TOOLKIT_GTK)
+#if !defined(OS_ANDROID)
AutofillExternalDelegate* AutofillExternalDelegate::Create(
TabContentsWrapper*, AutofillManager*) {