Index: content/public/browser/web_contents_delegate.cc |
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc |
index 118540217d2f70dc9060c2818dafe3661fb1794f..f1c12028ededdadcc41c033451b51b79dcfdcc41 100644 |
--- a/content/public/browser/web_contents_delegate.cc |
+++ b/content/public/browser/web_contents_delegate.cc |
@@ -7,6 +7,8 @@ |
#include "base/compiler_specific.h" |
#include "base/logging.h" |
#include "base/memory/singleton.h" |
+#include "content/public/browser/navigation_controller.h" |
+#include "content/public/browser/navigation_entry.h" |
Charlie Reis
2012/05/17 22:18:57
You don't need these.
mkosiba (inactive)
2012/05/18 12:33:01
Done.
|
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_intents_dispatcher.h" |
@@ -24,6 +26,14 @@ WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source, |
return NULL; |
} |
+bool WebContentsDelegate::ShouldIgnoreNavigation( |
+ WebContents* source, |
+ const GURL& url, |
+ const content::Referrer& referrer, |
+ bool is_content_initiated) { |
+ return false; |
+} |
+ |
bool WebContentsDelegate::IsPopupOrPanel(const WebContents* source) const { |
return false; |
} |