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

Side by Side Diff: webkit/glue/devtools/devtools_rpc_js.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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/glue/cpp_bound_class_unittest.cc ('k') | webkit/glue/devtools/dom_agent_unittest.cc » ('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) 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
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_
OLDNEW
« no previous file with comments | « webkit/glue/cpp_bound_class_unittest.cc ('k') | webkit/glue/devtools/dom_agent_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698