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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_mac.h

Issue 368973003: MacViews: Partially implement OSExchangeDataProviderMac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lastObject -> objectAtIndex Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/clipboard/clipboard.h ('k') | ui/base/dragdrop/os_exchange_data_provider_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data_provider_mac.h
diff --git a/ui/base/dragdrop/os_exchange_data_provider_mac.h b/ui/base/dragdrop/os_exchange_data_provider_mac.h
index 513239f6656145e4184394f0417063f43ec339b7..1e46e2e4ae0d9d0cb4e8561de1c163a8df603caa 100644
--- a/ui/base/dragdrop/os_exchange_data_provider_mac.h
+++ b/ui/base/dragdrop/os_exchange_data_provider_mac.h
@@ -5,8 +5,11 @@
#ifndef UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_MAC_H_
#define UI_BASE_DRAGDROP_OS_EXCHANGE_DATA_PROVIDER_MAC_H_
+#import "base/mac/scoped_nsobject.h"
#include "ui/base/dragdrop/os_exchange_data.h"
+@class NSPasteboard;
+
namespace ui {
// OSExchangeData::Provider implementation for Mac.
@@ -14,6 +17,7 @@ class UI_BASE_EXPORT OSExchangeDataProviderMac
: public OSExchangeData::Provider {
public:
OSExchangeDataProviderMac();
+ explicit OSExchangeDataProviderMac(NSPasteboard* pasteboard);
virtual ~OSExchangeDataProviderMac();
// Overridden from OSExchangeData::Provider:
@@ -42,6 +46,8 @@ class UI_BASE_EXPORT OSExchangeDataProviderMac
const OSExchangeData::CustomFormat& format) const OVERRIDE;
private:
+ base::scoped_nsobject<NSPasteboard> pasteboard_;
+
DISALLOW_COPY_AND_ASSIGN(OSExchangeDataProviderMac);
};
« no previous file with comments | « ui/base/clipboard/clipboard.h ('k') | ui/base/dragdrop/os_exchange_data_provider_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698