diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 20:35:08 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 20:35:08 +0000 |
commit | ba6680fcdf06ea6bbb14e78f6b32d79e6d57c03e (patch) | |
tree | 64a6413c070f83fd9c47046092c810f4155f51cb /chrome/browser/platform_util_win.cc | |
parent | 9852f63e347fb158463f4437b7ee9422384f02e6 (diff) | |
download | chromium_src-ba6680fcdf06ea6bbb14e78f6b32d79e6d57c03e.zip chromium_src-ba6680fcdf06ea6bbb14e78f6b32d79e6d57c03e.tar.gz chromium_src-ba6680fcdf06ea6bbb14e78f6b32d79e6d57c03e.tar.bz2 |
Instant - move AutocompleteLosingFocus implementation to InstantController.
This way Linux and Windows can share.
BUG=58937
TEST=manual
Review URL: http://codereview.chromium.org/4157004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64657 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util_win.cc')
-rw-r--r-- | chrome/browser/platform_util_win.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc index c20c925..f27e936 100644 --- a/chrome/browser/platform_util_win.cc +++ b/chrome/browser/platform_util_win.cc @@ -137,7 +137,11 @@ void OpenExternal(const GURL& url) { } gfx::NativeWindow GetTopLevel(gfx::NativeView view) { - return GetAncestor(view, GA_ROOT); + return ::GetAncestor(view, GA_ROOT); +} + +gfx::NativeView GetParent(gfx::NativeView view) { + return ::GetParent(view); } bool IsWindowActive(gfx::NativeWindow window) { |