D23099: Allow sending a port message and receive a reply

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Aug 12 21:27:09 BST 2019


broulik updated this revision to Diff 63624.
broulik added a comment.


  - address review comments
  
  there's now a `handleData` overload which takes a `serial` and returns a `QJsonObject`. You can just return a  `QJsonObject` to reply immediately or store the `serial` and call `sendReply` explicitly later

REPOSITORY
  R856 Plasma Browser Integration

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23099?vs=63595&id=63624

REVISION DETAIL
  https://phabricator.kde.org/D23099

AFFECTED FILES
  extension/content-script.js
  extension/extension-utils.js
  extension/extension.js
  host/abstractbrowserplugin.cpp
  host/abstractbrowserplugin.h
  host/pluginmanager.cpp

To: broulik, #plasma, davidedmundson, fvogt
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190812/ab86a826/attachment.html>


More information about the Plasma-devel mailing list