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

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: 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
Index: ppapi/examples/file_chooser/file_chooser.cc
===================================================================
--- ppapi/examples/file_chooser/file_chooser.cc (revision 74966)
+++ 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();
}

Powered by Google App Engine
This is Rietveld 408576698