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

Unified Diff: content/common/cursors/webcursor.h

Issue 201473002: Move webcursors code from webkit/ to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 years, 9 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: content/common/cursors/webcursor.h
diff --git a/webkit/common/cursors/webcursor.h b/content/common/cursors/webcursor.h
similarity index 96%
rename from webkit/common/cursors/webcursor.h
rename to content/common/cursors/webcursor.h
index 7682a0a6992aff72efdd6e1428a13670765e57a7..83021ceb2237aebb16206ea2d968c3ba50460088 100644
--- a/webkit/common/cursors/webcursor.h
+++ b/content/common/cursors/webcursor.h
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_COMMON_CURSORS_WEBCURSOR_H_
-#define WEBKIT_COMMON_CURSORS_WEBCURSOR_H_
+#ifndef CONTENT_COMMON_CURSORS_WEBCURSOR_H_
+#define CONTENT_COMMON_CURSORS_WEBCURSOR_H_
+
+#include <vector>
#include "base/basictypes.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebCursorInfo.h"
#include "ui/gfx/display.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/point.h"
#include "ui/gfx/size.h"
-#include "webkit/common/webkit_common_export.h"
-
-#include <vector>
#if defined(USE_AURA)
#include "ui/base/cursor/cursor.h"
@@ -40,7 +40,7 @@ class PickleIterator;
// specific methods are provided to translate the cross-platform cursor into a
// platform specific cursor. It is also possible to serialize / de-serialize a
// WebCursor.
-class WEBKIT_COMMON_EXPORT WebCursor {
+class CONTENT_EXPORT WebCursor {
jam 2014/03/17 19:56:24 need to put this in the content namespace
tfarina 2014/03/19 04:17:19 Done.
public:
struct CursorInfo {
explicit CursorInfo(blink::WebCursorInfo::Type cursor_type)
@@ -192,4 +192,4 @@ class WEBKIT_COMMON_EXPORT WebCursor {
#endif
};
-#endif // WEBKIT_COMMON_CURSORS_WEBCURSOR_H_
+#endif // CONTENT_COMMON_CURSORS_WEBCURSOR_H_

Powered by Google App Engine
This is Rietveld 408576698