| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/tools/test_shell/mock_webclipboard_impl.h" | 5 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "net/base/escape.h" | 10 #include "net/base/escape.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCommon.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCommon.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebImage.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebImage.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" |
| 14 #include "webkit/glue/webclipboard_impl.h" | 14 #include "webkit/glue/webclipboard_impl.h" |
| 15 #include "webkit/glue/webkit_glue.h" | 15 #include "webkit/glue/webkit_glue.h" |
| 16 #include "webkit/support/webkit_support_gfx.h" | 16 #include "webkit/support/webkit_support_gfx.h" |
| 17 | 17 |
| 18 #if WEBKIT_USING_CG | 18 #if WEBKIT_USING_CG |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 results.push_back(WebString("text/plain")); | 148 results.push_back(WebString("text/plain")); |
| 149 } | 149 } |
| 150 if (!m_htmlText.isEmpty()) { | 150 if (!m_htmlText.isEmpty()) { |
| 151 results.push_back(WebString("text/html")); | 151 results.push_back(WebString("text/html")); |
| 152 } | 152 } |
| 153 if (!m_image.isNull()) { | 153 if (!m_image.isNull()) { |
| 154 results.push_back(WebString("image/png")); | 154 results.push_back(WebString("image/png")); |
| 155 } | 155 } |
| 156 return results; | 156 return results; |
| 157 } | 157 } |
| OLD | NEW |