Changeset 121770 in webkit


Ignore:
Timestamp:
Jul 3, 2012 8:40:02 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK2] Added missing WebPageProxy::ViewIsFocused flag to WebPageProxy::viewStateDidChange()
call in _ewk_view_smart_focus_out() function.
https://bugs.webkit.org/show_bug.cgi?id=89877

Patch by Piotr Roguski <p.roguski@samsung.com> on 2012-07-03
Reviewed by Andreas Kling.

Although name of the flag suggest it should be used only on focus in,
omitting it in case of focus out will prevent WebPageProxy::viewStateDidChange()
from sending Messages::WebPage::SetFocused(false).

  • UIProcess/API/efl/ewk_view.cpp:

(_ewk_view_smart_focus_out):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r121769 r121770  
     12012-07-03  Piotr Roguski  <p.roguski@samsung.com>
     2
     3        [EFL][WK2] Added missing WebPageProxy::ViewIsFocused flag to WebPageProxy::viewStateDidChange()
     4        call in _ewk_view_smart_focus_out() function.
     5        https://bugs.webkit.org/show_bug.cgi?id=89877
     6
     7        Reviewed by Andreas Kling.
     8
     9        Although name of the flag suggest it should be used only on focus in,
     10        omitting it in case of focus out will prevent WebPageProxy::viewStateDidChange()
     11        from sending Messages::WebPage::SetFocused(false).
     12
     13        * UIProcess/API/efl/ewk_view.cpp:
     14        (_ewk_view_smart_focus_out):
     15
    1162012-07-03  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
    217
  • trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

    r121733 r121770  
    124124    EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false)
    125125
    126     priv->pageClient->page()->viewStateDidChange(WebPageProxy::ViewWindowIsActive);
     126    priv->pageClient->page()->viewStateDidChange(WebPageProxy::ViewIsFocused | WebPageProxy::ViewWindowIsActive);
    127127    return true;
    128128}
Note: See TracChangeset for help on using the changeset viewer.