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

Side by Side Diff: ui/shell_dialogs/select_file_dialog_android.h

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « ui/shell_dialogs/select_file_dialog.cc ('k') | ui/shell_dialogs/select_file_dialog_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef UI_SHELL_DIALOGS_ANDROID_SELECT_FILE_DIALOG_ANDROID_H_ 5 #ifndef UI_SHELL_DIALOGS_ANDROID_SELECT_FILE_DIALOG_ANDROID_H_
6 #define UI_SHELL_DIALOGS_ANDROID_SELECT_FILE_DIALOG_ANDROID_H_ 6 #define UI_SHELL_DIALOGS_ANDROID_SELECT_FILE_DIALOG_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 14 matching lines...) Expand all
25 // From SelectFileDialog 25 // From SelectFileDialog
26 virtual bool IsRunning(gfx::NativeWindow) const OVERRIDE; 26 virtual bool IsRunning(gfx::NativeWindow) const OVERRIDE;
27 virtual void ListenerDestroyed() OVERRIDE; 27 virtual void ListenerDestroyed() OVERRIDE;
28 28
29 // Called when it is time to display the file picker. 29 // Called when it is time to display the file picker.
30 // params is expected to be a Vector<string16> with accept_types first and 30 // params is expected to be a Vector<string16> with accept_types first and
31 // the capture value as the last element of the vector. 31 // the capture value as the last element of the vector.
32 virtual void SelectFileImpl( 32 virtual void SelectFileImpl(
33 ui::SelectFileDialog::Type type, 33 ui::SelectFileDialog::Type type,
34 const string16& title, 34 const string16& title,
35 const FilePath& default_path, 35 const base::FilePath& default_path,
36 const ui::SelectFileDialog::FileTypeInfo* file_types, 36 const ui::SelectFileDialog::FileTypeInfo* file_types,
37 int file_type_index, 37 int file_type_index,
38 const std::string& default_extension, 38 const std::string& default_extension,
39 gfx::NativeWindow owning_window, 39 gfx::NativeWindow owning_window,
40 void* params) OVERRIDE; 40 void* params) OVERRIDE;
41 41
42 static bool RegisterSelectFileDialog(JNIEnv* env); 42 static bool RegisterSelectFileDialog(JNIEnv* env);
43 43
44 protected: 44 protected:
45 virtual ~SelectFileDialogImpl(); 45 virtual ~SelectFileDialogImpl();
(...skipping 12 matching lines...) Expand all
58 }; 58 };
59 59
60 SelectFileDialog* CreateAndroidSelectFileDialog( 60 SelectFileDialog* CreateAndroidSelectFileDialog(
61 SelectFileDialog::Listener* listener, 61 SelectFileDialog::Listener* listener,
62 SelectFilePolicy* policy); 62 SelectFilePolicy* policy);
63 63
64 } // namespace ui 64 } // namespace ui
65 65
66 #endif // UI_SHELL_DIALOGS_ANDROID_SELECT_FILE_DIALOG_ANDROID_H_ 66 #endif // UI_SHELL_DIALOGS_ANDROID_SELECT_FILE_DIALOG_ANDROID_H_
67 67
OLDNEW
« no previous file with comments | « ui/shell_dialogs/select_file_dialog.cc ('k') | ui/shell_dialogs/select_file_dialog_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698