| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "chrome/browser/platform_util.h" | 6 #include "chrome/browser/platform_util.h" |
| 7 #include "ui/base/android/view_android.h" | 7 #include "ui/base/android/view_android.h" |
| 8 | 8 |
| 9 namespace platform_util { | 9 namespace platform_util { |
| 10 | 10 |
| 11 // TODO: crbug/115682 to track implementation of the following methods. | 11 // TODO: crbug/115682 to track implementation of the following methods. |
| 12 | 12 |
| 13 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { | 13 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { |
| 14 NOTIMPLEMENTED(); | 14 NOTIMPLEMENTED(); |
| 15 } | 15 } |
| 16 | 16 |
| 17 void OpenItem(Profile* profile, const base::FilePath& full_path) { | 17 void OpenFile(Profile* profile, |
| 18 const base::FilePath& full_path, |
| 19 const OpenOperationCallback& callback) { |
| 18 NOTIMPLEMENTED(); | 20 NOTIMPLEMENTED(); |
| 19 } | 21 } |
| 20 | 22 |
| 23 void OpenFolder(Profile* profile, |
| 24 const base::FilePath& full_path, |
| 25 const OpenOperationCallback& callback) { |
| 26 NOTIMPLEMENTED(); |
| 27 } |
| 28 |
| 21 void OpenExternal(Profile* profile, const GURL& url) { | 29 void OpenExternal(Profile* profile, const GURL& url) { |
| 22 NOTIMPLEMENTED(); | 30 NOTIMPLEMENTED(); |
| 23 } | 31 } |
| 24 | 32 |
| 25 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { | 33 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { |
| 26 NOTIMPLEMENTED(); | 34 NOTIMPLEMENTED(); |
| 27 return view->GetWindowAndroid(); | 35 return view->GetWindowAndroid(); |
| 28 } | 36 } |
| 29 | 37 |
| 30 gfx::NativeView GetParent(gfx::NativeView view) { | 38 gfx::NativeView GetParent(gfx::NativeView view) { |
| 31 NOTIMPLEMENTED(); | 39 NOTIMPLEMENTED(); |
| 32 return view; | 40 return view; |
| 33 } | 41 } |
| 34 | 42 |
| 35 bool IsWindowActive(gfx::NativeWindow window) { | 43 bool IsWindowActive(gfx::NativeWindow window) { |
| 36 NOTIMPLEMENTED(); | 44 NOTIMPLEMENTED(); |
| 37 return false; | 45 return false; |
| 38 } | 46 } |
| 39 | 47 |
| 40 void ActivateWindow(gfx::NativeWindow window) { | 48 void ActivateWindow(gfx::NativeWindow window) { |
| 41 NOTIMPLEMENTED(); | 49 NOTIMPLEMENTED(); |
| 42 } | 50 } |
| 43 | 51 |
| 44 bool IsVisible(gfx::NativeView view) { | 52 bool IsVisible(gfx::NativeView view) { |
| 45 NOTIMPLEMENTED(); | 53 NOTIMPLEMENTED(); |
| 46 return true; | 54 return true; |
| 47 } | 55 } |
| 48 | 56 |
| 49 } // namespace platform_util | 57 } // namespace platform_util |
| OLD | NEW |