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

Issue 12907019: KeyboardEventStream: lock it down (Closed)

Created:
7 years, 9 months ago by kevmoo-old
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

KeyboardEventStream: lock it down Use superclass remove unused _callbacks field Make most fields final use static, const, final where applicable Committed: https://code.google.com/p/dart/source/detail?r=20568

Patch Set 1 #

Total comments: 3

Patch Set 2 : per antonm #

Total comments: 2

Patch Set 3 : oops #

Patch Set 4 : wwhile I'm at it #

Total comments: 3

Patch Set 5 : tabs #

Patch Set 6 : generate the tab-free version, too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -102 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 6 chunks +14 lines, -34 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 6 chunks +14 lines, -34 lines 0 comments Download
M tools/dom/src/KeyboardEventStream.dart View 1 2 3 4 6 chunks +14 lines, -34 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kevmoo-old
PTAL
7 years, 9 months ago (2013-03-27 13:09:56 UTC) #1
Anton Muhin
dbc https://codereview.chromium.org/12907019/diff/1/tools/dom/src/KeyboardEventStream.dart File tools/dom/src/KeyboardEventStream.dart (right): https://codereview.chromium.org/12907019/diff/1/tools/dom/src/KeyboardEventStream.dart#newcode19 tools/dom/src/KeyboardEventStream.dart:19: List<KeyboardEvent> _keyDownList = []; that's not quite safe: ...
7 years, 9 months ago (2013-03-27 13:49:55 UTC) #2
kevmoo-old
this._type is goodness. Must explicitly init all finals. Even if it's just to null. PTAL
7 years, 9 months ago (2013-03-27 13:59:02 UTC) #3
Anton Muhin
Thanks! https://codereview.chromium.org/12907019/diff/3002/tools/dom/src/KeyboardEventStream.dart File tools/dom/src/KeyboardEventStream.dart (right): https://codereview.chromium.org/12907019/diff/3002/tools/dom/src/KeyboardEventStream.dart#newcode102 tools/dom/src/KeyboardEventStream.dart:102: _target = target, super(_EVENT_TYPE) { this._target.
7 years, 9 months ago (2013-03-27 14:00:38 UTC) #4
kevmoo-old
oops. https://codereview.chromium.org/12907019/diff/3002/tools/dom/src/KeyboardEventStream.dart File tools/dom/src/KeyboardEventStream.dart (right): https://codereview.chromium.org/12907019/diff/3002/tools/dom/src/KeyboardEventStream.dart#newcode102 tools/dom/src/KeyboardEventStream.dart:102: _target = target, super(_EVENT_TYPE) { On 2013/03/27 14:00:38, ...
7 years, 9 months ago (2013-03-27 14:02:56 UTC) #5
Emily Fortuna
lovely cleanups. I'm embarrassed I missed them myself. lgtm after you replace the tab with ...
7 years, 9 months ago (2013-03-27 17:26:40 UTC) #6
kevmoo-old
7 years, 9 months ago (2013-03-27 17:41:24 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as r20568 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698