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

Issue 10698049: Unfork html events generation in dart2js and dartium. (Closed)

Created:
8 years, 5 months ago by podivilov
Modified:
8 years, 5 months ago
Reviewers:
Anton Muhin, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Unfork html events generation in dart2js and dartium. R=antonm@google.com,sra@google.com Committed: https://code.google.com/p/dart/source/detail?r=9342

Patch Set 1 #

Total comments: 15

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+534 lines, -631 lines) Patch
M lib/dom/scripts/systemhtml.py View 1 8 chunks +56 lines, -67 lines 0 comments Download
M lib/dom/scripts/systemnative.py View 1 4 chunks +7 lines, -73 lines 0 comments Download
D lib/dom/templates/html/dartium/impl_EventTarget.darttemplate View 1 chunk +0 lines, -106 lines 0 comments Download
D lib/dom/templates/html/frog/impl_EventTarget.darttemplate View 1 chunk +0 lines, -61 lines 0 comments Download
A + lib/dom/templates/html/impl/impl_EventTarget.darttemplate View 0 chunks +-1 lines, --1 lines 0 comments Download
M lib/html/dartium/html_dartium.dart View 79 chunks +472 lines, -325 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
podivilov
8 years, 5 months ago (2012-06-29 16:27:04 UTC) #1
Anton Muhin
https://chromiumcodereview.appspot.com/10698049/diff/1/lib/dom/scripts/systemhtml.py File lib/dom/scripts/systemhtml.py (right): https://chromiumcodereview.appspot.com/10698049/diff/1/lib/dom/scripts/systemhtml.py#newcode882 lib/dom/scripts/systemhtml.py:882: if self._backend.HasImplementation(): is it the only place we have ...
8 years, 5 months ago (2012-07-02 10:49:47 UTC) #2
podivilov
https://chromiumcodereview.appspot.com/10698049/diff/1/lib/dom/scripts/systemhtml.py File lib/dom/scripts/systemhtml.py (right): https://chromiumcodereview.appspot.com/10698049/diff/1/lib/dom/scripts/systemhtml.py#newcode882 lib/dom/scripts/systemhtml.py:882: if self._backend.HasImplementation(): On 2012/07/02 10:49:48, antonmuhin wrote: > is ...
8 years, 5 months ago (2012-07-02 17:08:18 UTC) #3
Anton Muhin
lgtm https://chromiumcodereview.appspot.com/10698049/diff/1/lib/html/dartium/html_dartium.dart File lib/html/dartium/html_dartium.dart (left): https://chromiumcodereview.appspot.com/10698049/diff/1/lib/html/dartium/html_dartium.dart#oldcode70 lib/html/dartium/html_dartium.dart:70: void $dom_addEventListener(type, listener, [useCapture = _null]) { To ...
8 years, 5 months ago (2012-07-02 17:14:09 UTC) #4
podivilov
Thanks! https://chromiumcodereview.appspot.com/10698049/diff/1/lib/html/dartium/html_dartium.dart File lib/html/dartium/html_dartium.dart (left): https://chromiumcodereview.appspot.com/10698049/diff/1/lib/html/dartium/html_dartium.dart#oldcode70 lib/html/dartium/html_dartium.dart:70: void $dom_addEventListener(type, listener, [useCapture = _null]) { On ...
8 years, 5 months ago (2012-07-03 11:40:45 UTC) #5
Anton Muhin
8 years, 5 months ago (2012-07-03 12:20:51 UTC) #6
https://chromiumcodereview.appspot.com/10698049/diff/1/lib/html/dartium/html_...
File lib/html/dartium/html_dartium.dart (left):

https://chromiumcodereview.appspot.com/10698049/diff/1/lib/html/dartium/html_...
lib/html/dartium/html_dartium.dart:70: void $dom_addEventListener(type,
listener, [useCapture = _null]) {
On 2012/07/03 11:40:45, podivilov wrote:
> On 2012/07/02 17:14:10, antonmuhin wrote:
> > To reduce the size of the snapshot?
> > 
> > Do you know examples of non-virtual methods?  That smells pretty much like a
> bug
> > to me.
> 
> Uint8Array vs. Uint8ClampedArray :)
> 
> > 
> > On 2012/07/02 17:08:18, podivilov wrote:
> > > On 2012/07/02 10:49:48, antonmuhin wrote:
> > > > those methods are apparently can be inherited from _EventTargetImpl
right
> > now.
> > > 
> > > > Can it be fixed in this CL?
> > > 
> > > Why should we bother eliminating inherited methods? Sometimes they are not
> > even
> > > virtual in c++. AFAIK in V8 bindings such methods aren't eliminated.
> > 
> 

Yes, but I am not sure this applies to EventTarget methods as those apparently
come from C++ multiple inheritance.

Powered by Google App Engine
This is Rietveld 408576698