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

Side by Side Diff: content/test/mock_webclipboard_impl.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « content/test/mock_webclipboard_impl.h ('k') | content/test/mock_weburlloader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/test/mock_webclipboard_impl.h" 5 #include "content/test/mock_webclipboard_impl.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "build/build_config.h"
11 #include "content/renderer/clipboard_utils.h" 14 #include "content/renderer/clipboard_utils.h"
12 #include "third_party/WebKit/public/platform/WebCommon.h" 15 #include "third_party/WebKit/public/platform/WebCommon.h"
13 #include "third_party/WebKit/public/platform/WebDragData.h" 16 #include "third_party/WebKit/public/platform/WebDragData.h"
14 #include "third_party/WebKit/public/platform/WebImage.h" 17 #include "third_party/WebKit/public/platform/WebImage.h"
15 #include "third_party/WebKit/public/platform/WebURL.h" 18 #include "third_party/WebKit/public/platform/WebURL.h"
16 #include "ui/base/clipboard/clipboard.h" 19 #include "ui/base/clipboard/clipboard.h"
17 #include "ui/gfx/codec/png_codec.h" 20 #include "ui/gfx/codec/png_codec.h"
18 #include "ui/gfx/geometry/size.h" 21 #include "ui/gfx/geometry/size.h"
19 22
20 using blink::WebDragData; 23 using blink::WebDragData;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 199
197 void MockWebClipboardImpl::clear() { 200 void MockWebClipboardImpl::clear() {
198 m_plainText = base::NullableString16(); 201 m_plainText = base::NullableString16();
199 m_htmlText = base::NullableString16(); 202 m_htmlText = base::NullableString16();
200 m_image.reset(); 203 m_image.reset();
201 m_customData.clear(); 204 m_customData.clear();
202 m_writeSmartPaste = false; 205 m_writeSmartPaste = false;
203 } 206 }
204 207
205 } // namespace content 208 } // namespace content
OLDNEW
« no previous file with comments | « content/test/mock_webclipboard_impl.h ('k') | content/test/mock_weburlloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698