Bug 167191 - Add a mechanism to dispatch and listen to an action
Summary: Add a mechanism to dispatch and listen to an action
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Perf Dashboard (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 20:07 PST by Ryosuke Niwa
Modified: 2017-01-19 14:59 PST (History)
4 users (show)

See Also:


Attachments
Adds the notion of an action (17.80 KB, patch)
2017-01-18 23:23 PST, Ryosuke Niwa
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2017-01-18 20:07:45 PST
Right now, various perf dashboard components have methods like setCallback
to do work when some user-initiated or network-initiated events.

Introduce the notion of "action" to standardize this mechanism.
Comment 1 Ryosuke Niwa 2017-01-18 23:23:48 PST
Created attachment 299235 [details]
Adds the notion of an action
Comment 2 Antti Koivisto 2017-01-19 14:58:33 PST
Comment on attachment 299235 [details]
Adds the notion of an action

rs=me
Comment 3 Ryosuke Niwa 2017-01-19 14:59:57 PST
Committed r210938: <http://trac.webkit.org/changeset/210938>