| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/platform_util.h" | 5 #include "chrome/browser/platform_util.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 | 9 |
| 10 namespace platform_util { | 10 namespace platform_util { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 NOTIMPLEMENTED(); | 39 NOTIMPLEMENTED(); |
| 40 return false; | 40 return false; |
| 41 } | 41 } |
| 42 | 42 |
| 43 void ActivateWindow(gfx::NativeWindow window) { | 43 void ActivateWindow(gfx::NativeWindow window) { |
| 44 // TODO(beng): | 44 // TODO(beng): |
| 45 NOTIMPLEMENTED(); | 45 NOTIMPLEMENTED(); |
| 46 } | 46 } |
| 47 | 47 |
| 48 bool IsVisible(gfx::NativeView view) { | 48 bool IsVisible(gfx::NativeView view) { |
| 49 return view->visibility() != aura::Window::VISIBILITY_HIDDEN; | 49 return view->visible(); |
| 50 } | 50 } |
| 51 | 51 |
| 52 } // namespace platform_util | 52 } // namespace platform_util |
| OLD | NEW |