| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file contains the definition for CppBindingExample, which is used in | 5 // This file contains the definition for CppBindingExample, which is used in |
| 6 // cpp_bound_class_unittest. | 6 // cpp_bound_class_unittest. |
| 7 | 7 |
| 8 #include "cpp_binding_example.h" | 8 #include "cpp_binding_example.h" |
| 9 | 9 |
| 10 #include <stdio.h> | 10 #include <stdio.h> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void CppBindingExample::same(CppVariant* result) { | 128 void CppBindingExample::same(CppVariant* result) { |
| 129 result->Set(42); | 129 result->Set(42); |
| 130 } | 130 } |
| 131 | 131 |
| 132 void CppBindingExample::fallbackMethod(const CppArgumentList& args, | 132 void CppBindingExample::fallbackMethod(const CppArgumentList& args, |
| 133 CppVariant* result) { | 133 CppVariant* result) { |
| 134 printf("Error: unknown JavaScript method invoked.\n"); | 134 printf("Error: unknown JavaScript method invoked.\n"); |
| 135 } | 135 } |
| 136 | 136 |
| 137 } // namespace webkit_glue | 137 } // namespace webkit_glue |
| OLD | NEW |