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

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

Issue 7569005: Rename UI_API to UI_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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.h ('k') | ui/base/clipboard/scoped_clipboard_writer.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 9 #pragma once
10 10
11 #include <shlobj.h> 11 #include <shlobj.h>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "ui/ui_api.h" 15 #include "ui/base/ui_export.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 class UI_API ClipboardUtil { 19 class UI_EXPORT ClipboardUtil {
20 public: 20 public:
21 ///////////////////////////////////////////////////////////////////////////// 21 /////////////////////////////////////////////////////////////////////////////
22 // Clipboard formats. 22 // Clipboard formats.
23 static FORMATETC* GetUrlFormat(); 23 static FORMATETC* GetUrlFormat();
24 static FORMATETC* GetUrlWFormat(); 24 static FORMATETC* GetUrlWFormat();
25 static FORMATETC* GetMozUrlFormat(); 25 static FORMATETC* GetMozUrlFormat();
26 static FORMATETC* GetPlainTextFormat(); 26 static FORMATETC* GetPlainTextFormat();
27 static FORMATETC* GetPlainTextWFormat(); 27 static FORMATETC* GetPlainTextWFormat();
28 static FORMATETC* GetFilenameFormat(); 28 static FORMATETC* GetFilenameFormat();
29 static FORMATETC* GetFilenameWFormat(); 29 static FORMATETC* GetFilenameWFormat();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // text/html. 63 // text/html.
64 static std::string HtmlToCFHtml(const std::string& html, 64 static std::string HtmlToCFHtml(const std::string& html,
65 const std::string& base_url); 65 const std::string& base_url);
66 static void CFHtmlToHtml(const std::string& cf_html, std::string* html, 66 static void CFHtmlToHtml(const std::string& cf_html, std::string* html,
67 std::string* base_url); 67 std::string* base_url);
68 }; 68 };
69 69
70 } 70 }
71 71
72 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_ 72 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/clipboard/clipboard.h ('k') | ui/base/clipboard/scoped_clipboard_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698