summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 21:26:54 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 21:26:54 +0000
commita1dadc4e183780c0b4cbcbab8d745ef22960ac27 (patch)
tree983b8d512d1818d11c2fa63ea1a9f68308fd8ea3 /webkit/glue/webview.h
parent8750721039f3591412b0c9d80141b209b8ec549c (diff)
downloadchromium_src-a1dadc4e183780c0b4cbcbab8d745ef22960ac27.zip
chromium_src-a1dadc4e183780c0b4cbcbab8d745ef22960ac27.tar.gz
chromium_src-a1dadc4e183780c0b4cbcbab8d745ef22960ac27.tar.bz2
Miscellaneous API sprucing.
- Camel-case event names. - Rename chromium.self in content scripts to chromium.extension. - Move onConnect in extension process to chromium.self.onConnect. - Move definition of chromium.self to extension_process_bindings.js, so that it is near all the other extension process API. - Make toolstrips not wrap by default - Make toolstrips 21px high instead of 19, which was required to avoid an ugly white horizontal bar on my machine. This may be font dependent :(, which is another reason I need to finish making us paint the toolstrips background instead of using this CSS hack. Review URL: http://codereview.chromium.org/67162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13792 0039d316-1c4b-4281-b951-d872f2087c98
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;