| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/clipboard.h" | 5 #include "app/clipboard/clipboard.h" |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 12 #include "base/sys_string_conversions.h" | 12 #include "base/sys_string_conversions.h" |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 static const std::string type = base::SysNSStringToUTF8(NSHTMLPboardType); | 275 static const std::string type = base::SysNSStringToUTF8(NSHTMLPboardType); |
| 276 return type; | 276 return type; |
| 277 } | 277 } |
| 278 | 278 |
| 279 // static | 279 // static |
| 280 Clipboard::FormatType Clipboard::GetWebKitSmartPasteFormatType() { | 280 Clipboard::FormatType Clipboard::GetWebKitSmartPasteFormatType() { |
| 281 static const std::string type = | 281 static const std::string type = |
| 282 base::SysNSStringToUTF8(kWebSmartPastePboardType); | 282 base::SysNSStringToUTF8(kWebSmartPastePboardType); |
| 283 return type; | 283 return type; |
| 284 } | 284 } |
| OLD | NEW |