Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2437)

Unified Diff: chrome/browser/platform_util_android.cc

Issue 10916160: Upstreaming SelectFileDialog for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/platform_util_android.cc
diff --git a/chrome/browser/platform_util_android.cc b/chrome/browser/platform_util_android.cc
index 2955134aef1e5088499c5ebcd9d78eda665c8fec..b938f5db84ace973a104e8abc965e09f11170782 100644
--- a/chrome/browser/platform_util_android.cc
+++ b/chrome/browser/platform_util_android.cc
@@ -4,6 +4,7 @@
#include "base/logging.h"
#include "chrome/browser/platform_util.h"
+#include "content/public/browser/android/content_view_core.h"
namespace platform_util {
@@ -23,7 +24,7 @@ void OpenExternal(const GURL& url) {
gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
NOTIMPLEMENTED();
- return view;
+ return view->GetWindowAndroid();
}
gfx::NativeView GetParent(gfx::NativeView view) {
« no previous file with comments | « chrome/browser/file_select_helper.cc ('k') | chrome/browser/ui/android/javascript_app_modal_dialog_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698