Index: chrome/browser/platform_util_android.cc |
diff --git a/chrome/browser/platform_util_android.cc b/chrome/browser/platform_util_android.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..893716927eb36960a4439504ea0983da3716681e |
--- /dev/null |
+++ b/chrome/browser/platform_util_android.cc |
@@ -0,0 +1,60 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
Yaron
2012/02/24 20:34:22
2012
Ramya
2012/02/24 21:59:42
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "base/logging.h" |
+#include "chrome/browser/platform_util.h" |
+ |
+namespace platform_util { |
+ |
+// TODO: crbug/115682 to track implementation of the following methods. |
+ |
+// Show the given file in a file manager. If possible, select the file. |
+void ShowItemInFolder(const FilePath& full_path) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+// Open the given file in the desktop's default manner. |
+void OpenItem(const FilePath& full_path) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+// Open the given external protocol URL in the desktop's default manner. |
+// (For example, mailto: URLs in the default mail user agent.) |
+void OpenExternal(const GURL& url) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+// Get the top level window for the native view. This can return NULL. |
+gfx::NativeWindow GetTopLevel(gfx::NativeView view) { |
+ NOTIMPLEMENTED(); |
+ return view; |
+} |
+ |
+// Get the direct parent of |view|, may return NULL. |
+gfx::NativeView GetParent(gfx::NativeView view) { |
+ NOTIMPLEMENTED(); |
+ return view; |
+} |
+ |
+// Returns true if |window| is the foreground top level window. |
+bool IsWindowActive(gfx::NativeWindow window) { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+// Activate the window, bringing it to the foreground top level. |
+void ActivateWindow(gfx::NativeWindow window) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+// Returns true if the view is visible. The exact definition of this is |
+// platform-specific, but it is generally not "visible to the user", rather |
+// whether the view has the visible attribute set. |
+bool IsVisible(gfx::NativeView view) { |
+ NOTIMPLEMENTED(); |
+ return true; |
+} |
+ |
+} // namespace platform_util |
+ |