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

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

Issue 11225021: Move flash clipboard to the new proxy and add custom format support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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_mac.mm ('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 21 matching lines...) Expand all
32 static FORMATETC* GetHtmlFormat(); 32 static FORMATETC* GetHtmlFormat();
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 43
43 ///////////////////////////////////////////////////////////////////////////// 44 /////////////////////////////////////////////////////////////////////////////
44 // 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.
45 // Returns true if it does. 46 // Returns true if it does.
46 static bool HasUrl(IDataObject* data_object); 47 static bool HasUrl(IDataObject* data_object);
47 static bool HasFilenames(IDataObject* data_object); 48 static bool HasFilenames(IDataObject* data_object);
48 static bool HasPlainText(IDataObject* data_object); 49 static bool HasPlainText(IDataObject* data_object);
49 static bool HasFileContents(IDataObject* data_object); 50 static bool HasFileContents(IDataObject* data_object);
50 static bool HasHtml(IDataObject* data_object); 51 static bool HasHtml(IDataObject* data_object);
51 52
(...skipping 30 matching lines...) Expand all
82 static void CFHtmlExtractMetadata(const std::string& cf_html, 83 static void CFHtmlExtractMetadata(const std::string& cf_html,
83 std::string* base_url, 84 std::string* base_url,
84 size_t* html_start, 85 size_t* html_start,
85 size_t* fragment_start, 86 size_t* fragment_start,
86 size_t* fragment_end); 87 size_t* fragment_end);
87 }; 88 };
88 89
89 } 90 }
90 91
91 #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_mac.mm ('k') | ui/base/clipboard/clipboard_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698