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

Side by Side Diff: content/common/mac/attributed_string_coder.mm

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
OLDNEW
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 "content/common/mac/attributed_string_coder.h" 5 #include "content/common/mac/attributed_string_coder.h"
6 6
7 #include <AppKit/AppKit.h> 7 #include <AppKit/AppKit.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
11 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "content/common/view_messages.h" 13 #include "content/common/view_messages.h"
14 #include "content/public/common/common_param_traits.h" 14 #include "content/public/common/common_param_traits.h"
15 #include "ipc/ipc_message_utils.h" 15 #include "ipc/ipc_message_utils.h"
16 16
17 namespace mac { 17 namespace mac {
18 18
19 // static 19 // static
20 const AttributedStringCoder::EncodedString* AttributedStringCoder::Encode( 20 const AttributedStringCoder::EncodedString* AttributedStringCoder::Encode(
21 NSAttributedString* str) { 21 NSAttributedString* str) {
22 // Create the return value. 22 // Create the return value.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 *p = AttributedStringCoder::FontAttribute(font, range); 162 *p = AttributedStringCoder::FontAttribute(font, range);
163 } 163 }
164 return success; 164 return success;
165 } 165 }
166 166
167 void ParamTraits<AttributedStringCoder::FontAttribute>::Log( 167 void ParamTraits<AttributedStringCoder::FontAttribute>::Log(
168 const param_type& p, std::string* l) { 168 const param_type& p, std::string* l) {
169 } 169 }
170 170
171 } // namespace IPC 171 } // namespace IPC
OLDNEW
« no previous file with comments | « content/common/handle_enumerator_win.cc ('k') | content/common/mac/attributed_string_coder_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698