OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Test for [OriginTrialEnabled] extended attribute applied to a partial | 5 // Test for [OriginTrialEnabled] extended attribute applied to a partial |
6 // interface. This is separate from TestInterfacePartial, as the | 6 // interface. This is separate from TestInterfacePartial, as the |
7 // [OriginTrialEnabled] attribute cannot be applied with [RuntimeEnabled]. | 7 // [OriginTrialEnabled] attribute cannot be applied with [RuntimeEnabled]. |
8 | 8 |
9 [ | 9 [ |
10 OriginTrialEnabled=OriginTrialPartialFeature, // Conflicts with RuntimeEnabl
ed | 10 OriginTrialEnabled=OriginTrialPartialFeature, // Conflicts with RuntimeEnabl
ed |
11 ] partial interface TestInterface { | 11 ] partial interface TestInterface { |
12 const unsigned short PARTIAL4_UNSIGNED_SHORT = 4; | 12 const unsigned short PARTIAL4_UNSIGNED_SHORT = 4; |
13 | 13 |
14 attribute long partial4LongAttribute; | 14 attribute long partial4LongAttribute; |
15 static attribute long partial4StaticLongAttribute; | 15 static attribute long partial4StaticLongAttribute; |
16 | 16 |
17 void partial4VoidMethod(); | 17 void partial4VoidMethod(); |
18 static void partial4StaticVoidMethod(); | 18 static void partial4StaticVoidMethod(); |
19 }; | 19 }; |
OLD | NEW |