Chromium Code Reviews| Index: chrome/common/platform_util.h |
| =================================================================== |
| --- chrome/common/platform_util.h (revision 12923) |
| +++ chrome/common/platform_util.h (working copy) |
| @@ -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 @@ |
| // 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); |
|
brettw
2009/04/02 16:48:33
How about GetTopLevelNativeView?
|
| + |
| } |
|
brettw
2009/04/02 16:48:33
Can you add " // namspace platform_util" here?
|
| #endif // CHROME_COMMON_PLATFORM_UTIL_H_ |