OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/webclipboard_impl.h" | 5 #include "content/renderer/webclipboard_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/pickle.h" | 8 #include "base/pickle.h" |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "content/public/common/drop_data.h" | 11 #include "content/public/common/drop_data.h" |
12 #include "content/renderer/drop_data_builder.h" | 12 #include "content/renderer/drop_data_builder.h" |
13 #include "content/renderer/scoped_clipboard_writer_glue.h" | 13 #include "content/renderer/scoped_clipboard_writer_glue.h" |
14 #include "googleurl/src/gurl.h" | |
15 #include "third_party/WebKit/public/platform/WebData.h" | 14 #include "third_party/WebKit/public/platform/WebData.h" |
16 #include "third_party/WebKit/public/platform/WebDragData.h" | 15 #include "third_party/WebKit/public/platform/WebDragData.h" |
17 #include "third_party/WebKit/public/platform/WebImage.h" | 16 #include "third_party/WebKit/public/platform/WebImage.h" |
18 #include "third_party/WebKit/public/platform/WebSize.h" | 17 #include "third_party/WebKit/public/platform/WebSize.h" |
19 #include "third_party/WebKit/public/platform/WebString.h" | 18 #include "third_party/WebKit/public/platform/WebString.h" |
20 #include "third_party/WebKit/public/platform/WebURL.h" | 19 #include "third_party/WebKit/public/platform/WebURL.h" |
21 #include "third_party/WebKit/public/platform/WebVector.h" | 20 #include "third_party/WebKit/public/platform/WebVector.h" |
22 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
23 #include "ui/base/clipboard/clipboard.h" | 22 #include "ui/base/clipboard/clipboard.h" |
24 #include "ui/base/clipboard/custom_data_helper.h" | 23 #include "ui/base/clipboard/custom_data_helper.h" |
| 24 #include "url/gurl.h" |
25 #include "webkit/glue/webkit_glue.h" | 25 #include "webkit/glue/webkit_glue.h" |
26 #include "webkit/renderer/clipboard_utils.h" | 26 #include "webkit/renderer/clipboard_utils.h" |
27 | 27 |
28 using WebKit::WebClipboard; | 28 using WebKit::WebClipboard; |
29 using WebKit::WebData; | 29 using WebKit::WebData; |
30 using WebKit::WebDragData; | 30 using WebKit::WebDragData; |
31 using WebKit::WebImage; | 31 using WebKit::WebImage; |
32 using WebKit::WebString; | 32 using WebKit::WebString; |
33 using WebKit::WebURL; | 33 using WebKit::WebURL; |
34 using WebKit::WebVector; | 34 using WebKit::WebVector; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 #endif | 246 #endif |
247 default: | 247 default: |
248 NOTREACHED(); | 248 NOTREACHED(); |
249 return false; | 249 return false; |
250 } | 250 } |
251 return true; | 251 return true; |
252 } | 252 } |
253 | 253 |
254 } // namespace content | 254 } // namespace content |
255 | 255 |
OLD | NEW |