| Index: content/public/browser/render_view_host_delegate.h
|
| diff --git a/content/public/browser/render_view_host_delegate.h b/content/public/browser/render_view_host_delegate.h
|
| index bbb5ceac190de1442d579e7ed905e6fe64ee7553..c7cc88a62570ca2accfc1c786215cc788a17ed09 100644
|
| --- a/content/public/browser/render_view_host_delegate.h
|
| +++ b/content/public/browser/render_view_host_delegate.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/process_util.h"
|
| #include "base/string16.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/public/common/page_transition_types.h"
|
| #include "content/public/common/view_type.h"
|
| #include "ipc/ipc_channel.h"
|
| #include "net/base/load_states.h"
|
| @@ -297,6 +298,14 @@ class CONTENT_EXPORT RenderViewHostDelegate : public IPC::Channel::Listener {
|
| int64 source_frame_id,
|
| const content::GlobalRequestID& old_request_id) {}
|
|
|
| + // The page is asking the browser to decide if the navigation should be
|
| + // ignored (only happens if the appropriate renderer pref is set).
|
| + virtual bool ShouldIgnoreNavigation(const GURL& url,
|
| + const content::Referrer& referrer,
|
| + WindowOpenDisposition disposition,
|
| + int64 source_frame_id,
|
| + bool is_content_initiated);
|
| +
|
| // A javascript message, confirmation or prompt should be shown.
|
| virtual void RunJavaScriptMessage(RenderViewHost* rvh,
|
| const string16& message,
|
|
|