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

Side by Side Diff: app/clipboard/clipboard_mac.mm

Issue 260003: Move the clipboard stuff out of base and into app/clipboard. I renamed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « app/clipboard/clipboard_linux.cc ('k') | app/clipboard/clipboard_unittest.cc » ('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 (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
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 }
OLDNEW
« no previous file with comments | « app/clipboard/clipboard_linux.cc ('k') | app/clipboard/clipboard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698