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(); |
} |