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

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

Issue 15961005: move webkit/glue/cpp_* -> webkit/renderer/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renderer/ not child/ 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
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 /* 5 /*
6 CppBindingExample class: 6 CppBindingExample class:
7 This provides an example of how to use the CppBoundClass to create methods 7 This provides an example of how to use the CppBoundClass to create methods
8 and properties that can be exposed to JavaScript by an appropriately built 8 and properties that can be exposed to JavaScript by an appropriately built
9 embedding client. It is also used by the CppBoundClass unit test. 9 embedding client. It is also used by the CppBoundClass unit test.
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void fallbackMethod(const CppArgumentList& args, CppVariant* result); 73 void fallbackMethod(const CppArgumentList& args, CppVariant* result);
74 74
75 // These properties will also be exposed to JavaScript. 75 // These properties will also be exposed to JavaScript.
76 CppVariant my_value; 76 CppVariant my_value;
77 CppVariant my_other_value; 77 CppVariant my_other_value;
78 }; 78 };
79 79
80 } // namespace webkit_glue 80 } // namespace webkit_glue
81 81
82 #endif // CPP_BINDING_EXAMPLE_H__ 82 #endif // CPP_BINDING_EXAMPLE_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698