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 "webkit/support/simple_clipboard_impl.h" | 5 #include "webkit/support/simple_clipboard_impl.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "third_party/zlib/zlib.h" | 14 #include "third_party/zlib/zlib.h" |
15 #include "ui/base/clipboard/clipboard.h" | 15 #include "ui/base/clipboard/clipboard.h" |
16 #include "ui/gfx/codec/png_codec.h" | 16 #include "ui/gfx/codec/png_codec.h" |
17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
18 #include "webkit/glue/webkit_glue.h" | 18 #include "webkit/glue/webkit_glue.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 void SimpleClipboardClient::ReadData(const ui::Clipboard::FormatType& format, | 110 void SimpleClipboardClient::ReadData(const ui::Clipboard::FormatType& format, |
111 std::string* data) { | 111 std::string* data) { |
112 GetClipboard()->ReadData(format, data); | 112 GetClipboard()->ReadData(format, data); |
113 } | 113 } |
114 | 114 |
115 webkit_glue::ClipboardClient::WriteContext* | 115 webkit_glue::ClipboardClient::WriteContext* |
116 SimpleClipboardClient::CreateWriteContext() { | 116 SimpleClipboardClient::CreateWriteContext() { |
117 return NULL; | 117 return NULL; |
118 } | 118 } |
OLD | NEW |