Changeset 128958 in webkit


Ignore:
Timestamp:
Sep 18, 2012 6:33:05 PM (12 years ago)
Author:
ryuan.choi@samsung.com
Message:

[EFL][WK2] Implement PageClientImpl::isViewFocused.
https://bugs.webkit.org/show_bug.cgi?id=97015

Reviewed by Gyuyoung Kim.

WebKit2/Efl always returns true for PageClientImpl::isViewFocused.
So window.onblur events will not be generated when webview lost focus.

This patch implements isViewFocused to return the current focus of webview.

  • UIProcess/API/efl/PageClientImpl.cpp:

(WebKit::PageClientImpl::isViewFocused):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r128943 r128958  
     12012-09-18  Ryuan Choi  <ryuan.choi@samsung.com>
     2
     3        [EFL][WK2] Implement PageClientImpl::isViewFocused.
     4        https://bugs.webkit.org/show_bug.cgi?id=97015
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        WebKit2/Efl always returns true for PageClientImpl::isViewFocused.
     9        So window.onblur events will not be generated when webview lost focus.
     10
     11        This patch implements isViewFocused to return the current focus of webview.
     12
     13        * UIProcess/API/efl/PageClientImpl.cpp:
     14        (WebKit::PageClientImpl::isViewFocused):
     15
    1162012-09-18  Byungwoo Lee  <bw80.lee@samsung.com>
    217
  • trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp

    r128690 r128958  
    9090bool PageClientImpl::isViewFocused()
    9191{
    92     notImplemented();
    93     return true;
     92    return evas_object_focus_get(m_viewWidget);
    9493}
    9594
Note: See TracChangeset for help on using the changeset viewer.