| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 } // namespace subname | 97 } // namespace subname |
| 98 | 98 |
| 99 class SubnameChild : public subname::SubnameParent { | 99 class SubnameChild : public subname::SubnameParent { |
| 100 // This subclasses from blink::subname::SubnameParent and should be renamed. | 100 // This subclasses from blink::subname::SubnameParent and should be renamed. |
| 101 void SubnameMethod() override {} | 101 void SubnameMethod() override {} |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 class GenChild : public blink::GenClass { | 104 class GenChild : public blink::GenClass { |
| 105 // This subclasses from the blink namespace but in the gen directory so it | 105 // This subclasses from the blink namespace but in the gen directory so it |
| 106 // should not be renamed. | 106 // should not be renamed. |
| 107 void genMethod() override {} | 107 void GenMethod() override {} |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 } // namespace blink | 110 } // namespace blink |
| 111 | 111 |
| 112 // Test that overrides from outside the Blink namespace are also updated. | 112 // Test that overrides from outside the Blink namespace are also updated. |
| 113 class BovineTask : public blink::Task { | 113 class BovineTask : public blink::Task { |
| 114 public: | 114 public: |
| 115 using Task::DoTheWork; | 115 using Task::DoTheWork; |
| 116 void ReallyDoTheWork() override; | 116 void ReallyDoTheWork() override; |
| 117 }; | 117 }; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 static void Method(); | 267 static void Method(); |
| 268 }; | 268 }; |
| 269 | 269 |
| 270 } // namespace internal | 270 } // namespace internal |
| 271 | 271 |
| 272 } // namespace blink | 272 } // namespace blink |
| 273 | 273 |
| 274 // https://crbug.com/640688 - need to rewrite method name below. | 274 // https://crbug.com/640688 - need to rewrite method name below. |
| 275 void blink::ClassDeclaredInsideBlink::MethodDefinedOutsideBlink() {} | 275 void blink::ClassDeclaredInsideBlink::MethodDefinedOutsideBlink() {} |
| 276 void blink::internal::InternalClass::Method() {} | 276 void blink::internal::InternalClass::Method() {} |
| OLD | NEW |