diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 18:01:18 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 18:01:18 +0000 |
commit | dbeb39586fd6d8e75ed6ad4e6c4606ee16e53348 (patch) | |
tree | 5bec0f3b7d6bd08d4283e6fcd2b68b2b01f2730d /webkit/glue/dom_operations.h | |
parent | abbc5739c1689384fbbdbd0ee6c9d2d9a8c2da0b (diff) | |
download | chromium_src-dbeb39586fd6d8e75ed6ad4e6c4606ee16e53348.zip chromium_src-dbeb39586fd6d8e75ed6ad4e6c4606ee16e53348.tar.gz chromium_src-dbeb39586fd6d8e75ed6ad4e6c4606ee16e53348.tar.bz2 |
This patch enables "Save page as" (ctrl+s) for resources located at
chrome-extension URLs. In the absence of any API for doing file I/O this adds
very useful functionality to chrome extensions. This patch is needed to allow
APU to save its instrumentation data to disk without the need for a plugin.
patch by: Jaime Yap (jaimeyap@google.com)
BUG=none
TEST=Bundle a page "foo.html" with an extension. Usings the tabs API or
window.open, open "foo.html" in the extensions process. Try to save it
using CTRL+S. (You can test with any of the existing samples that bundle
a page).
Review URL: http://codereview.chromium.org/266051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_operations.h')
-rw-r--r-- | webkit/glue/dom_operations.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/dom_operations.h b/webkit/glue/dom_operations.h index f202def..1694f4d 100644 --- a/webkit/glue/dom_operations.h +++ b/webkit/glue/dom_operations.h @@ -87,7 +87,8 @@ struct SavableResourcesResult { // will send those links to embedder. Return value indicates whether we get // all saved resource links successfully. bool GetAllSavableResourceLinksForCurrentPage(WebView* view, - const GURL& page_url, SavableResourcesResult* savable_resources_result); + const GURL& page_url, SavableResourcesResult* savable_resources_result, + const char** savable_schemes); // Structure used when installing a web page as an app. Populated via // GetApplicationInfo. |