diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-14 23:15:47 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-14 23:15:47 +0000 |
commit | 3753f52d42975eaefcafca9fc0257ec24e161a9c (patch) | |
tree | c9622baf613dd1b47c304d30e1ded74fa84fce54 /chrome/common/platform_util.h | |
parent | 9e23bb1bba29dad5305e8f8a08341aefe7275502 (diff) | |
download | chromium_src-3753f52d42975eaefcafca9fc0257ec24e161a9c.zip chromium_src-3753f52d42975eaefcafca9fc0257ec24e161a9c.tar.gz chromium_src-3753f52d42975eaefcafca9fc0257ec24e161a9c.tar.bz2 |
Implement chrome_proces_util for linux and enable download ui test.
To get the PID from the socket, we use lsof (fuser doesn't work with unix sockets apparently).
The download shelf, save page, and browser ui tests now pass.
Review URL: http://codereview.chromium.org/66071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util.h')
-rw-r--r-- | chrome/common/platform_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/platform_util.h b/chrome/common/platform_util.h index 3886f17..3e0edda 100644 --- a/chrome/common/platform_util.h +++ b/chrome/common/platform_util.h @@ -6,6 +6,7 @@ #define CHROME_COMMON_PLATFORM_UTIL_H_ #include "base/gfx/native_widget_types.h" +#include "base/string16.h" class FilePath; @@ -17,6 +18,9 @@ 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); +// Get the title of the window. +string16 GetWindowTitle(gfx::NativeWindow window); + } #endif // CHROME_COMMON_PLATFORM_UTIL_H_ |