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

Unified Diff: ui/base/dragdrop/drag_utils_win.cc

Issue 246633004: Remove non USE_AURA code from views files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just revert changes to ui/app_list/. Created 6 years, 8 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/default_theme_provider.cc ('k') | ui/base/dragdrop/os_exchange_data_provider_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/drag_utils_win.cc
diff --git a/ui/base/dragdrop/drag_utils_win.cc b/ui/base/dragdrop/drag_utils_win.cc
index 0bed7ea099c0735276a56169cc7d0a4eff0c1834..ebb4c7e8740b8a4978248a99c8a95d4c10ffc139 100644
--- a/ui/base/dragdrop/drag_utils_win.cc
+++ b/ui/base/dragdrop/drag_utils_win.cc
@@ -72,13 +72,11 @@ void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia,
ui::OSExchangeDataProviderWin::GetIDataObject(*data_object));
}
-#if defined(USE_AURA)
// TODO: the above code is used in non-Ash, while below is used in Ash. If we
// could figure this context out then we wouldn't do unnecessary work. However
// as it stands getting this information in ui/base would be a layering
// violation.
data_object->provider().SetDragImage(image_skia, cursor_offset);
-#endif
}
} // namespace drag_utils
« no previous file with comments | « ui/base/default_theme_provider.cc ('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