OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/platform_util.h" |
| 6 |
| 7 #include "aura/window.h" |
| 8 #include "base/logging.h" |
| 9 |
| 10 namespace platform_util { |
| 11 |
| 12 void ShowItemInFolder(const FilePath& full_path) { |
| 13 // TODO(beng): |
| 14 NOTIMPLEMENTED(); |
| 15 } |
| 16 |
| 17 void OpenItem(const FilePath& full_path) { |
| 18 // TODO(beng): |
| 19 NOTIMPLEMENTED(); |
| 20 } |
| 21 |
| 22 void OpenExternal(const GURL& url) { |
| 23 // TODO(beng): |
| 24 NOTIMPLEMENTED(); |
| 25 } |
| 26 |
| 27 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { |
| 28 // TODO(beng): |
| 29 NOTIMPLEMENTED(); |
| 30 return NULL; |
| 31 } |
| 32 |
| 33 gfx::NativeView GetParent(gfx::NativeView view) { |
| 34 return view->parent(); |
| 35 } |
| 36 |
| 37 bool IsWindowActive(gfx::NativeWindow window) { |
| 38 // TODO(beng): |
| 39 NOTIMPLEMENTED(); |
| 40 return false; |
| 41 } |
| 42 |
| 43 void ActivateWindow(gfx::NativeWindow window) { |
| 44 // TODO(beng): |
| 45 NOTIMPLEMENTED(); |
| 46 } |
| 47 |
| 48 bool IsVisible(gfx::NativeView view) { |
| 49 return view->visibility() != aura::Window::VISIBILITY_HIDDEN; |
| 50 } |
| 51 |
| 52 } // namespace platform_util |
OLD | NEW |