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

Side by Side Diff: ui/base/dragdrop/os_exchange_data.h

Issue 6200005: Move OSExchangeData from src/app to src/ui/base/dragdrop... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/DEPS ('k') | ui/base/dragdrop/os_exchange_data.cc » ('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) 2010 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 APP_OS_EXCHANGE_DATA_H_ 5 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_
6 #define APP_OS_EXCHANGE_DATA_H_ 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 #include <objidl.h> 15 #include <objidl.h>
16 #elif !defined(OS_MACOSX) 16 #elif !defined(OS_MACOSX)
17 #include <gtk/gtk.h> 17 #include <gtk/gtk.h>
18 #endif 18 #endif
19 19
20 #include "app/download_file_interface.h" 20 #include "app/download_file_interface.h"
21 #include "base/basictypes.h" 21 #include "base/basictypes.h"
22 #include "base/file_path.h" 22 #include "base/file_path.h"
23 #include "base/scoped_ptr.h" 23 #include "base/scoped_ptr.h"
24 24
25 class GURL; 25 class GURL;
26 class Pickle; 26 class Pickle;
27 27
28 namespace ui {
29
28 /////////////////////////////////////////////////////////////////////////////// 30 ///////////////////////////////////////////////////////////////////////////////
29 // 31 //
30 // OSExchangeData 32 // OSExchangeData
31 // An object that holds interchange data to be sent out to OS services like 33 // An object that holds interchange data to be sent out to OS services like
32 // clipboard, drag and drop, etc. This object exposes an API that clients can 34 // clipboard, drag and drop, etc. This object exposes an API that clients can
33 // use to specify raw data and its high level type. This object takes care of 35 // use to specify raw data and its high level type. This object takes care of
34 // translating that into something the OS can understand. 36 // translating that into something the OS can understand.
35 // 37 //
36 /////////////////////////////////////////////////////////////////////////////// 38 ///////////////////////////////////////////////////////////////////////////////
37 39
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 private: 187 private:
186 // Creates the platform specific Provider. 188 // Creates the platform specific Provider.
187 static Provider* CreateProvider(); 189 static Provider* CreateProvider();
188 190
189 // Provides the actual data. 191 // Provides the actual data.
190 scoped_ptr<Provider> provider_; 192 scoped_ptr<Provider> provider_;
191 193
192 DISALLOW_COPY_AND_ASSIGN(OSExchangeData); 194 DISALLOW_COPY_AND_ASSIGN(OSExchangeData);
193 }; 195 };
194 196
195 #endif // APP_OS_EXCHANGE_DATA_H_ 197 } // namespace ui
198
199 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_H_
OLDNEW
« no previous file with comments | « ui/DEPS ('k') | ui/base/dragdrop/os_exchange_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698