summaryrefslogtreecommitdiffstats
path: root/chrome/common/platform_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/platform_util.h')
-rw-r--r--chrome/common/platform_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/platform_util.h b/chrome/common/platform_util.h
index c4a46b7..54e7487 100644
--- a/chrome/common/platform_util.h
+++ b/chrome/common/platform_util.h
@@ -15,6 +15,9 @@ namespace platform_util {
// Show the given file in a file manager. If possible, select the file.
void ShowItemInFolder(const FilePath& full_path);
+// Open the given file in the desktop's default manner.
+void OpenItem(const FilePath& full_path);
+
// Get the top level window for the native view. This can return NULL.
gfx::NativeWindow GetTopLevel(gfx::NativeView view);