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 "chrome/browser/android/tab_android.h" | 5 #include "chrome/browser/android/tab_android.h" |
| 6 #include "chrome/browser/api/infobars/confirm_infobar_delegate.h" |
6 #include "chrome/browser/autofill/autofill_external_delegate.h" | 7 #include "chrome/browser/autofill/autofill_external_delegate.h" |
7 | 8 |
8 // This file contains temporary stubs to allow the libwebview target to compile. | 9 // This file contains temporary stubs to allow the libwebview target to compile. |
9 // They will be removed once real implementations are written/upstreamed, or | 10 // They will be removed once real implementations are written/upstreamed, or |
10 // once other code is refactored to eliminate the need for them. | 11 // once other code is refactored to eliminate the need for them. |
11 | 12 |
12 // static | 13 // static |
13 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { | 14 TabAndroid* TabAndroid::FromWebContents(content::WebContents* web_contents) { |
14 // We don't need to return a real TabAndroid object yet. | 15 // We don't need to return a real TabAndroid object yet. |
15 // Eventually, WebView will need its own TabAndroid implementation. | 16 // Eventually, WebView will need its own TabAndroid implementation. |
16 return NULL; | 17 return NULL; |
17 } | 18 } |
18 | 19 |
19 // static | 20 // static |
20 AutofillExternalDelegate* AutofillExternalDelegate::Create( | 21 AutofillExternalDelegate* AutofillExternalDelegate::Create( |
21 TabContents* tab_contents, | 22 TabContents* tab_contents, |
22 AutofillManager* manager) { | 23 AutofillManager* manager) { |
23 // We don't need to return a real AutofillExternalDelegate yet. | 24 // We don't need to return a real AutofillExternalDelegate yet. |
24 // Eventually, WebView will need an implementation (probably shared with | 25 // Eventually, WebView will need an implementation (probably shared with |
25 // Chrome). | 26 // Chrome). |
26 return NULL; | 27 return NULL; |
27 } | 28 } |
OLD | NEW |