diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 17:36:32 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 17:36:32 +0000 |
commit | bbc81ba76805f35e7b9ce4fe5bb9355c5011d5ee (patch) | |
tree | c2ef31488922612ca8a4cbe70d31e5e29107bdc0 /content/browser/content_browser_client.h | |
parent | cbebd4b483315de678d5a24db6feee4bb1477e6a (diff) | |
download | chromium_src-bbc81ba76805f35e7b9ce4fe5bb9355c5011d5ee.zip chromium_src-bbc81ba76805f35e7b9ce4fe5bb9355c5011d5ee.tar.gz chromium_src-bbc81ba76805f35e7b9ce4fe5bb9355c5011d5ee.tar.bz2 |
Move simple download calls to chrome code to use ContentBrowserClient interface.
BUG=82782
Review URL: http://codereview.chromium.org/7670086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/content_browser_client.h')
-rw-r--r-- | content/browser/content_browser_client.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h index 2c5947c..9eee934 100644 --- a/content/browser/content_browser_client.h +++ b/content/browser/content_browser_client.h @@ -158,8 +158,11 @@ class ContentBrowserClient { // Create and return a new quota permission context. virtual QuotaPermissionContext* CreateQuotaPermissionContext() = 0; - // Shows the given path using the OS file manager. - virtual void RevealFolderInOS(const FilePath& path) = 0; + // Open the given file in the desktop's default manner. + virtual void OpenItem(const FilePath& path) = 0; + + // Show the given file in a file manager. If possible, select the file. + virtual void ShowItemInFolder(const FilePath& path) = 0; // Informs the embedder that a certificate error has occured. If overridable // is true, the user can ignore the error and continue. If it's false, then |