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

Side by Side Diff: ui/base/clipboard/clipboard_util_win.h

Issue 12298037: Revert 183123 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1417/src/
Patch Set: Created 7 years, 10 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 | « ui/base/clipboard/clipboard_unittest.cc ('k') | ui/base/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) 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 // 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 UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_ 7 #ifndef UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
8 #define UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_ 8 #define UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
9 9
10 #include <shlobj.h> 10 #include <shlobj.h>
(...skipping 22 matching lines...) Expand all
33 // MS RTF Format 33 // MS RTF Format
34 static FORMATETC* GetRtfFormat(); 34 static FORMATETC* GetRtfFormat();
35 // Firefox text/html 35 // Firefox text/html
36 static FORMATETC* GetTextHtmlFormat(); 36 static FORMATETC* GetTextHtmlFormat();
37 static FORMATETC* GetCFHDropFormat(); 37 static FORMATETC* GetCFHDropFormat();
38 static FORMATETC* GetFileDescriptorFormat(); 38 static FORMATETC* GetFileDescriptorFormat();
39 static FORMATETC* GetFileContentFormatZero(); 39 static FORMATETC* GetFileContentFormatZero();
40 static FORMATETC* GetWebKitSmartPasteFormat(); 40 static FORMATETC* GetWebKitSmartPasteFormat();
41 static FORMATETC* GetWebCustomDataFormat(); 41 static FORMATETC* GetWebCustomDataFormat();
42 static FORMATETC* GetPepperCustomDataFormat(); 42 static FORMATETC* GetPepperCustomDataFormat();
43 static FORMATETC* GetSourceTagFormat();
44 43
45 ///////////////////////////////////////////////////////////////////////////// 44 /////////////////////////////////////////////////////////////////////////////
46 // These methods check to see if |data_object| has the requested type. 45 // These methods check to see if |data_object| has the requested type.
47 // Returns true if it does. 46 // Returns true if it does.
48 static bool HasUrl(IDataObject* data_object); 47 static bool HasUrl(IDataObject* data_object);
49 static bool HasFilenames(IDataObject* data_object); 48 static bool HasFilenames(IDataObject* data_object);
50 static bool HasPlainText(IDataObject* data_object); 49 static bool HasPlainText(IDataObject* data_object);
51 static bool HasFileContents(IDataObject* data_object); 50 static bool HasFileContents(IDataObject* data_object);
52 static bool HasHtml(IDataObject* data_object); 51 static bool HasHtml(IDataObject* data_object);
53 52
(...skipping 30 matching lines...) Expand all
84 static void CFHtmlExtractMetadata(const std::string& cf_html, 83 static void CFHtmlExtractMetadata(const std::string& cf_html,
85 std::string* base_url, 84 std::string* base_url,
86 size_t* html_start, 85 size_t* html_start,
87 size_t* fragment_start, 86 size_t* fragment_start,
88 size_t* fragment_end); 87 size_t* fragment_end);
89 }; 88 };
90 89
91 } 90 }
92 91
93 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_ 92 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/clipboard/clipboard_unittest.cc ('k') | ui/base/clipboard/clipboard_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698