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

Issue 12209045: Initial commit of generated dart:chrome app_window and app_runtime (Closed)

Created:
7 years, 10 months ago by sashab
Modified:
7 years, 10 months ago
CC:
reviews_dartlang.org, benwells, devoncarew
Visibility:
Public.

Description

Initial commit of generated dart:chrome app_window and app_runtime Contains a working version of app_window.idl and app_runtime.idl, and can be run by importing the dart:chrome library. Build with JSON Schema Compiler from Chromium. Committed: https://code.google.com/p/dart/source/detail?r=18415

Patch Set 1 #

Patch Set 2 : Added chromegenerator.py, which (if run from its local directory), generates app_window and app_run… #

Total comments: 10

Patch Set 3 : Various fixes; new generation from changes to JSON schema compiler #

Patch Set 4 : Added prefixes to type names to prevent inter-IDL clashes. #

Patch Set 5 : Fixed app_window.current to return the correct value. #

Patch Set 6 : Added override for getBounds on AppWindow #

Patch Set 7 : Ensuring latest copy is uploaded #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1413 lines, -1005 lines) Patch
M sdk/lib/chrome/dart2js/chrome_dart2js.dart View 1 2 3 4 5 9 chunks +521 lines, -383 lines 0 comments Download
A tools/dom/scripts/chromegenerator.py View 1 2 1 chunk +95 lines, -0 lines 0 comments Download
D tools/dom/src/chrome/app.runtime.dart View 1 chunk +0 lines, -257 lines 0 comments Download
D tools/dom/src/chrome/app.window.dart View 1 chunk +0 lines, -359 lines 0 comments Download
A tools/dom/src/chrome/app_runtime.dart View 1 2 3 1 chunk +259 lines, -0 lines 0 comments Download
A tools/dom/src/chrome/app_window.dart View 1 2 3 4 5 1 chunk +484 lines, -0 lines 0 comments Download
M tools/dom/src/chrome/chrome.dart View 2 chunks +4 lines, -4 lines 0 comments Download
A + tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A tools/dom/src/chrome/custom_dart/app_window.AppWindow.getBounds.dart View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
A tools/dom/src/chrome/custom_dart/app_window.create.dart View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A tools/dom/src/chrome/custom_dart/app_window.current.dart View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate View 1 2 3 2 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sashab
Hi all, This patch contains generated code for app_window.idl and app_runtime.idl. It was generated with ...
7 years, 10 months ago (2013-02-06 22:55:49 UTC) #1
blois
https://codereview.chromium.org/12209045/diff/3001/tools/dom/scripts/chromegenerator.py File tools/dom/scripts/chromegenerator.py (right): https://codereview.chromium.org/12209045/diff/3001/tools/dom/scripts/chromegenerator.py#newcode11 tools/dom/scripts/chromegenerator.py:11: # The path to the JSON Schema Compiler, which ...
7 years, 10 months ago (2013-02-08 00:08:04 UTC) #2
benwells
https://codereview.chromium.org/12209045/diff/3001/tools/dom/src/chrome/app_window.dart File tools/dom/src/chrome/app_window.dart (right): https://codereview.chromium.org/12209045/diff/3001/tools/dom/src/chrome/app_window.dart#newcode171 tools/dom/src/chrome/app_window.dart:171: /// X coordinate of the window. (Deprecated; use 'bounds'.) ...
7 years, 10 months ago (2013-02-08 00:17:46 UTC) #3
sashab
Added licenses to the override files, and updated the generator to produce slightly better formatted ...
7 years, 10 months ago (2013-02-08 00:49:28 UTC) #4
sashab
Added prefixes to type names in the generated library, e.g. Bounds --> AppWindowBounds, etc. This ...
7 years, 10 months ago (2013-02-08 01:43:57 UTC) #5
blois
7 years, 10 months ago (2013-02-12 17:25:39 UTC) #6
lgtm

I think the current naming approach is sufficient- agree that it's not exactly
elegant though.

Powered by Google App Engine
This is Rietveld 408576698