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

Unified Diff: content/common/cursors/webcursor_aura.cc

Issue 201473002: Move webcursors code from webkit/ to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gfx image include 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
« no previous file with comments | « content/common/cursors/webcursor_android.cc ('k') | content/common/cursors/webcursor_aurawin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cursors/webcursor_aura.cc
diff --git a/webkit/common/cursors/webcursor_aura.cc b/content/common/cursors/webcursor_aura.cc
similarity index 97%
rename from webkit/common/cursors/webcursor_aura.cc
rename to content/common/cursors/webcursor_aura.cc
index a7378683a56f56220dcbc5333718908366886880..584ebdfb600f26b2b030284eb189a7648a2a71be 100644
--- a/webkit/common/cursors/webcursor_aura.cc
+++ b/content/common/cursors/webcursor_aura.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/common/cursors/webcursor.h"
+#include "content/common/cursors/webcursor.h"
#include "base/logging.h"
#include "third_party/WebKit/public/platform/WebCursorInfo.h"
@@ -10,6 +10,8 @@
using blink::WebCursorInfo;
+namespace content {
+
gfx::NativeCursor WebCursor::GetNativeCursor() {
switch (type_) {
case WebCursorInfo::TypePointer:
@@ -108,3 +110,5 @@ gfx::NativeCursor WebCursor::GetNativeCursor() {
return gfx::kNullCursor;
}
}
+
+} // namespace content
« no previous file with comments | « content/common/cursors/webcursor_android.cc ('k') | content/common/cursors/webcursor_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698