OLD | NEW |
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 "ppapi/proxy/file_chooser_resource.h" | 5 #include "ppapi/proxy/file_chooser_resource.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/string_split.h" | 8 #include "base/strings/string_split.h" |
9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
11 #include "ppapi/proxy/dispatch_reply_message.h" | 11 #include "ppapi/proxy/dispatch_reply_message.h" |
12 #include "ppapi/proxy/ppapi_messages.h" | 12 #include "ppapi/proxy/ppapi_messages.h" |
13 #include "ppapi/proxy/ppb_file_ref_proxy.h" | 13 #include "ppapi/proxy/ppb_file_ref_proxy.h" |
14 #include "ppapi/shared_impl/var.h" | 14 #include "ppapi/shared_impl/var.h" |
15 | 15 |
16 namespace ppapi { | 16 namespace ppapi { |
17 namespace proxy { | 17 namespace proxy { |
18 | 18 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 mode_ == PP_FILECHOOSERMODE_OPENMULTIPLE, | 140 mode_ == PP_FILECHOOSERMODE_OPENMULTIPLE, |
141 sugg_str ? sugg_str->value() : std::string(), | 141 sugg_str ? sugg_str->value() : std::string(), |
142 accept_types_); | 142 accept_types_); |
143 Call<PpapiPluginMsg_FileChooser_ShowReply>(RENDERER, msg, | 143 Call<PpapiPluginMsg_FileChooser_ShowReply>(RENDERER, msg, |
144 base::Bind(&FileChooserResource::OnPluginMsgShowReply, this)); | 144 base::Bind(&FileChooserResource::OnPluginMsgShowReply, this)); |
145 return PP_OK_COMPLETIONPENDING; | 145 return PP_OK_COMPLETIONPENDING; |
146 } | 146 } |
147 | 147 |
148 } // namespace proxy | 148 } // namespace proxy |
149 } // namespace ppapi | 149 } // namespace ppapi |
OLD | NEW |