| Index: content/public/browser/web_contents_delegate.cc
|
| ===================================================================
|
| --- content/public/browser/web_contents_delegate.cc (revision 154307)
|
| +++ content/public/browser/web_contents_delegate.cc (working copy)
|
| @@ -25,6 +25,14 @@
|
| return NULL;
|
| }
|
|
|
| +bool WebContentsDelegate::AddNewContents(WebContents* source,
|
| + WebContents* new_contents,
|
| + WindowOpenDisposition disposition,
|
| + const gfx::Rect& initial_pos,
|
| + bool user_gesture) {
|
| + return true;
|
| +}
|
| +
|
| bool WebContentsDelegate::IsPopupOrPanel(const WebContents* source) const {
|
| return false;
|
| }
|
| @@ -135,6 +143,13 @@
|
| return true;
|
| }
|
|
|
| +bool WebContentsDelegate::WebContentsCreated(WebContents* source_contents,
|
| + int64 source_frame_id,
|
| + const GURL& target_url,
|
| + WebContents* new_contents) {
|
| + return true;
|
| +}
|
| +
|
| #if defined(OS_ANDROID)
|
| bool WebContentsDelegate::ShouldOverrideLoading(const GURL& url) {
|
| return false;
|
|
|