| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/utf_string_conversions.h" | 5 #include "base/utf_string_conversions.h" |
| 6 #include "chrome/browser/autofill/autofill_external_delegate.h" | 6 #include "chrome/browser/autofill/autofill_external_delegate.h" |
| 7 #include "chrome/browser/autofill/autofill_manager.h" | 7 #include "chrome/browser/autofill/autofill_manager.h" |
| 8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 9 #include "chrome/common/autofill_messages.h" | 9 #include "chrome/common/autofill_messages.h" |
| 10 #include "chrome/common/chrome_constants.h" | 10 #include "chrome/common/chrome_constants.h" |
| 11 #include "content/public/browser/render_view_host.h" | 11 #include "content/public/browser/render_view_host.h" |
| 12 #include "content/public/browser/web_contents.h" | 12 #include "content/public/browser/web_contents.h" |
| 13 #include "grit/chromium_strings.h" | 13 #include "grit/chromium_strings.h" |
| 14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
| 15 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
| 16 | 16 |
| 17 using content::RenderViewHost; |
| 18 |
| 17 AutofillExternalDelegate::~AutofillExternalDelegate() { | 19 AutofillExternalDelegate::~AutofillExternalDelegate() { |
| 18 } | 20 } |
| 19 | 21 |
| 20 AutofillExternalDelegate::AutofillExternalDelegate( | 22 AutofillExternalDelegate::AutofillExternalDelegate( |
| 21 TabContentsWrapper* tab_contents_wrapper, | 23 TabContentsWrapper* tab_contents_wrapper, |
| 22 AutofillManager* autofill_manager) | 24 AutofillManager* autofill_manager) |
| 23 : tab_contents_wrapper_(tab_contents_wrapper), | 25 : tab_contents_wrapper_(tab_contents_wrapper), |
| 24 autofill_manager_(autofill_manager), | 26 autofill_manager_(autofill_manager), |
| 25 autofill_query_id_(0), | 27 autofill_query_id_(0), |
| 26 display_warning_if_disabled_(false), | 28 display_warning_if_disabled_(false), |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 // none, so all platforms use the default. | 214 // none, so all platforms use the default. |
| 213 | 215 |
| 214 #if !defined(OS_ANDROID) && !defined(TOOLKIT_GTK) | 216 #if !defined(OS_ANDROID) && !defined(TOOLKIT_GTK) |
| 215 | 217 |
| 216 AutofillExternalDelegate* AutofillExternalDelegate::Create( | 218 AutofillExternalDelegate* AutofillExternalDelegate::Create( |
| 217 TabContentsWrapper*, AutofillManager*) { | 219 TabContentsWrapper*, AutofillManager*) { |
| 218 return NULL; | 220 return NULL; |
| 219 } | 221 } |
| 220 | 222 |
| 221 #endif | 223 #endif |
| OLD | NEW |