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

Unified Diff: chrome/browser/ui/views/extensions/browser_action_drag_data.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/extensions/browser_action_drag_data.cc
===================================================================
--- chrome/browser/ui/views/extensions/browser_action_drag_data.cc (revision 71050)
+++ chrome/browser/ui/views/extensions/browser_action_drag_data.cc (working copy)
@@ -27,14 +27,14 @@
#if defined(TOOLKIT_VIEWS)
void BrowserActionDragData::Write(
- Profile* profile, OSExchangeData* data) const {
+ Profile* profile, ui::OSExchangeData* data) const {
DCHECK(data);
Pickle data_pickle;
WriteToPickle(profile, &data_pickle);
data->SetPickledData(GetBrowserActionCustomFormat(), data_pickle);
}
-bool BrowserActionDragData::Read(const OSExchangeData& data) {
+bool BrowserActionDragData::Read(const ui::OSExchangeData& data) {
if (!data.HasCustomFormat(GetBrowserActionCustomFormat()))
return false;
@@ -49,14 +49,14 @@
}
// static
-OSExchangeData::CustomFormat
+ui::OSExchangeData::CustomFormat
BrowserActionDragData::GetBrowserActionCustomFormat() {
- static OSExchangeData::CustomFormat format;
+ static ui::OSExchangeData::CustomFormat format;
static bool format_valid = false;
if (!format_valid) {
format_valid = true;
- format = OSExchangeData::RegisterCustomFormat(
+ format = ui::OSExchangeData::RegisterCustomFormat(
BrowserActionDragData::kClipboardFormatString);
}
return format;

Powered by Google App Engine
This is Rietveld 408576698