Changeset 201649 in webkit


Ignore:
Timestamp:
Jun 3, 2016 11:22:10 AM (8 years ago)
Author:
peavo@outlook.com
Message:

[Win] Implement WebView::removeAllUserContentFromGroup
https://bugs.webkit.org/show_bug.cgi?id=158343

Reviewed by Brent Fulgham.

  • WebView.cpp:

(WebView::removeAllUserContentFromGroup):

Location:
trunk/Source/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/win/ChangeLog

    r201634 r201649  
     12016-06-03  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] Implement WebView::removeAllUserContentFromGroup
     4        https://bugs.webkit.org/show_bug.cgi?id=158343
     5
     6        Reviewed by Brent Fulgham.
     7
     8        * WebView.cpp:
     9        (WebView::removeAllUserContentFromGroup):
     10
    1112016-06-02  Per Arne Vollan  <pvollan@apple.com>
    212
  • trunk/Source/WebKit/win/WebView.cpp

    r201634 r201649  
    67806780HRESULT WebView::removeAllUserContentFromGroup(_In_ BSTR groupName)
    67816781{
    6782     return E_NOTIMPL;
     6782    String group = toString(groupName);
     6783    if (group.isEmpty())
     6784        return E_FAIL;
     6785
     6786    auto viewGroup = WebViewGroup::get(group);
     6787    if (!viewGroup)
     6788        return S_OK;
     6789
     6790    viewGroup->userContentController().removeAllUserContent();
     6791    return S_OK;
    67836792}
    67846793
Note: See TracChangeset for help on using the changeset viewer.