| 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 "content/renderer/web_intents_host.h" | 5 #include "content/renderer/web_intents_host.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "content/common/intents_messages.h" | 10 #include "content/common/intents_messages.h" |
| 11 #include "content/public/renderer/v8_value_converter.h" | 11 #include "content/public/renderer/v8_value_converter.h" |
| 12 #include "content/renderer/render_view_impl.h" | 12 #include "content/renderer/render_view_impl.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" |
| 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
| 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlob.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlob.h" |
| 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDeliveredIntentCli
ent.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDeliveredIntentCli
ent.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIntent.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIntent.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIntentRequest.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIntentRequest.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" | |
| 26 #include "webkit/fileapi/file_system_util.h" | 26 #include "webkit/fileapi/file_system_util.h" |
| 27 #include "webkit/glue/cpp_bound_class.h" | 27 #include "webkit/glue/cpp_bound_class.h" |
| 28 | 28 |
| 29 using WebKit::WebBindings; | 29 using WebKit::WebBindings; |
| 30 using WebKit::WebBlob; | 30 using WebKit::WebBlob; |
| 31 using WebKit::WebCString; | 31 using WebKit::WebCString; |
| 32 using WebKit::WebDeliveredIntentClient; | 32 using WebKit::WebDeliveredIntentClient; |
| 33 using WebKit::WebFrame; | 33 using WebKit::WebFrame; |
| 34 using WebKit::WebIntent; | 34 using WebKit::WebIntent; |
| 35 using WebKit::WebIntentRequest; | 35 using WebKit::WebIntentRequest; |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 serialized_data.toString(), | 249 serialized_data.toString(), |
| 250 WebVector<WebString>(), WebVector<WebString>()); | 250 WebVector<WebString>(), WebVector<WebString>()); |
| 251 } | 251 } |
| 252 } | 252 } |
| 253 | 253 |
| 254 NOTREACHED(); | 254 NOTREACHED(); |
| 255 return WebIntent(); | 255 return WebIntent(); |
| 256 } | 256 } |
| 257 | 257 |
| 258 } // namespace content | 258 } // namespace content |
| OLD | NEW |