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

Side by Side Diff: ui/base/dragdrop/os_exchange_data_provider_gtk.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/dragdrop/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_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_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ 5 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_
6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/pickle.h" 15 #include "base/pickle.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "ui/base/dragdrop/os_exchange_data.h" 18 #include "ui/base/dragdrop/os_exchange_data.h"
19 #include "ui/gfx/point.h" 19 #include "ui/gfx/point.h"
20 20
21 namespace ui { 21 namespace ui {
22 22
23 // OSExchangeData::Provider implementation for Gtk. OSExchangeDataProviderGtk 23 // OSExchangeData::Provider implementation for Gtk. OSExchangeDataProviderGtk
24 // is created with a set of known data types. In addition specific data 24 // is created with a set of known data types. In addition specific data
25 // types can be set on OSExchangeDataProviderGtk by way of the various setters. 25 // types can be set on OSExchangeDataProviderGtk by way of the various setters.
26 // The various has methods return true if the format was supplied to the 26 // The various has methods return true if the format was supplied to the
27 // constructor, or explicitly set. 27 // constructor, or explicitly set.
28 class UI_API OSExchangeDataProviderGtk : public OSExchangeData::Provider { 28 class UI_EXPORT OSExchangeDataProviderGtk : public OSExchangeData::Provider {
29 public: 29 public:
30 OSExchangeDataProviderGtk(int known_formats, 30 OSExchangeDataProviderGtk(int known_formats,
31 const std::set<GdkAtom>& known_custom_formats_); 31 const std::set<GdkAtom>& known_custom_formats_);
32 OSExchangeDataProviderGtk(); 32 OSExchangeDataProviderGtk();
33 33
34 virtual ~OSExchangeDataProviderGtk(); 34 virtual ~OSExchangeDataProviderGtk();
35 35
36 int known_formats() const { return known_formats_; } 36 int known_formats() const { return known_formats_; }
37 const std::set<GdkAtom>& known_custom_formats() const { 37 const std::set<GdkAtom>& known_custom_formats() const {
38 return known_custom_formats_; 38 return known_custom_formats_;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Drag image and offset data. 112 // Drag image and offset data.
113 GdkPixbuf* drag_image_; 113 GdkPixbuf* drag_image_;
114 gfx::Point cursor_offset_; 114 gfx::Point cursor_offset_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderGtk); 116 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderGtk);
117 }; 117 };
118 118
119 } // namespace ui 119 } // namespace ui
120 120
121 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_ 121 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_GTK_H_
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698