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/clipboard_utils.h" | 12 #include "content/renderer/clipboard_utils.h" |
13 #include "content/renderer/drop_data_builder.h" | 13 #include "content/renderer/drop_data_builder.h" |
14 #include "content/renderer/scoped_clipboard_writer_glue.h" | 14 #include "content/renderer/scoped_clipboard_writer_glue.h" |
15 #include "third_party/WebKit/public/platform/WebData.h" | 15 #include "third_party/WebKit/public/platform/WebData.h" |
16 #include "third_party/WebKit/public/platform/WebDragData.h" | 16 #include "third_party/WebKit/public/platform/WebDragData.h" |
17 #include "third_party/WebKit/public/platform/WebImage.h" | 17 #include "third_party/WebKit/public/platform/WebImage.h" |
18 #include "third_party/WebKit/public/platform/WebSize.h" | 18 #include "third_party/WebKit/public/platform/WebSize.h" |
19 #include "third_party/WebKit/public/platform/WebString.h" | 19 #include "third_party/WebKit/public/platform/WebString.h" |
20 #include "third_party/WebKit/public/platform/WebURL.h" | 20 #include "third_party/WebKit/public/platform/WebURL.h" |
21 #include "third_party/WebKit/public/platform/WebVector.h" | 21 #include "third_party/WebKit/public/platform/WebVector.h" |
22 #include "third_party/skia/include/core/SkBitmap.h" | 22 #include "third_party/skia/include/core/SkBitmap.h" |
23 #include "ui/base/clipboard/clipboard.h" | 23 #include "ui/base/clipboard/clipboard.h" |
24 #include "ui/base/clipboard/custom_data_helper.h" | 24 #include "ui/base/clipboard/custom_data_helper.h" |
25 #include "url/gurl.h" | 25 #include "url/gurl.h" |
26 #include "webkit/glue/webkit_glue.h" | |
27 | 26 |
28 using blink::WebClipboard; | 27 using blink::WebClipboard; |
29 using blink::WebData; | 28 using blink::WebData; |
30 using blink::WebDragData; | 29 using blink::WebDragData; |
31 using blink::WebImage; | 30 using blink::WebImage; |
32 using blink::WebString; | 31 using blink::WebString; |
33 using blink::WebURL; | 32 using blink::WebURL; |
34 using blink::WebVector; | 33 using blink::WebVector; |
35 | 34 |
36 namespace content { | 35 namespace content { |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 #endif | 231 #endif |
233 #endif | 232 #endif |
234 default: | 233 default: |
235 NOTREACHED(); | 234 NOTREACHED(); |
236 return false; | 235 return false; |
237 } | 236 } |
238 return true; | 237 return true; |
239 } | 238 } |
240 | 239 |
241 } // namespace content | 240 } // namespace content |
OLD | NEW |