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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "content/public/browser/android/content_view_core.h"
7 8
8 namespace platform_util { 9 namespace platform_util {
9 10
10 // TODO: crbug/115682 to track implementation of the following methods. 11 // TODO: crbug/115682 to track implementation of the following methods.
11 12
12 void ShowItemInFolder(const FilePath& full_path) { 13 void ShowItemInFolder(const FilePath& full_path) {
13 NOTIMPLEMENTED(); 14 NOTIMPLEMENTED();
14 } 15 }
15 16
16 void OpenItem(const FilePath& full_path) { 17 void OpenItem(const FilePath& full_path) {
17 NOTIMPLEMENTED(); 18 NOTIMPLEMENTED();
18 } 19 }
19 20
20 void OpenExternal(const GURL& url) { 21 void OpenExternal(const GURL& url) {
21 NOTIMPLEMENTED(); 22 NOTIMPLEMENTED();
22 } 23 }
23 24
24 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 25 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
25 NOTIMPLEMENTED(); 26 NOTIMPLEMENTED();
26 return view; 27 return view->GetWindowAndroid();
27 } 28 }
28 29
29 gfx::NativeView GetParent(gfx::NativeView view) { 30 gfx::NativeView GetParent(gfx::NativeView view) {
30 NOTIMPLEMENTED(); 31 NOTIMPLEMENTED();
31 return view; 32 return view;
32 } 33 }
33 34
34 bool IsWindowActive(gfx::NativeWindow window) { 35 bool IsWindowActive(gfx::NativeWindow window) {
35 NOTIMPLEMENTED(); 36 NOTIMPLEMENTED();
36 return false; 37 return false;
37 } 38 }
38 39
39 void ActivateWindow(gfx::NativeWindow window) { 40 void ActivateWindow(gfx::NativeWindow window) {
40 NOTIMPLEMENTED(); 41 NOTIMPLEMENTED();
41 } 42 }
42 43
43 bool IsVisible(gfx::NativeView view) { 44 bool IsVisible(gfx::NativeView view) {
44 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
45 return true; 46 return true;
46 } 47 }
47 48
48 } // namespace platform_util 49 } // namespace platform_util
49 50
OLDNEW
« 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