OLD | NEW |
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 #ifndef CONTENT_RENDERER_WEB_UI_BINDINGS_H_ | 5 #ifndef CONTENT_RENDERER_WEB_UI_BINDINGS_H_ |
6 #define CONTENT_RENDERER_WEB_UI_BINDINGS_H_ | 6 #define CONTENT_RENDERER_WEB_UI_BINDINGS_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 #include "ipc/ipc_sender.h" | 9 #include "ipc/ipc_sender.h" |
11 #include "webkit/glue/cpp_bound_class.h" | 10 #include "webkit/glue/cpp_bound_class.h" |
12 | 11 |
13 // A DOMBoundBrowserObject is a backing for some object bound to the window | 12 // A DOMBoundBrowserObject is a backing for some object bound to the window |
14 // in JS that knows how to dispatch messages to an associated c++ object living | 13 // in JS that knows how to dispatch messages to an associated c++ object living |
15 // in the browser process. | 14 // in the browser process. |
16 class DOMBoundBrowserObject : public webkit_glue::CppBoundClass { | 15 class DOMBoundBrowserObject : public webkit_glue::CppBoundClass { |
17 public: | 16 public: |
(...skipping 29 matching lines...) Expand all Loading... |
47 void Send(const webkit_glue::CppArgumentList& args, | 46 void Send(const webkit_glue::CppArgumentList& args, |
48 webkit_glue::CppVariant* result); | 47 webkit_glue::CppVariant* result); |
49 | 48 |
50 IPC::Sender* sender_; | 49 IPC::Sender* sender_; |
51 int routing_id_; | 50 int routing_id_; |
52 | 51 |
53 DISALLOW_COPY_AND_ASSIGN(WebUIBindings); | 52 DISALLOW_COPY_AND_ASSIGN(WebUIBindings); |
54 }; | 53 }; |
55 | 54 |
56 #endif // CONTENT_RENDERER_WEB_UI_BINDINGS_H_ | 55 #endif // CONTENT_RENDERER_WEB_UI_BINDINGS_H_ |
OLD | NEW |