diff options
author | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-10 01:24:28 +0000 |
---|---|---|
committer | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-10 01:24:28 +0000 |
commit | 7e30f6468bd77634a4397e59e9a4e04bda6f7129 (patch) | |
tree | e0122b43c8791399a00bfcd715e77f71a4ae3c95 /android_webview | |
parent | ad8f45634589ccfb80f1f1d4cf0965c739014a71 (diff) | |
download | chromium_src-7e30f6468bd77634a4397e59e9a4e04bda6f7129.zip chromium_src-7e30f6468bd77634a4397e59e9a4e04bda6f7129.tar.gz chromium_src-7e30f6468bd77634a4397e59e9a4e04bda6f7129.tar.bz2 |
Include infobar stubs for unit_tests and testshell.
Also add a stub for webview.
BUG=137571
Review URL: https://chromiumcodereview.appspot.com/11087017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r-- | android_webview/lib/DEPS | 3 | ||||
-rw-r--r-- | android_webview/lib/main/webview_stubs.cc | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/android_webview/lib/DEPS b/android_webview/lib/DEPS index dd4efb7..31fdc7c 100644 --- a/android_webview/lib/DEPS +++ b/android_webview/lib/DEPS @@ -17,6 +17,9 @@ include_rules = [ # Temporary until TabAndroid is in a more suitable place. "!chrome/browser/android/tab_android.h", + # Temporary until chrome dependencies are removed. + "!chrome/browser/api/infobars/confirm_infobar_delegate.h", + # Temporary until autofill becomes a browser component. "!chrome/browser/autofill/autofill_external_delegate.h", diff --git a/android_webview/lib/main/webview_stubs.cc b/android_webview/lib/main/webview_stubs.cc index abdd156..4a8f894 100644 --- a/android_webview/lib/main/webview_stubs.cc +++ b/android_webview/lib/main/webview_stubs.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. #include "chrome/browser/android/tab_android.h" +#include "chrome/browser/api/infobars/confirm_infobar_delegate.h" #include "chrome/browser/autofill/autofill_external_delegate.h" // This file contains temporary stubs to allow the libwebview target to compile. @@ -25,3 +26,8 @@ AutofillExternalDelegate* AutofillExternalDelegate::Create( // Chrome). return NULL; } + +// static +InfoBar* ConfirmInfoBarDelegate::CreateInfoBar(InfoBarService* owner) { + return NULL; +} |