Allow content embedder to set a cursor for RenderWidgetHost
https://codereview.chromium.org/2808763009
This commit is contained in:
parent
1126719e7f
commit
c7f2e2731c
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ using Cursor = blink::WebCursorInfo::Type;
|
|||
|
||||
namespace atom {
|
||||
|
||||
std::string CursorTypeToString(const content::WebCursor::CursorInfo& info) {
|
||||
std::string CursorTypeToString(const content::CursorInfo& info) {
|
||||
switch (info.type) {
|
||||
case Cursor::kTypePointer: return "default";
|
||||
case Cursor::kTypeCross: return "crosshair";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue