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

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

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
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"
16
15 namespace ui { 17 namespace ui {
16 18
17 class ClipboardUtil { 19 class UI_API ClipboardUtil {
18 public: 20 public:
19 ///////////////////////////////////////////////////////////////////////////// 21 /////////////////////////////////////////////////////////////////////////////
20 // Clipboard formats. 22 // Clipboard formats.
21 static FORMATETC* GetUrlFormat(); 23 static FORMATETC* GetUrlFormat();
22 static FORMATETC* GetUrlWFormat(); 24 static FORMATETC* GetUrlWFormat();
23 static FORMATETC* GetMozUrlFormat(); 25 static FORMATETC* GetMozUrlFormat();
24 static FORMATETC* GetPlainTextFormat(); 26 static FORMATETC* GetPlainTextFormat();
25 static FORMATETC* GetPlainTextWFormat(); 27 static FORMATETC* GetPlainTextWFormat();
26 static FORMATETC* GetFilenameFormat(); 28 static FORMATETC* GetFilenameFormat();
27 static FORMATETC* GetFilenameWFormat(); 29 static FORMATETC* GetFilenameWFormat();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // text/html. 63 // text/html.
62 static std::string HtmlToCFHtml(const std::string& html, 64 static std::string HtmlToCFHtml(const std::string& html,
63 const std::string& base_url); 65 const std::string& base_url);
64 static void CFHtmlToHtml(const std::string& cf_html, std::string* html, 66 static void CFHtmlToHtml(const std::string& cf_html, std::string* html,
65 std::string* base_url); 67 std::string* base_url);
66 }; 68 };
67 69
68 } 70 }
69 71
70 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_ 72 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_UTIL_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698