Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: webkit/tools/test_shell/mock_webclipboard_impl.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/database/quota_table.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // 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 "app/clipboard/clipboard.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 #include "base/string_util.h" 8 #include "base/string_util.h"
10 #include "net/base/escape.h" 9 #include "net/base/escape.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebImage.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebImage.h"
12 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
13 #include "webkit/glue/webclipboard_impl.h" 12 #include "webkit/glue/webclipboard_impl.h"
14 #include "webkit/glue/webkit_glue.h" 13 #include "webkit/glue/webkit_glue.h"
15 14
16 using WebKit::WebString; 15 using WebKit::WebString;
17 using WebKit::WebURL; 16 using WebKit::WebURL;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 78
80 void MockWebClipboardImpl::writeImage(const WebKit::WebImage& image, 79 void MockWebClipboardImpl::writeImage(const WebKit::WebImage& image,
81 const WebKit::WebURL& url, const WebKit::WebString& title) { 80 const WebKit::WebURL& url, const WebKit::WebString& title) {
82 if (!image.isNull()) { 81 if (!image.isNull()) {
83 m_htmlText = WebString::fromUTF8( 82 m_htmlText = WebString::fromUTF8(
84 webkit_glue::WebClipboardImpl::URLToImageMarkup(url, title)); 83 webkit_glue::WebClipboardImpl::URLToImageMarkup(url, title));
85 m_plainText = m_htmlText; 84 m_plainText = m_htmlText;
86 m_writeSmartPaste = false; 85 m_writeSmartPaste = false;
87 } 86 }
88 } 87 }
89
OLDNEW
« no previous file with comments | « webkit/database/quota_table.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698