OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #include "webkit/glue/webclipboard_impl.h" | 5 #include "webkit/glue/webclipboard_impl.h" |
6 | 6 |
7 #include "app/clipboard/clipboard.h" | 7 #include "app/clipboard/clipboard.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 #include "net/base/escape.h" | 11 #include "net/base/escape.h" |
12 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
13 #include "webkit/api/public/WebImage.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebImage.h" |
14 #include "webkit/api/public/WebSize.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h" |
15 #include "webkit/api/public/WebString.h" | 15 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
16 #include "webkit/api/public/WebURL.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
17 #include "webkit/glue/scoped_clipboard_writer_glue.h" | 17 #include "webkit/glue/scoped_clipboard_writer_glue.h" |
18 #include "webkit/glue/webkit_glue.h" | 18 #include "webkit/glue/webkit_glue.h" |
19 | 19 |
20 #if WEBKIT_USING_CG | 20 #if WEBKIT_USING_CG |
21 #include "skia/ext/skia_utils_mac.h" | 21 #include "skia/ext/skia_utils_mac.h" |
22 #endif | 22 #endif |
23 | 23 |
24 using WebKit::WebClipboard; | 24 using WebKit::WebClipboard; |
25 using WebKit::WebImage; | 25 using WebKit::WebImage; |
26 using WebKit::WebString; | 26 using WebKit::WebString; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 break; | 172 break; |
173 #endif | 173 #endif |
174 default: | 174 default: |
175 NOTREACHED(); | 175 NOTREACHED(); |
176 return false; | 176 return false; |
177 } | 177 } |
178 return true; | 178 return true; |
179 } | 179 } |
180 | 180 |
181 } // namespace webkit_glue | 181 } // namespace webkit_glue |
OLD | NEW |