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 11416028: Added top level definition to Window. (Closed)

Created:
8 years, 1 month ago by Andrei Mouravski
Modified:
8 years, 1 month ago
Reviewers:
Kathy Walrath, blois
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Added top level definition to Window. Committed: https://code.google.com/p/dart/source/detail?r=15022

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review updates. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 1 chunk +16 lines, -0 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 1 chunk +16 lines, -0 lines 0 comments Download
M sdk/lib/html/src/CrossFrameTypes.dart View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Andrei Mouravski
16 lines of joy.
8 years, 1 month ago (2012-11-16 01:44:18 UTC) #1
blois
lgtm Code changes look fine.
8 years, 1 month ago (2012-11-16 01:49:15 UTC) #2
Kathy Walrath
A few quibbles. Does this really need to be in 3 files? That seems broken. ...
8 years, 1 month ago (2012-11-16 16:47:06 UTC) #3
Andrei Mouravski
8 years, 1 month ago (2012-11-16 18:02:16 UTC) #4
Thanks for the review. Submitting.

P.S. Yes, this needs to be in three files. The go.sh generates the big library
files that are actually used, and we need those to snapshot the updates to
anywhere in the pipeline (IDL or src changes.)

https://codereview.chromium.org/11416028/diff/1/sdk/lib/html/dart2js/html_dar...
File sdk/lib/html/dart2js/html_dart2js.dart (right):

https://codereview.chromium.org/11416028/diff/1/sdk/lib/html/dart2js/html_dar...
sdk/lib/html/dart2js/html_dart2js.dart:22011: * Represents the top level context
object for web scripting.
On 2012/11/16 16:47:06, Kathy Walrath wrote:
> I've been saying that classes should be noun phrases (not verb phrases). Only
> methods and functions should be verbs.
> 
> So "Represents the" -> "The".
> 
> Or, if that's not correct, something like:
> 
> An object representing the top-level context for web scripting.
> 
> (top-level should be hyphenated since it comes before the noun)

Done.

https://codereview.chromium.org/11416028/diff/1/sdk/lib/html/dart2js/html_dar...
sdk/lib/html/dart2js/html_dart2js.dart:22018: * **Note:** that this class
represents any window, whereas [LocalWindow] is
On 2012/11/16 16:47:06, Kathy Walrath wrote:
> that this
> -> This

Done.

Powered by Google App Engine
This is Rietveld 408576698