Index: chrome/browser/android/chrome_web_contents_delegate_android.cc |
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.cc b/chrome/browser/android/chrome_web_contents_delegate_android.cc |
index 84d2685c1b1cd4fecc6e82b31a0a3d6f8e25b30e..08c5cc97d7addda550c2191ad7285db76603c659 100644 |
--- a/chrome/browser/android/chrome_web_contents_delegate_android.cc |
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/ui/find_bar/find_notification_details.h" |
#include "chrome/browser/ui/find_bar/find_tab_helper.h" |
#include "chrome/browser/ui/tab_contents/tab_contents.h" |
+#include "chrome/browser/ui/app_modal_dialogs/javascript_dialog_creator.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_service.h" |
@@ -229,5 +230,10 @@ void ChromeWebContentsDelegateAndroid::FindMatchRectsReply( |
details_object.obj()); |
} |
+content::JavaScriptDialogCreator* |
+ChromeWebContentsDelegateAndroid::GetJavaScriptDialogCreator() { |
+ return GetJavaScriptDialogCreatorInstance(); |
+} |
+ |
} // namespace android |
} // namespace chrome |