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/android/view_android.h"
9 namespace platform_util
{
11 // TODO: crbug/115682 to track implementation of the following methods.
13 void ShowItemInFolder(Profile
* profile
, const base::FilePath
& full_path
) {
17 void OpenItem(Profile
* profile
,
18 const base::FilePath
& full_path
,
19 OpenItemType item_type
,
20 const OpenOperationCallback
& callback
) {
24 void OpenExternal(Profile
* profile
, const GURL
& url
) {
28 gfx::NativeWindow
GetTopLevel(gfx::NativeView view
) {
30 return view
->GetWindowAndroid();
33 gfx::NativeView
GetParent(gfx::NativeView view
) {
38 bool IsWindowActive(gfx::NativeWindow window
) {
43 void ActivateWindow(gfx::NativeWindow window
) {
47 bool IsVisible(gfx::NativeView view
) {
52 } // namespace platform_util