| Index: chrome/browser/platform_util_aura.cc
|
| diff --git a/chrome/browser/platform_util_aura.cc b/chrome/browser/platform_util_aura.cc
|
| index 0bafa3aa3e1ff8b910e033c7d8b259acee337c65..c56591f0a2c97a406b972bead2b1d5717637f569 100644
|
| --- a/chrome/browser/platform_util_aura.cc
|
| +++ b/chrome/browser/platform_util_aura.cc
|
| @@ -4,10 +4,13 @@
|
|
|
| #include "chrome/browser/platform_util.h"
|
|
|
| -#include "ash/wm/window_util.h"
|
| #include "base/logging.h"
|
| #include "ui/aura/window.h"
|
|
|
| +#if defined(USE_ASH)
|
| +#include "ash/wm/window_util.h"
|
| +#endif
|
| +
|
| namespace platform_util {
|
|
|
| gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
|
| @@ -19,11 +22,20 @@ gfx::NativeView GetParent(gfx::NativeView view) {
|
| }
|
|
|
| bool IsWindowActive(gfx::NativeWindow window) {
|
| +#if defined(USE_ASH)
|
| return ash::wm::IsActiveWindow(window);
|
| +#else
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +#endif
|
| }
|
|
|
| void ActivateWindow(gfx::NativeWindow window) {
|
| +#if defined(USE_ASH)
|
| ash::wm::ActivateWindow(window);
|
| +#else
|
| + NOTIMPLEMENTED();
|
| +#endif
|
| }
|
|
|
| bool IsVisible(gfx::NativeView view) {
|
|
|