[webkit-changes] [WebKit/WebKit] 6b394a: [WPE] Simplify WKWPE::ViewPlatform constructor

Carlos Garcia Campos noreply at github.com
Tue Jul 2 03:48:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6b394a6a5842367664e883136bf0e448c6e4fb0e
      https://github.com/WebKit/WebKit/commit/6b394a6a5842367664e883136bf0e448c6e4fb0e
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp
    M Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.h

  Log Message:
  -----------
  [WPE] Simplify WKWPE::ViewPlatform constructor
https://bugs.webkit.org/show_bug.cgi?id=276114

Reviewed by Nikolas Zimmermann.

Move signal callback implementations to helper functions to reduce the
size of the constructor and improve readability.

* Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp:
(WKWPE::ViewPlatform::ViewPlatform):
(WKWPE::ViewPlatform::activityStateChanged):
(WKWPE::ViewPlatform::toplevelStateChanged):
(WKWPE::ViewPlatform::handleEvent):
* Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.h:

Canonical link: https://commits.webkit.org/280569@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list