OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 onload = function() { | 5 class A { |
6 var frame = document.getElementById('frame'); | 6 public: |
7 frame.parentNode.removeChild(frame); | 7 A(); |
8 frame = null; | 8 void Foo(int i); |
| 9 void Bar(const char* c); |
9 }; | 10 }; |
| 11 |
| 12 A::A() {} |
| 13 void A::Foo(int i) {} |
| 14 void A::Bar(const char* c) {} |
OLD | NEW |