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

Side by Side Diff: ui/base/dragdrop/os_exchange_data_provider_win.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
OLDNEW
1 // Copyright (c) 2009 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_PROVIDER_WIN_H_ 5 #ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
6 #define APP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_ 6 #define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <objidl.h> 9 #include <objidl.h>
10 #include <shlobj.h> 10 #include <shlobj.h>
11 #include <string> 11 #include <string>
12 12
13 #include "app/os_exchange_data.h"
14 #include "base/scoped_comptr_win.h" 13 #include "base/scoped_comptr_win.h"
14 #include "ui/base/dragdrop/os_exchange_data.h"
15
16 namespace ui {
15 17
16 class DataObjectImpl : public DownloadFileObserver, 18 class DataObjectImpl : public DownloadFileObserver,
17 public IDataObject, 19 public IDataObject,
18 public IAsyncOperation { 20 public IAsyncOperation {
19 public: 21 public:
20 class Observer { 22 class Observer {
21 public: 23 public:
22 virtual void OnWaitForData() = 0; 24 virtual void OnWaitForData() = 0;
23 virtual void OnDataObjectDisposed() = 0; 25 virtual void OnDataObjectDisposed() = 0;
24 protected: 26 protected:
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 virtual void SetDownloadFileInfo( 168 virtual void SetDownloadFileInfo(
167 const OSExchangeData::DownloadFileInfo& download_info); 169 const OSExchangeData::DownloadFileInfo& download_info);
168 170
169 private: 171 private:
170 scoped_refptr<DataObjectImpl> data_; 172 scoped_refptr<DataObjectImpl> data_;
171 ScopedComPtr<IDataObject> source_object_; 173 ScopedComPtr<IDataObject> source_object_;
172 174
173 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderWin); 175 DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderWin);
174 }; 176 };
175 177
176 #endif // APP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_ 178 } // namespace ui
179
180 #endif // UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_gtk.cc ('k') | ui/base/dragdrop/os_exchange_data_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698