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