summaryrefslogtreecommitdiffstats
path: root/chrome/browser/platform_util_win.cc
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 07:46:58 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 07:46:58 +0000
commitb9403ef2a9c148b4bbbce3f64881231f3999aa06 (patch)
treeb2fd2d909594e6210a5dd50a24f17665e80a08d3 /chrome/browser/platform_util_win.cc
parent9aef60e231fe17da81406af1ee431df2a077b971 (diff)
downloadchromium_src-b9403ef2a9c148b4bbbce3f64881231f3999aa06.zip
chromium_src-b9403ef2a9c148b4bbbce3f64881231f3999aa06.tar.gz
chromium_src-b9403ef2a9c148b4bbbce3f64881231f3999aa06.tar.bz2
aura: Fix file-opening functions in platform_util.
This removes NOTIMPLEMENTED()s for platform_util's ShowItemInFolder(), OpenItem(), and OpenExternal(). We now use the native Chrome OS, Windows, or Linux versions of these functions. BUG=99712 TEST=manual: checked that we use the file manager extension to open downloaded files on Chrome OS and that we use XDG on linux Review URL: http://codereview.chromium.org/8808003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util_win.cc')
-rw-r--r--chrome/browser/platform_util_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc
index 251cb9c..8f211e2 100644
--- a/chrome/browser/platform_util_win.cc
+++ b/chrome/browser/platform_util_win.cc
@@ -174,6 +174,7 @@ void OpenExternal(const GURL& url) {
}
}
+#if !defined(USE_AURA)
gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
return ::GetAncestor(view, GA_ROOT);
}
@@ -194,5 +195,6 @@ bool IsVisible(gfx::NativeView view) {
// MSVC complains if we don't include != 0.
return ::IsWindowVisible(view) != 0;
}
+#endif
} // namespace platform_util