Index: android_webview/native/aw_web_contents_delegate.h |
diff --git a/android_webview/native/aw_web_contents_delegate.h b/android_webview/native/aw_web_contents_delegate.h |
index 2a2e902215e451abcd6262074ba486c3e73ddf4c..7886ad80dcfc34298038798c147d4206c3d72cb9 100644 |
--- a/android_webview/native/aw_web_contents_delegate.h |
+++ b/android_webview/native/aw_web_contents_delegate.h |
@@ -32,8 +32,16 @@ class AwWebContentsDelegate |
const std::string& request_method) OVERRIDE; |
virtual void OnStartDownload(content::WebContents* source, |
content::DownloadItem* download) OVERRIDE; |
+ virtual void AddNewContents(content::WebContents* source, |
+ content::WebContents* new_contents, |
+ WindowOpenDisposition disposition, |
+ const gfx::Rect& initial_pos, |
+ bool user_gesture, |
+ bool* was_blocked) OVERRIDE; |
}; |
+bool RegisterAwWebContentsDelegate(JNIEnv* env); |
+ |
} // namespace android_webview |
#endif // ANDROID_WEBVIEW_NATIVE_AW_WEB_CONTENTS_DELEGATE_H_ |