summaryrefslogtreecommitdiffstats
path: root/chrome_frame/utils.h
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-16 00:30:04 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-16 00:30:04 +0000
commita542e8259fe093c11a55c2656f1fdd3f76c1a1ee (patch)
tree27c37c019533c9125c52da4ab2f58d7ab01202c5 /chrome_frame/utils.h
parentb917bd60404fb8f76860e6db5db95396166f45d9 (diff)
downloadchromium_src-a542e8259fe093c11a55c2656f1fdd3f76c1a1ee.zip
chromium_src-a542e8259fe093c11a55c2656f1fdd3f76c1a1ee.tar.gz
chromium_src-a542e8259fe093c11a55c2656f1fdd3f76c1a1ee.tar.bz2
Updates for onhttpequiv. Preserving the referrer header, zapping the currently loading document to prevent small documents from executing code.
I'm not enabling httpequiv just yet as there are a couple of things I'm working on related to tests that will break once I make the switch. TEST=There should be no change since the code isn't still active but run all tests just to be safe. BUG=none Review URL: http://codereview.chromium.org/545096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.h')
-rw-r--r--chrome_frame/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h
index ab25cf2..8048beb 100644
--- a/chrome_frame/utils.h
+++ b/chrome_frame/utils.h
@@ -223,8 +223,9 @@ HRESULT GetUrlFromMoniker(IMoniker* moniker, IBindCtx* bind_context,
std::wstring* url);
// Navigates an IWebBrowser2 object to a moniker.
+// |headers| can be NULL.
HRESULT NavigateBrowserToMoniker(IUnknown* browser, IMoniker* moniker,
- IBindCtx* bind_ctx);
+ const wchar_t* headers, IBindCtx* bind_ctx);
// Raises a flag on the current thread (using TLS) to indicate that an
// in-progress navigation should be rendered in chrome frame.