RESOLVED FIXED Bug 88803
[EFL] Move cursor related code from WidgetEfl to ewk_view and EflScreenUtilities.
https://bugs.webkit.org/show_bug.cgi?id=88803
Summary [EFL] Move cursor related code from WidgetEfl to ewk_view and EflScreenUtilit...
Ryuan Choi
Reported 2012-06-11 13:51:38 PDT
Because WebProcess can not control cursor, setCursor should be passed to UIProcess via ChromeClient. As a second step, Move and refactor cursor related code from WidgetEfl to ewk_view and EflScreenUtilities.
Attachments
Patch (15.54 KB, patch)
2012-06-11 14:37 PDT, Ryuan Choi
no flags
Patch (15.90 KB, patch)
2012-06-11 14:56 PDT, Ryuan Choi
no flags
Patch (15.94 KB, patch)
2012-06-11 16:28 PDT, Ryuan Choi
no flags
Patch (15.90 KB, patch)
2012-06-12 21:31 PDT, Ryuan Choi
no flags
Patch (15.93 KB, patch)
2012-06-13 03:25 PDT, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2012-06-11 14:37:07 PDT
Ryuan Choi
Comment 2 2012-06-11 14:56:30 PDT
Ryuan Choi
Comment 3 2012-06-11 16:28:55 PDT
Gyuyoung Kim
Comment 4 2012-06-12 18:50:03 PDT
Comment on attachment 146957 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=146957&action=review Are there test cases covered by this patch ? > Source/WebCore/platform/efl/EflScreenUtilities.cpp:115 > + Ecore_X_Window win = ecore_evas_software_x11_window_get(ecoreEvas); I prefer to use full name for variable. s/win/window/g, s/cur/cursor/g
Ryuan Choi
Comment 5 2012-06-12 21:31:55 PDT
Ryuan Choi
Comment 6 2012-06-12 21:33:24 PDT
(In reply to comment #4) > (From update of attachment 146957 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=146957&action=review > > Are there test cases covered by this patch ? > I am not sure whether we can test cursor. At least DRT/Efl can not test it because we just calls WebCore::paint. > > Source/WebCore/platform/efl/EflScreenUtilities.cpp:115 > > + Ecore_X_Window win = ecore_evas_software_x11_window_get(ecoreEvas); > > I prefer to use full name for variable. s/win/window/g, s/cur/cursor/g OK, I fixed.
Gyuyoung Kim
Comment 7 2012-06-13 03:08:52 PDT
Comment on attachment 147223 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=147223&action=review From the viewpoint of refactoring, looks fine except for trivial nit. > Source/WebCore/platform/efl/EflScreenUtilities.cpp:134 > + const char *engine = ecore_evas_engine_name_get(ecoreEvas); Style nit : Move '*' to variable side.
Ryuan Choi
Comment 8 2012-06-13 03:25:09 PDT
Ryuan Choi
Comment 9 2012-06-13 03:26:03 PDT
(In reply to comment #7) > (From update of attachment 147223 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=147223&action=review > > From the viewpoint of refactoring, looks fine except for trivial nit. > > > Source/WebCore/platform/efl/EflScreenUtilities.cpp:134 > > + const char *engine = ecore_evas_engine_name_get(ecoreEvas); > > Style nit : Move '*' to variable side. Thanks, fixed.
Gyuyoung Kim
Comment 10 2012-06-13 19:22:24 PDT
LGTM.
Chang Shu
Comment 11 2012-06-14 07:16:45 PDT
Comment on attachment 147275 [details] Patch r+ based on Gyuyoung's comments.
Ryuan Choi
Comment 12 2012-06-14 15:32:11 PDT
Comment on attachment 147275 [details] Patch thank you.
WebKit Review Bot
Comment 13 2012-06-14 16:10:02 PDT
Comment on attachment 147275 [details] Patch Clearing flags on attachment: 147275 Committed r120369: <http://trac.webkit.org/changeset/120369>
WebKit Review Bot
Comment 14 2012-06-14 16:10:08 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.