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

Issue 8360025: Move the individual property definitions from client/base/Css to CSSStyleDeclaration. (Closed)

Created:
9 years, 2 months ago by nweiz
Modified:
9 years, 2 months ago
Reviewers:
Jacob
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Move the individual property definitions from client/base/Css to CSSStyleDeclaration. Committed: https://code.google.com/p/dart/source/detail?r=651

Patch Set 1 #

Total comments: 11

Patch Set 2 : Code review changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9709 lines, -6389 lines) Patch
M client/base/AnimationScheduler.dart View 3 chunks +4 lines, -4 lines 0 comments Download
D client/base/Css.dart View 1 chunk +0 lines, -6154 lines 0 comments Download
M client/base/base.dart View 1 chunk +0 lines, -1 line 0 comments Download
M client/base/scripts/css_code_generator.py View 1 1 chunk +0 lines, -139 lines 0 comments Download
M client/html/html.dart View 1 chunk +1 line, -0 lines 0 comments Download
M client/html/release/html.dart View 1 3 chunks +4697 lines, -40 lines 0 comments Download
A client/html/scripts/css_code_generator.py View 1 1 chunk +219 lines, -0 lines 0 comments Download
M client/html/src/CSSStyleDeclaration.dart View 1 2 chunks +1851 lines, -0 lines 0 comments Download
M client/html/src/CSSStyleDeclarationWrappingImplementation.dart View 1 2 chunks +2786 lines, -0 lines 0 comments Download
A client/html/src/Device.dart View 1 1 chunk +20 lines, -0 lines 0 comments Download
M client/html/src/DocumentFragmentWrappingImplementation.dart View 1 chunk +1 line, -1 line 0 comments Download
M client/layout/ViewLayout.dart View 3 chunks +10 lines, -10 lines 0 comments Download
M client/samples/swarm/SwarmViews.dart View 3 chunks +5 lines, -5 lines 0 comments Download
M client/samples/swarm/Views.dart View 2 chunks +4 lines, -4 lines 0 comments Download
A client/tests/client/html/CSSStyleDeclarationTests.dart View 1 1 chunk +80 lines, -0 lines 0 comments Download
M client/tests/client/html/html_tests.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M client/tests/client/layout/GridLayoutDemo.dart View 1 chunk +1 line, -1 line 0 comments Download
M client/touch/FxUtil.dart View 5 chunks +12 lines, -12 lines 0 comments Download
M client/touch/InfiniteScroller.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M client/touch/Scrollbar.dart View 1 chunk +1 line, -1 line 0 comments Download
M client/touch/Scroller.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M client/view/ConveyorView.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M client/view/PagedViews.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M client/view/SliderMenu.dart View 1 chunk +1 line, -1 line 0 comments Download
M client/view/view.dart View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
nweiz
9 years, 2 months ago (2011-10-21 03:48:30 UTC) #1
Jacob
Looks very good. Some minor comments. Also, be sure to rerun the tests and add ...
9 years, 2 months ago (2011-10-21 17:12:23 UTC) #2
nweiz
http://codereview.chromium.org/8360025/diff/1/client/base/scripts/css_code_generator.py File client/base/scripts/css_code_generator.py (left): http://codereview.chromium.org/8360025/diff/1/client/base/scripts/css_code_generator.py#oldcode5 client/base/scripts/css_code_generator.py:5: # BSD-style license that can be found in the ...
9 years, 2 months ago (2011-10-24 19:48:28 UTC) #3
Jacob
9 years, 2 months ago (2011-10-24 20:07:15 UTC) #4
lgtm

http://codereview.chromium.org/8360025/diff/1/client/html/src/DocumentFragmen...
File client/html/src/DocumentFragmentWrappingImplementation.dart (right):

http://codereview.chromium.org/8360025/diff/1/client/html/src/DocumentFragmen...
client/html/src/DocumentFragmentWrappingImplementation.dart:109: class
EmptyStyleDeclaration extends CSSStyleDeclarationWrappingImplementation {
On 2011/10/24 19:48:28, nweiz wrote:
> On 2011/10/21 17:12:23, jacobr wrote:
> > this doesn't seem right... what will _ptr be set to?
> 
> It shouldn't need to be set to anything. We override all the methods that use
> _ptr to return default values. The reason we're extending is so we don't have
to
> generate all the get/set methods, which ultimately call {get,set}PropertyValue
> anyway.
clever

Powered by Google App Engine
This is Rietveld 408576698