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

Unified Diff: ui/views/drag_utils.h

Issue 8735009: views: Move some random files from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/views/drag_controller.h ('k') | ui/views/drag_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/drag_utils.h
diff --git a/views/drag_utils.h b/ui/views/drag_utils.h
similarity index 82%
rename from views/drag_utils.h
rename to ui/views/drag_utils.h
index dab3e171d6b88999bab4b16c7711d8bdc12d4185..18098c6edfb505d03e925f957115754384a4da5a 100644
--- a/views/drag_utils.h
+++ b/ui/views/drag_utils.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef VIEWS_DRAG_UTILS_H_
-#define VIEWS_DRAG_UTILS_H_
+#ifndef UI_VIEWS_DRAG_UTILS_H_
+#define UI_VIEWS_DRAG_UTILS_H_
#pragma once
#include <string>
@@ -33,7 +33,7 @@ namespace drag_utils {
VIEWS_EXPORT void SetURLAndDragImage(const GURL& url,
const string16& title,
const SkBitmap& icon,
- OSExchangeData* data);
+ ui::OSExchangeData* data);
// Creates a dragging image to be displayed when the user drags a file from
// Chrome (via the download manager, for example). The drag image is set into
@@ -41,7 +41,7 @@ VIEWS_EXPORT void SetURLAndDragImage(const GURL& url,
// portion will be truncated in the drag image.
VIEWS_EXPORT void CreateDragImageForFile(const FilePath& file_name,
const SkBitmap* icon,
- OSExchangeData* data_object);
+ ui::OSExchangeData* data_object);
// Sets the drag image on data_object from the supplied canvas. width/height
// are the size of the image to use, and the offsets give the location of
@@ -49,7 +49,7 @@ VIEWS_EXPORT void CreateDragImageForFile(const FilePath& file_name,
VIEWS_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas,
const gfx::Size& size,
const gfx::Point& cursor_offset,
- OSExchangeData* data_object);
+ ui::OSExchangeData* data_object);
// Sets the drag image on data_object from the supplied bitmap. width/height
// are the size of the image to use, and the offsets give the location of
@@ -57,8 +57,8 @@ VIEWS_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas,
VIEWS_EXPORT void SetDragImageOnDataObject(const SkBitmap& bitmap,
const gfx::Size& size,
const gfx::Point& cursor_offset,
- OSExchangeData* data_object);
+ ui::OSExchangeData* data_object);
-} // namespace drag_utils
+} // namespace drag_utils
-#endif // #ifndef VIEWS_DRAG_UTILS_H_
+#endif // UI_VIEWS_DRAG_UTILS_H_
« no previous file with comments | « ui/views/drag_controller.h ('k') | ui/views/drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698