Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 1942683005: Refactor event handler classes to make it easier to add new event type listeners. (Closed)

Created:
4 years, 7 months ago by David Tseng
Modified:
4 years, 7 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, extensions-reviews_chromium.org, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, chromium-apps-reviews_chromium.org, dmazzoni+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor event handler classes to make it easier to add new event type listeners. A new event type, activedescendantchanged, was added. Moving forward, it will be simpler to separate handlers (which contain groups of events), into separate classes. BaseAutomationHandler will provide basic utilities that are useful when daeling with a group of extension-styled event listeners (e.g. adding/removing, binding, etc). CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/4b26b22de82af571edd4176547abead9f95ae200 Cr-Commit-Position: refs/heads/master@{#391395}

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -142 lines) Patch
M chrome/browser/resources/chromeos/chromevox/chromevox.gni View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/background/background.js View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js View 2 chunks +8 lines, -1 line 0 comments Download
A chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js View 1 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/base_automation_handler.js View 2 chunks +16 lines, -107 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js View 1 9 chunks +81 lines, -24 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/tabs_automation_handler.js View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/renderer/resources/extensions/automation/automation_node.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/automation/tests/tabs/attributes.js View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
David Tseng
4 years, 7 months ago (2016-05-02 22:07:52 UTC) #3
dmazzoni
lgtm https://codereview.chromium.org/1942683005/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js (right): https://codereview.chromium.org/1942683005/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js#newcode13 chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js:13: goog.provide('AutomationObjectInstaller'); Nice hack! How about something like AutomationObjectConstructorInstaller? ...
4 years, 7 months ago (2016-05-02 22:15:48 UTC) #4
David Tseng
https://codereview.chromium.org/1942683005/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js (right): https://codereview.chromium.org/1942683005/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js#newcode13 chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_installer.js:13: goog.provide('AutomationObjectInstaller'); On 2016/05/02 22:15:48, dmazzoni wrote: > Nice hack! ...
4 years, 7 months ago (2016-05-03 20:18:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1942683005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1942683005/20001
4 years, 7 months ago (2016-05-03 20:47:39 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/223033)
4 years, 7 months ago (2016-05-03 21:28:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1942683005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1942683005/40001
4 years, 7 months ago (2016-05-03 21:41:56 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-03 23:33:59 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 23:35:26 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4b26b22de82af571edd4176547abead9f95ae200
Cr-Commit-Position: refs/heads/master@{#391395}

Powered by Google App Engine
This is Rietveld 408576698