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

Issue 2872028: Modified grit to support <if expr="..."> tags within included html files (Closed)

Created:
10 years, 5 months ago by zel
Modified:
9 years, 6 months ago
CC:
chromium-reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Modified grit to support <if expr="..."> tags within included html files. Removed ChromeOS-specific sub-pages from options by using the newly added if tag. Changed <!--include file="..."--> tag to <include src="...">. BUG=chromium-os:4450 TEST=make sure that chromeos specific pages don't show in chrome:options for other platforms Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51578

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -10 lines) Patch
M chrome/browser/resources/options.html View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M tools/grit/grit/format/html_inline.py View 1 2 6 chunks +21 lines, -3 lines 0 comments Download
M tools/grit/grit/format/rc.py View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/grit/grit/format/rc_unittest.py View 3 chunks +36 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
zel
10 years, 5 months ago (2010-07-02 08:04:18 UTC) #1
Jói
I'd like to see unit tests added for the GRIT changes. The approach looks fine ...
10 years, 5 months ago (2010-07-02 10:10:55 UTC) #2
arv (Not doing code reviews)
I think it is a bit inconsistent that the include is done with a comment ...
10 years, 5 months ago (2010-07-02 16:32:38 UTC) #3
csilv
http://codereview.chromium.org/2872028/diff/2001/3002 File tools/grit/grit/format/html_inline.py (right): http://codereview.chromium.org/2872028/diff/2001/3002#newcode82 tools/grit/grit/format/html_inline.py:82: """ suggest adding grd_node to the args list descriptions.
10 years, 5 months ago (2010-07-02 18:01:31 UTC) #4
zel
I have also added until test per Joi's comments and renamed include tag as arv ...
10 years, 5 months ago (2010-07-02 20:34:36 UTC) #5
dhg
LGTM On 2010/07/02 20:34:36, zel wrote: > I have also added until test per Joi's ...
10 years, 5 months ago (2010-07-02 23:01:03 UTC) #6
arv (Not doing code reviews)
lgtm
10 years, 5 months ago (2010-07-02 23:03:21 UTC) #7
Jói
lgtm On Jul 2, 2010 11:03 PM, <arv@chromium.org> wrote: > lgtm > > http://codereview.chromium.org/2872028/show
10 years, 5 months ago (2010-07-03 00:14:44 UTC) #8
csilv
lgtm
10 years, 5 months ago (2010-07-03 00:17:13 UTC) #9
csilv
regarding the syntax change for the include files, does that impact other files already in ...
10 years, 5 months ago (2010-07-03 00:18:49 UTC) #10
arv (Not doing code reviews)
The include syntax was added only a few days ago and there should be no ...
10 years, 5 months ago (2010-07-03 00:26:45 UTC) #11
zel
10 years, 5 months ago (2010-07-03 00:48:23 UTC) #12
That is correct, my CL is the first one that introduced the new include and
if tags.


On Fri, Jul 2, 2010 at 5:26 PM, Erik Arvidsson <arv@chromium.org> wrote:

> The include syntax was added only a few days ago and there should be
> no other uses yet.
>
> erik
>
>
>
> On Fri, Jul 2, 2010 at 17:18,  <csilv@chromium.org> wrote:
> > regarding the syntax change for the include files, does that impact other
> > files
> > already in use or grit pretty new to the project?
> >
> > http://codereview.chromium.org/2872028/show
> >
>

Powered by Google App Engine
This is Rietveld 408576698