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

Side by Side Diff: ui/base/clipboard/clipboard.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/animation/tween.h ('k') | ui/base/clipboard/clipboard_util_win.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 #ifndef UI_BASE_CLIPBOARD_CLIPBOARD_H_ 5 #ifndef UI_BASE_CLIPBOARD_CLIPBOARD_H_
6 #define UI_BASE_CLIPBOARD_CLIPBOARD_H_ 6 #define UI_BASE_CLIPBOARD_CLIPBOARD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/process.h" 14 #include "base/process.h"
15 #include "base/shared_memory.h" 15 #include "base/shared_memory.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "ui/ui_api.h" 17 #include "ui/base/ui_export.h"
18 18
19 namespace gfx { 19 namespace gfx {
20 class Size; 20 class Size;
21 } 21 }
22 22
23 class FilePath; 23 class FilePath;
24 class SkBitmap; 24 class SkBitmap;
25 25
26 #if defined(TOOLKIT_USES_GTK) 26 #if defined(TOOLKIT_USES_GTK)
27 typedef struct _GtkClipboard GtkClipboard; 27 typedef struct _GtkClipboard GtkClipboard;
28 #endif 28 #endif
29 29
30 namespace ui { 30 namespace ui {
31 31
32 class UI_API Clipboard { 32 class UI_EXPORT Clipboard {
33 public: 33 public:
34 typedef std::string FormatType; 34 typedef std::string FormatType;
35 35
36 // ObjectType designates the type of data to be stored in the clipboard. This 36 // ObjectType designates the type of data to be stored in the clipboard. This
37 // designation is shared across all OSes. The system-specific designation 37 // designation is shared across all OSes. The system-specific designation
38 // is defined by FormatType. A single ObjectType might be represented by 38 // is defined by FormatType. A single ObjectType might be represented by
39 // several system-specific FormatTypes. For example, on Linux the CBF_TEXT 39 // several system-specific FormatTypes. For example, on Linux the CBF_TEXT
40 // ObjectType maps to "text/plain", "STRING", and several other formats. On 40 // ObjectType maps to "text/plain", "STRING", and several other formats. On
41 // windows it maps to CF_UNICODETEXT. 41 // windows it maps to CF_UNICODETEXT.
42 enum ObjectType { 42 enum ObjectType {
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 static const char kMimeTypeText[]; 285 static const char kMimeTypeText[];
286 static const char kMimeTypeHTML[]; 286 static const char kMimeTypeHTML[];
287 static const char kMimeTypePNG[]; 287 static const char kMimeTypePNG[];
288 288
289 DISALLOW_COPY_AND_ASSIGN(Clipboard); 289 DISALLOW_COPY_AND_ASSIGN(Clipboard);
290 }; 290 };
291 291
292 } // namespace ui 292 } // namespace ui
293 293
294 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_H_ 294 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_H_
OLDNEW
« no previous file with comments | « ui/base/animation/tween.h ('k') | ui/base/clipboard/clipboard_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698