summaryrefslogtreecommitdiffstats
path: root/chrome/common/platform_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/platform_util.h')
-rw-r--r--chrome/common/platform_util.h3
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_