diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 00:26:17 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 00:26:17 +0000 |
commit | d2cc6ed02579f9bdedf6d4f81916bc50aeede31b (patch) | |
tree | 5df409d7e48b00eb1fa8985c5e58bd5605de912b /chrome/common/platform_util.h | |
parent | e6df36c37320cb2e7febd049eab0adcc13313e70 (diff) | |
download | chromium_src-d2cc6ed02579f9bdedf6d4f81916bc50aeede31b.zip chromium_src-d2cc6ed02579f9bdedf6d4f81916bc50aeede31b.tar.gz chromium_src-d2cc6ed02579f9bdedf6d4f81916bc50aeede31b.tar.bz2 |
Port and enable most of TabRestoreUITest on linux.
- fill in necessary bits of automation proxy, also mock out some windows-only functions on posix so that the IPC messages don't get completely ignored (so we get NOTIMPLEMENTEDs rather than just hanging when porting future UI tests)
- add IsWindowActive to platform_util
Review URL: http://codereview.chromium.org/93096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util.h')
-rw-r--r-- | chrome/common/platform_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/platform_util.h b/chrome/common/platform_util.h index 3e0edda..bb10140 100644 --- a/chrome/common/platform_util.h +++ b/chrome/common/platform_util.h @@ -21,6 +21,9 @@ gfx::NativeWindow GetTopLevel(gfx::NativeView view); // Get the title of the window. string16 GetWindowTitle(gfx::NativeWindow window); +// Returns true if |window| is the foreground top level window. +bool IsWindowActive(gfx::NativeWindow window); + } #endif // CHROME_COMMON_PLATFORM_UTIL_H_ |