diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 21:21:15 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 21:21:15 +0000 |
commit | 0583fe3453689344ecbd53d26b53bbeaca5ed0b5 (patch) | |
tree | 3dade811a7ccc6a15b10b5185fe37b2250a89cd1 | |
parent | c57bc9bbfa548281f51fbbaf314031097832e23d (diff) | |
download | chromium_src-0583fe3453689344ecbd53d26b53bbeaca5ed0b5.zip chromium_src-0583fe3453689344ecbd53d26b53bbeaca5ed0b5.tar.gz chromium_src-0583fe3453689344ecbd53d26b53bbeaca5ed0b5.tar.bz2 |
[mac] Add stub implementation of platform_util::GetParent.
BUG=none
TEST=compile
TBR=joshia
Review URL: http://codereview.chromium.org/4233001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64665 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/platform_util_mac.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/platform_util_mac.mm b/chrome/browser/platform_util_mac.mm index d7da563..719183d 100644 --- a/chrome/browser/platform_util_mac.mm +++ b/chrome/browser/platform_util_mac.mm @@ -132,6 +132,10 @@ gfx::NativeWindow GetTopLevel(gfx::NativeView view) { return [view window]; } +gfx::NativeView GetParent(gfx::NativeView view) { + return nil; +} + bool IsWindowActive(gfx::NativeWindow window) { return [window isKeyWindow] || [window isMainWindow]; } |