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

Side by Side Diff: app/clipboard/clipboard_util_win.h

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_unittest.cc ('k') | app/clipboard/clipboard_util_win.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) 2009 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 // Some helper functions for working with the clipboard and IDataObjects. 5 // Some helper functions for working with the clipboard and IDataObjects.
6 6
7 #ifndef BASE_CLIPBOARD_UTIL_H_ 7 #ifndef APP_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
8 #define BASE_CLIPBOARD_UTIL_H_ 8 #define APP_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
9 9
10 #include <shlobj.h> 10 #include <shlobj.h>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 class ClipboardUtil { 14 class ClipboardUtil {
15 public: 15 public:
16 ///////////////////////////////////////////////////////////////////////////// 16 /////////////////////////////////////////////////////////////////////////////
17 // Clipboard formats. 17 // Clipboard formats.
18 static FORMATETC* GetUrlFormat(); 18 static FORMATETC* GetUrlFormat();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 std::string* file_contents); 55 std::string* file_contents);
56 56
57 // A helper method for converting between MS CF_HTML format and plain 57 // A helper method for converting between MS CF_HTML format and plain
58 // text/html. 58 // text/html.
59 static std::string HtmlToCFHtml(const std::string& html, 59 static std::string HtmlToCFHtml(const std::string& html,
60 const std::string& base_url); 60 const std::string& base_url);
61 static void CFHtmlToHtml(const std::string& cf_html, std::string* html, 61 static void CFHtmlToHtml(const std::string& cf_html, std::string* html,
62 std::string* base_url); 62 std::string* base_url);
63 }; 63 };
64 64
65 #endif // BASE_CLIPBOARD_UTIL_H_ 65 #endif // APP_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « app/clipboard/clipboard_unittest.cc ('k') | app/clipboard/clipboard_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698