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

Issue 519703002: Add [NoImplHeader] extended attribute (Closed)

Created:
6 years, 3 months ago by haraken
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, Inactive, abarth-chromium
Project:
blink
Visibility:
Public.

Description

Add [NoImplHeader] extended attribute If all of attributes and methods of an interface are implemented in private scripts, there is no header file in the C++ side. To prevent the IDL compiler from including non-existing header files, this CL adds an IDL extended attribute to specify the fact. BUG=341031 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181093

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -23 lines) Patch
M Source/bindings/IDLExtendedAttributes.txt View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/scripts/compute_interfaces_info_individual.py View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/scripts/compute_interfaces_info_overall.py View 1 chunk +5 lines, -4 lines 0 comments Download
D Source/core/testing/PartialPrivateScriptTest.h View 1 chunk +0 lines, -17 lines 0 comments Download
M Source/core/testing/PartialPrivateScriptTest.idl View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (1 generated)
haraken
haraken@chromium.org changed reviewers: + jl@opera.com, vivekg@chromium.org
6 years, 3 months ago (2014-08-29 11:29:07 UTC) #1
haraken
PTAL Another approach is to check the existence of the header file to know whether ...
6 years, 3 months ago (2014-08-29 11:29:07 UTC) #2
Jens Widell
LGTM On 2014/08/29 11:29:07, haraken wrote: > Another approach is to check the existence of ...
6 years, 3 months ago (2014-08-29 12:17:04 UTC) #3
haraken
Thanks for review! > A third approach would be to check whether all attributes and ...
6 years, 3 months ago (2014-08-29 12:19:40 UTC) #4
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 3 months ago (2014-08-29 12:19:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/519703002/1
6 years, 3 months ago (2014-08-29 12:20:45 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as 181093
6 years, 3 months ago (2014-08-29 13:25:38 UTC) #7
haraken
yosin, vivekg: You can use [NoImplHeader] and avoid adding an empty header file in the ...
6 years, 3 months ago (2014-09-01 01:35:17 UTC) #9
yosin_UTC9
6 years, 3 months ago (2014-09-01 03:37:46 UTC) #10
Message was sent while issue was closed.
On 2014/09/01 01:35:17, haraken wrote:
> yosin, vivekg: You can use [NoImplHeader] and avoid adding an empty header
file
> in the Blink side.

Thanks!

Powered by Google App Engine
This is Rietveld 408576698