summaryrefslogtreecommitdiffstats
path: root/chrome/common/platform_util.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-01 18:41:23 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-01 18:41:23 +0000
commit076700e676bfcbfe23d25d569a09cc7d4b8e127a (patch)
tree740c9d1438dfb77fafcd49675dd6252a89e431ad /chrome/common/platform_util.h
parent03382f8aa1fc1730d7c0ffca748393c3cdd0356d (diff)
downloadchromium_src-076700e676bfcbfe23d25d569a09cc7d4b8e127a.zip
chromium_src-076700e676bfcbfe23d25d569a09cc7d4b8e127a.tar.gz
chromium_src-076700e676bfcbfe23d25d569a09cc7d4b8e127a.tar.bz2
Re-enable save package on linux, mac.
Review URL: http://codereview.chromium.org/56153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util.h')
-rw-r--r--chrome/common/platform_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/platform_util.h b/chrome/common/platform_util.h
index 27ef5c4..3886f17 100644
--- a/chrome/common/platform_util.h
+++ b/chrome/common/platform_util.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_PLATFORM_UTIL_H_
#define CHROME_COMMON_PLATFORM_UTIL_H_
+#include "base/gfx/native_widget_types.h"
+
class FilePath;
namespace platform_util {
@@ -12,6 +14,9 @@ namespace platform_util {
// Show the given file in a file manager. If possible, select the file.
void ShowItemInFolder(const FilePath& full_path);
+// Get the top level window for the native view. This can return NULL.
+gfx::NativeWindow GetTopLevel(gfx::NativeView view);
+
}
#endif // CHROME_COMMON_PLATFORM_UTIL_H_