1 // Copyright (c) 2012 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.
5 #include "base/logging.h"
6 #include "chrome/browser/platform_util.h"
7 #include "ui/base/android/view_android.h"
9 namespace platform_util {
11 // TODO: crbug/115682 to track implementation of the following methods.
13 void ShowItemInFolder(const base::FilePath& full_path) {
17 void OpenItem(const base::FilePath& full_path) {
21 void OpenExternal(const GURL& url) {
25 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
27 return view->GetWindowAndroid();
30 gfx::NativeView GetParent(gfx::NativeView view) {
35 bool IsWindowActive(gfx::NativeWindow window) {
40 void ActivateWindow(gfx::NativeWindow window) {
44 bool IsVisible(gfx::NativeView view) {
49 } // namespace platform_util