Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: webkit/renderer/cpp_binding_example.cc

Issue 15961005: move webkit/glue/cpp_* -> webkit/renderer/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test targets Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/renderer/cpp_binding_example.h ('k') | webkit/renderer/cpp_bound_class.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « webkit/renderer/cpp_binding_example.h ('k') | webkit/renderer/cpp_bound_class.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698