RESOLVED FIXED Bug 59411
[EFL] Change cursor to LAZY_NATIVE_CURSOR
https://bugs.webkit.org/show_bug.cgi?id=59411
Summary [EFL] Change cursor to LAZY_NATIVE_CURSOR
Ryuan Choi
Reported 2011-04-25 19:58:24 PDT
Other ports use LAZY_NATIVE_CURSOR, but EFL doesn't.
Attachments
Patch (12.86 KB, patch)
2011-04-25 20:13 PDT, Ryuan Choi
no flags
Patch (12.86 KB, patch)
2011-04-25 21:22 PDT, Ryuan Choi
no flags
Patch (12.81 KB, patch)
2011-04-27 19:43 PDT, Ryuan Choi
no flags
Patch (12.81 KB, patch)
2011-04-27 20:01 PDT, Ryuan Choi
no flags
Patch (12.87 KB, patch)
2011-04-27 21:12 PDT, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2011-04-25 20:13:33 PDT
Ryuan Choi
Comment 2 2011-04-25 21:22:45 PDT
Eric Seidel (no email)
Comment 3 2011-04-26 15:11:18 PDT
Comment on attachment 91051 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91051&action=review Looks fine except for the , strangeness. I think we only do the leading comma for initializer lists. > Source/WebCore/platform/efl/CursorEfl.cpp:62 > + "cursor/pointer" > + , "cursor/cross" I think we would normally write this "foo", and put a comma after every line. But I'm not sure. > Source/WebCore/platform/efl/CursorEfl.cpp:104 > + , ""}; What's this for?
Ryuan Choi
Comment 4 2011-04-27 19:43:15 PDT
Antonio Gomes
Comment 5 2011-04-27 19:46:05 PDT
Comment on attachment 91411 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91411&action=review > Source/WebCore/platform/efl/CursorEfl.cpp:58 > +static const char* getCursorString(Cursor::Type type) We usually do not use "get" for getters. > Source/WebCore/platform/efl/WidgetEfl.cpp:266 > + const char *group = cursor.platformCursor(); * in the left side.
Ryuan Choi
Comment 6 2011-04-27 20:00:22 PDT
(In reply to comment #3) > (From update of attachment 91051 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=91051&action=review > > Looks fine except for the , strangeness. I think we only do the leading comma for initializer lists. > > > Source/WebCore/platform/efl/CursorEfl.cpp:62 > > + "cursor/pointer" > > + , "cursor/cross" > Thank you. It's my mistake and changed. > I think we would normally write this "foo", and put a comma after every line. But I'm not sure. > > > Source/WebCore/platform/efl/CursorEfl.cpp:104 > > + , ""}; > > What's this for? WebCore::Cursor::Type have Custom, but EFL port doesn't support it yet. "" at position of Custom will prevent exception.
Ryuan Choi
Comment 7 2011-04-27 20:01:35 PDT
Ryuan Choi
Comment 8 2011-04-27 20:02:31 PDT
(In reply to comment #5) > (From update of attachment 91411 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=91411&action=review > > > Source/WebCore/platform/efl/CursorEfl.cpp:58 > > +static const char* getCursorString(Cursor::Type type) > changed to cursorString. > We usually do not use "get" for getters. > > > Source/WebCore/platform/efl/WidgetEfl.cpp:266 > > + const char *group = cursor.platformCursor(); > > * in the left side. Done. Thank you for quick review.
Antonio Gomes
Comment 9 2011-04-27 20:12:54 PDT
Comment on attachment 91413 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91413&action=review > Source/WebCore/platform/efl/CursorEfl.cpp:104 > + ""}; >WebCore::Cursor::Type have Custom, but EFL port doesn't support it yet. >"" at position of Custom will prevent exception. add a comment?
Ryuan Choi
Comment 10 2011-04-27 21:12:37 PDT
WebKit Commit Bot
Comment 11 2011-04-27 23:46:15 PDT
Comment on attachment 91422 [details] Patch Clearing flags on attachment: 91422 Committed r85168: <http://trac.webkit.org/changeset/85168>
WebKit Commit Bot
Comment 12 2011-04-27 23:46:21 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.