OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/plugins/ppapi/ppb_file_chooser_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_file_chooser_impl.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/string_split.h" | 11 #include "base/string_split.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "base/sys_string_conversions.h" | 13 #include "base/sys_string_conversions.h" |
14 #include "ppapi/c/pp_completion_callback.h" | 14 #include "ppapi/c/pp_completion_callback.h" |
15 #include "ppapi/c/pp_errors.h" | 15 #include "ppapi/c/pp_errors.h" |
16 #include "ppapi/shared_impl/var.h" | 16 #include "ppapi/shared_impl/var.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h
" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserComplet
ion.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserComplet
ion.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserParams.
h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserParams.
h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
22 #include "webkit/glue/webkit_glue.h" | 22 #include "webkit/glue/webkit_glue.h" |
23 #include "webkit/plugins/ppapi/callbacks.h" | 23 #include "webkit/plugins/ppapi/callbacks.h" |
24 #include "webkit/plugins/ppapi/common.h" | 24 #include "webkit/plugins/ppapi/common.h" |
25 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" | 25 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" |
26 #include "webkit/plugins/ppapi/plugin_delegate.h" | 26 #include "webkit/plugins/ppapi/plugin_delegate.h" |
27 #include "webkit/plugins/ppapi/plugin_module.h" | 27 #include "webkit/plugins/ppapi/plugin_module.h" |
28 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 28 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
29 #include "webkit/plugins/ppapi/resource_helper.h" | 29 #include "webkit/plugins/ppapi/resource_helper.h" |
30 | 30 |
31 using ppapi::StringVar; | 31 using ppapi::StringVar; |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 continue; | 210 continue; |
211 StringToLowerASCII(&mime_type); | 211 StringToLowerASCII(&mime_type); |
212 normalized_mime_type_list.push_back(WebString::fromUTF8(mime_type.data(), | 212 normalized_mime_type_list.push_back(WebString::fromUTF8(mime_type.data(), |
213 mime_type.size())); | 213 mime_type.size())); |
214 } | 214 } |
215 return normalized_mime_type_list; | 215 return normalized_mime_type_list; |
216 } | 216 } |
217 | 217 |
218 } // namespace ppapi | 218 } // namespace ppapi |
219 } // namespace webkit | 219 } // namespace webkit |
OLD | NEW |