WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
98280
[EFL][WK2] Implement window frame callbacks in UIClient
https://bugs.webkit.org/show_bug.cgi?id=98280
Summary
[EFL][WK2] Implement window frame callbacks in UIClient
Chris Dumez
Reported
2012-10-03 10:35:38 PDT
We need to implement the following callbacks in EwkView's UIClients: getWindowFrame() setWindowFrame()
Attachments
Patch
(2.55 KB, patch)
2012-10-03 10:38 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(2.53 KB, patch)
2012-10-03 10:49 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(2.25 KB, patch)
2012-10-03 11:59 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(4.46 KB, patch)
2012-10-04 11:41 PDT
,
Chris Dumez
kenneth
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Patch for landing
(4.44 KB, patch)
2012-10-04 22:33 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2012-10-03 10:38:12 PDT
Created
attachment 166917
[details]
Patch
Chris Dumez
Comment 2
2012-10-03 10:49:59 PDT
Created
attachment 166920
[details]
Patch Use ecore_evas_move_resize() to avoid 2 separate calls.
Chris Dumez
Comment 3
2012-10-03 11:59:24 PDT
Created
attachment 166932
[details]
Patch Use Evas object API to match corresponding WKTR implementation.
Ryuan Choi
Comment 4
2012-10-03 22:38:50 PDT
Comment on
attachment 166932
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=166932&action=review
> Source/WebKit2/ChangeLog:10 > + Implement getWindowFrame and setWindowFrame callbacks > + in EwkView's UIClient so that the window frame > + geometry can be queried / set.
Can we have test case for this?
> Source/WebKit2/UIProcess/API/efl/ewk_view_ui_client.cpp:111 > + evas_object_move(view, frame.origin.x, frame.origin.y); > + evas_object_resize(view, frame.size.width, frame.size.height);
I am not sure whether we should move evas object or ecore_evas. Can I know when this is called?
Chris Dumez
Comment 5
2012-10-03 22:47:42 PDT
Comment on
attachment 166932
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=166932&action=review
>> Source/WebKit2/ChangeLog:10 >> + geometry can be queried / set. > > Can we have test case for this?
Hmm. I'm not adding any new API here. I guess it should be possible to test this though, I'll take a look.
>> Source/WebKit2/UIProcess/API/efl/ewk_view_ui_client.cpp:111 >> + evas_object_resize(view, frame.size.width, frame.size.height); > > I am not sure whether we should move evas object or ecore_evas. > > Can I know when this is called?
We need evas_object. There is corresponding code in WebKitTestRunner (PlatformWebView::windowFrame). I tried both (evas_object and ecore_evas) in WKTR, with ecore_evas, the corresponding LayoutTests are failing. However, with evas_object, they are passing.
Chris Dumez
Comment 6
2012-10-04 00:37:10 PDT
Comment on
attachment 166932
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=166932&action=review
>>> Source/WebKit2/UIProcess/API/efl/ewk_view_ui_client.cpp:111 >>> + evas_object_resize(view, frame.size.width, frame.size.height); >> >> I am not sure whether we should move evas object or ecore_evas. >> >> Can I know when this is called? > > We need evas_object. There is corresponding code in WebKitTestRunner (PlatformWebView::windowFrame). I tried both (evas_object and ecore_evas) in WKTR, with ecore_evas, the corresponding LayoutTests are failing. However, with evas_object, they are passing.
Actually, you're right that it needs be ecore_evas, I have tested. I will update the patch.
Chris Dumez
Comment 7
2012-10-04 11:41:30 PDT
Created
attachment 167150
[details]
Patch - Use Ecore_Evas API - Add unit test
WebKit Review Bot
Comment 8
2012-10-04 16:22:30 PDT
Comment on
attachment 167150
[details]
Patch Rejecting
attachment 167150
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 Last 500 characters of output: Kit/chromium/third_party/yasm/source/patched-yasm --revision 154708 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' 51>At revision 154708. ________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' ________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' Updating webkit projects from gyp files... Full output:
http://queues.webkit.org/results/14173341
Chris Dumez
Comment 9
2012-10-04 22:33:13 PDT
Created
attachment 167251
[details]
Patch for landing Rebased on master. Could someone please cq+ ?
WebKit Review Bot
Comment 10
2012-10-04 23:11:50 PDT
Comment on
attachment 167251
[details]
Patch for landing Clearing flags on attachment: 167251 Committed
r130464
: <
http://trac.webkit.org/changeset/130464
>
WebKit Review Bot
Comment 11
2012-10-04 23:11:55 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.
Top of Page
Format For Printing
XML
Clone This Bug