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

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

Issue 2808763009: Allow content embedder to set a cursor for RenderWidgetHost (Closed)
Patch Set: comment Created 3 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
Index: content/common/cursors/webcursor.h
diff --git a/content/common/cursors/webcursor.h b/content/common/cursors/webcursor.h
index c01264e9908b0192df63be78a01b6f04d37b1832..4f7bd59f41fb8198f6ae8c69b79e459a3b4bb323 100644
--- a/content/common/cursors/webcursor.h
+++ b/content/common/cursors/webcursor.h
@@ -9,7 +9,7 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebCursorInfo.h"
+#include "content/public/common/cursor_info.h"
#include "ui/display/display.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
@@ -44,21 +44,6 @@ namespace content {
// WebCursor.
class CONTENT_EXPORT WebCursor {
public:
- struct CursorInfo {
- explicit CursorInfo(blink::WebCursorInfo::Type cursor_type)
- : type(cursor_type),
- image_scale_factor(1) {
- }
-
- CursorInfo()
- : type(blink::WebCursorInfo::kTypePointer), image_scale_factor(1) {}
-
- blink::WebCursorInfo::Type type;
- gfx::Point hotspot;
- float image_scale_factor;
- SkBitmap custom_image;
- };
-
WebCursor();
~WebCursor();
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/common/cursors/webcursor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698