| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // Additional set of macros for the JS RPC. | 5 // Additional set of macros for the JS RPC. |
| 6 | 6 |
| 7 #ifndef WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_ | 7 #ifndef WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_ |
| 8 #define WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_ | 8 #define WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include <wtf/OwnPtr.h> | 12 #include <wtf/OwnPtr.h> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/logging.h" | 15 #include "base/logging.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "webkit/api/public/WebFrame.h" |
| 17 #include "webkit/glue/cpp_bound_class.h" | 18 #include "webkit/glue/cpp_bound_class.h" |
| 18 #include "webkit/glue/devtools/devtools_rpc.h" | 19 #include "webkit/glue/devtools/devtools_rpc.h" |
| 19 #include "webkit/glue/glue_util.h" | 20 #include "webkit/glue/glue_util.h" |
| 20 #include "webkit/glue/webframe.h" | |
| 21 | 21 |
| 22 /////////////////////////////////////////////////////// | 22 /////////////////////////////////////////////////////// |
| 23 // JS RPC binds and stubs | 23 // JS RPC binds and stubs |
| 24 | 24 |
| 25 template<typename T> | 25 template<typename T> |
| 26 struct RpcJsTypeTrait { | 26 struct RpcJsTypeTrait { |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 template<> | 29 template<> |
| 30 struct RpcJsTypeTrait<bool> { | 30 struct RpcJsTypeTrait<bool> { |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 TOOLS_RPC_JS_STUB_METHOD0, \ | 133 TOOLS_RPC_JS_STUB_METHOD0, \ |
| 134 TOOLS_RPC_JS_STUB_METHOD1, \ | 134 TOOLS_RPC_JS_STUB_METHOD1, \ |
| 135 TOOLS_RPC_JS_STUB_METHOD2, \ | 135 TOOLS_RPC_JS_STUB_METHOD2, \ |
| 136 TOOLS_RPC_JS_STUB_METHOD3, \ | 136 TOOLS_RPC_JS_STUB_METHOD3, \ |
| 137 TOOLS_RPC_JS_STUB_METHOD4) \ | 137 TOOLS_RPC_JS_STUB_METHOD4) \ |
| 138 private: \ | 138 private: \ |
| 139 DISALLOW_COPY_AND_ASSIGN(Js##Class##BoundObj); \ | 139 DISALLOW_COPY_AND_ASSIGN(Js##Class##BoundObj); \ |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 #endif // WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_ | 142 #endif // WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_ |
| OLD | NEW |