diff options
Diffstat (limited to 'chrome/common/platform_util.h')
-rw-r--r-- | chrome/common/platform_util.h | 5 |
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_ |