OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_RENDERER_DOM_UI_BINDINGS_H__ | 5 #ifndef CHROME_RENDERER_DOM_UI_BINDINGS_H__ |
6 #define CHROME_RENDERER_DOM_UI_BINDINGS_H__ | 6 #define CHROME_RENDERER_DOM_UI_BINDINGS_H__ |
7 | 7 |
8 #include "chrome/common/ipc_message.h" | 8 #include "ipc/ipc_message.h" |
9 #include "webkit/glue/cpp_bound_class.h" | 9 #include "webkit/glue/cpp_bound_class.h" |
10 | 10 |
11 // A DOMBoundBrowserObject is a backing for some object bound to the window | 11 // A DOMBoundBrowserObject is a backing for some object bound to the window |
12 // in JS that knows how to dispatch messages to an associated c++ object living | 12 // in JS that knows how to dispatch messages to an associated c++ object living |
13 // in the browser process. | 13 // in the browser process. |
14 class DOMBoundBrowserObject : public CppBoundClass { | 14 class DOMBoundBrowserObject : public CppBoundClass { |
15 public: | 15 public: |
16 DOMBoundBrowserObject() : routing_id_(0) { } | 16 DOMBoundBrowserObject() : routing_id_(0) { } |
17 virtual ~DOMBoundBrowserObject(); | 17 virtual ~DOMBoundBrowserObject(); |
18 | 18 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 DOMUIBindings(); | 58 DOMUIBindings(); |
59 virtual ~DOMUIBindings() {} | 59 virtual ~DOMUIBindings() {} |
60 | 60 |
61 // The send() function provided to Javascript. | 61 // The send() function provided to Javascript. |
62 void send(const CppArgumentList& args, CppVariant* result); | 62 void send(const CppArgumentList& args, CppVariant* result); |
63 private: | 63 private: |
64 DISALLOW_COPY_AND_ASSIGN(DOMUIBindings); | 64 DISALLOW_COPY_AND_ASSIGN(DOMUIBindings); |
65 }; | 65 }; |
66 | 66 |
67 #endif // CHROME_RENDERER_DOM_UI_BINDINGS_H__ | 67 #endif // CHROME_RENDERER_DOM_UI_BINDINGS_H__ |
OLD | NEW |