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

Unified Diff: ppapi/examples/file_chooser/file_chooser.cc

Issue 6519057: Implement proxying for FileRef and FileChooser.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix ppapi tests to account for query change Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/cpp/dev/file_ref_dev.cc ('k') | ppapi/ppapi_shared_proxy.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/examples/file_chooser/file_chooser.cc
===================================================================
--- ppapi/examples/file_chooser/file_chooser.cc (revision 75293)
+++ ppapi/examples/file_chooser/file_chooser.cc (working copy)
@@ -18,7 +18,7 @@
callback_factory_.Initialize(this);
}
- virtual bool HandleEvent(const PP_InputEvent& event) {
+ virtual bool HandleInputEvent(const PP_InputEvent& event) {
switch (event.type) {
case PP_INPUTEVENT_TYPE_MOUSEDOWN: {
const PP_InputEvent_Mouse& mouse_event = event.u.mouse;
@@ -58,7 +58,7 @@
pp::FileRef_Dev file_ref = file_chooser->GetNextChosenFile();
while (!file_ref.is_null()) {
- Log(file_ref.GetPath());
+ Log(file_ref.GetName());
file_ref = file_chooser->GetNextChosenFile();
}
« no previous file with comments | « ppapi/cpp/dev/file_ref_dev.cc ('k') | ppapi/ppapi_shared_proxy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698