| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "gen/thing.h" | 5 #include "gen/thing.h" |
| 6 | 6 |
| 7 namespace v8 { | 7 namespace v8 { |
| 8 | 8 |
| 9 class InterfaceOutsideOfBlink { | 9 class InterfaceOutsideOfBlink { |
| 10 public: | 10 public: |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 299 |
| 300 namespace internal { | 300 namespace internal { |
| 301 | 301 |
| 302 class InternalClass { | 302 class InternalClass { |
| 303 public: | 303 public: |
| 304 static void method(); | 304 static void method(); |
| 305 }; | 305 }; |
| 306 | 306 |
| 307 } // namespace internal | 307 } // namespace internal |
| 308 | 308 |
| 309 // Tests for --idl-methods. See also | 309 // Tests for --method-blocklist cmdline parameter. |
| 310 // MethodsNamedAfterIdlMatcherState::SetupBlacklistForTesting method. | |
| 311 class IdlTestClass { | 310 class IdlTestClass { |
| 312 public: | 311 public: |
| 313 static int idlTestMethodNoParams(char x) { return 123; } | 312 static int idlTestMethodNoParams(char x) { return 123; } |
| 314 static int idlTestMethodOneParam(char x) { return 123; } | 313 static int idlTestMethodOneParam(char x) { return 123; } |
| 315 | 314 |
| 316 int idlTestMethodNoParams() { return 123; } | 315 int idlTestMethodNoParams() { return 123; } |
| 317 int idlTestMethodNoParams(int x) { return 123; } | 316 int idlTestMethodNoParams(int x) { return 123; } |
| 318 | 317 |
| 319 int idlTestMethodOneParam() { return 123; } | 318 int idlTestMethodOneParam() { return 123; } |
| 320 int idlTestMethodOneParam(int x) { return 123; } | 319 int idlTestMethodOneParam(int x) { return 123; } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 340 class IdlTemplateClass { | 339 class IdlTemplateClass { |
| 341 public: | 340 public: |
| 342 int idlTestMethod(T x) { return 123; } | 341 int idlTestMethod(T x) { return 123; } |
| 343 }; | 342 }; |
| 344 | 343 |
| 345 } // namespace blink | 344 } // namespace blink |
| 346 | 345 |
| 347 // https://crbug.com/640688 - need to rewrite method name below. | 346 // https://crbug.com/640688 - need to rewrite method name below. |
| 348 void blink::ClassDeclaredInsideBlink::methodDefinedOutsideBlink() {} | 347 void blink::ClassDeclaredInsideBlink::methodDefinedOutsideBlink() {} |
| 349 void blink::internal::InternalClass::method() {} | 348 void blink::internal::InternalClass::method() {} |
| OLD | NEW |