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

Side by Side Diff: ui/base/dragdrop/os_exchange_data_provider_aurax11.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
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 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ 5 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_
6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class.
(...skipping 11 matching lines...) Expand all
22 #include "ui/gfx/image/image_skia.h" 22 #include "ui/gfx/image/image_skia.h"
23 #include "ui/gfx/vector2d.h" 23 #include "ui/gfx/vector2d.h"
24 #include "ui/gfx/x/x11_atom_cache.h" 24 #include "ui/gfx/x/x11_atom_cache.h"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 namespace ui { 27 namespace ui {
28 28
29 class Clipboard; 29 class Clipboard;
30 30
31 // OSExchangeData::Provider implementation for aura on linux. 31 // OSExchangeData::Provider implementation for aura on linux.
32 class UI_EXPORT OSExchangeDataProviderAuraX11 32 class UI_BASE_EXPORT OSExchangeDataProviderAuraX11
33 : public OSExchangeData::Provider, 33 : public OSExchangeData::Provider,
34 public base::MessagePumpDispatcher { 34 public base::MessagePumpDispatcher {
35 public: 35 public:
36 // |x_window| is the window the cursor is over, and |selection| is the set of 36 // |x_window| is the window the cursor is over, and |selection| is the set of
37 // data being offered. 37 // data being offered.
38 OSExchangeDataProviderAuraX11(::Window x_window, 38 OSExchangeDataProviderAuraX11(::Window x_window,
39 const SelectionFormatMap& selection); 39 const SelectionFormatMap& selection);
40 40
41 // Creates a Provider for sending drag information. This creates its own, 41 // Creates a Provider for sending drag information. This creates its own,
42 // hidden X11 window to own send data. 42 // hidden X11 window to own send data.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 // Takes a snapshot of |format_map_| and offers it to other windows. 127 // Takes a snapshot of |format_map_| and offers it to other windows.
128 mutable SelectionOwner selection_owner_; 128 mutable SelectionOwner selection_owner_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderAuraX11); 130 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderAuraX11);
131 }; 131 };
132 132
133 } // namespace ui 133 } // namespace ui
134 134
135 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_ 135 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_AURAX11_H_
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_aura.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