summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webview.h')
-rw-r--r--webkit/glue/webview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/webview.h b/webkit/glue/webview.h
index 99ad41e..3ecafc0 100644
--- a/webkit/glue/webview.h
+++ b/webkit/glue/webview.h
@@ -102,6 +102,12 @@ class WebView : public WebWidget {
// ---- TODO(darin): remove from here ----
+ // TODO(mpcomplete): remove this before Chrome extensions ship.
+ // HACK. This is a temporary workaround to allow cross-origin XHR for
+ // Chrome extensions. It allows no fine-grained control over what origins
+ // are accessible, instead granting access to everything (include file URLs).
+ virtual void AllowCrossOriginAccessHack() = 0;
+
//
// - (IBAction)stopLoading:(id)sender;
virtual void StopLoading() = 0;