| 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 // TODO(chasej): Uncomment when static attributes are supported for origin t
rials (crbug.com/614352) | 15 // TODO(chasej): Uncomment when static attributes are supported for origin t
rials (crbug.com/614352) |
| 16 //static attribute long partial4StaticLongAttribute; | 16 //static attribute long partial4StaticLongAttribute; |
| 17 | 17 |
| 18 // TODO(chasej): Uncomment when methods are supported for origin trials (crb
ug.com/621641) | 18 // TODO(chasej): Uncomment when methods are supported for origin trials (crb
ug.com/621641) |
| 19 //void partial4VoidMethod(); | 19 void partial4VoidMethod(); |
| 20 //static void partial4StaticVoidMethod(); | 20 //static void partial4StaticVoidMethod(); |
| 21 }; | 21 }; |
| OLD | NEW |