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

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

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 years, 11 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/custom_data_helper.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) 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>
11 #include <map> 11 #include <map>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "ui/base/ui_export.h" 16 #include "ui/base/ui_base_export.h"
17 17
18 namespace ui { 18 namespace ui {
19 19
20 class UI_EXPORT ClipboardUtil { 20 class UI_BASE_EXPORT ClipboardUtil {
21 public: 21 public:
22 ///////////////////////////////////////////////////////////////////////////// 22 /////////////////////////////////////////////////////////////////////////////
23 // These methods check to see if |data_object| has the requested type. 23 // These methods check to see if |data_object| has the requested type.
24 // Returns true if it does. 24 // Returns true if it does.
25 static bool HasUrl(IDataObject* data_object); 25 static bool HasUrl(IDataObject* data_object);
26 static bool HasFilenames(IDataObject* data_object); 26 static bool HasFilenames(IDataObject* data_object);
27 static bool HasPlainText(IDataObject* data_object); 27 static bool HasPlainText(IDataObject* data_object);
28 static bool HasFileContents(IDataObject* data_object); 28 static bool HasFileContents(IDataObject* data_object);
29 static bool HasHtml(IDataObject* data_object); 29 static bool HasHtml(IDataObject* data_object);
30 30
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 static void CFHtmlExtractMetadata(const std::string& cf_html, 63 static void CFHtmlExtractMetadata(const std::string& cf_html,
64 std::string* base_url, 64 std::string* base_url,
65 size_t* html_start, 65 size_t* html_start,
66 size_t* fragment_start, 66 size_t* fragment_start,
67 size_t* fragment_end); 67 size_t* fragment_end);
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/custom_data_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698