diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-27 14:34:12 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-27 14:34:12 +0000 |
commit | 0082d7e0d4531edc2a923ec9ca990c74397cdae2 (patch) | |
tree | a669316a8a234b44f39ebf085d5b5785d7357ce9 /chrome/common/platform_util_win.cc | |
parent | 1b7e93b7e3ac1f74f61a83d6c6eb1575d427b578 (diff) | |
download | chromium_src-0082d7e0d4531edc2a923ec9ca990c74397cdae2.zip chromium_src-0082d7e0d4531edc2a923ec9ca990c74397cdae2.tar.gz chromium_src-0082d7e0d4531edc2a923ec9ca990c74397cdae2.tar.bz2 |
Continue removing bad dependency of chrome/common on chrome/browser
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/661178
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util_win.cc')
-rw-r--r-- | chrome/common/platform_util_win.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/common/platform_util_win.cc b/chrome/common/platform_util_win.cc index bcf3a58..5553c81 100644 --- a/chrome/common/platform_util_win.cc +++ b/chrome/common/platform_util_win.cc @@ -136,13 +136,6 @@ gfx::NativeWindow GetTopLevel(gfx::NativeView view) { return GetAncestor(view, GA_ROOT); } -string16 GetWindowTitle(gfx::NativeWindow window_handle) { - std::wstring result; - int length = ::GetWindowTextLength(window_handle) + 1; - ::GetWindowText(window_handle, WriteInto(&result, length), length); - return WideToUTF16(result); -} - bool IsWindowActive(gfx::NativeWindow window) { return ::GetForegroundWindow() == window; } |