| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEB_UI_BINDINGS_H_ | 5 #ifndef CONTENT_RENDERER_WEB_UI_BINDINGS_H_ |
| 6 #define CHROME_RENDERER_WEB_UI_BINDINGS_H_ | 6 #define CONTENT_RENDERER_WEB_UI_BINDINGS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
| 10 #include "webkit/glue/cpp_bound_class.h" | 10 #include "webkit/glue/cpp_bound_class.h" |
| 11 | 11 |
| 12 // 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 |
| 13 // 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 |
| 14 // in the browser process. | 14 // in the browser process. |
| 15 class DOMBoundBrowserObject : public CppBoundClass { | 15 class DOMBoundBrowserObject : public CppBoundClass { |
| 16 public: | 16 public: |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 public: | 58 public: |
| 59 WebUIBindings(); | 59 WebUIBindings(); |
| 60 virtual ~WebUIBindings(); | 60 virtual ~WebUIBindings(); |
| 61 | 61 |
| 62 // The send() function provided to Javascript. | 62 // The send() function provided to Javascript. |
| 63 void send(const CppArgumentList& args, CppVariant* result); | 63 void send(const CppArgumentList& args, CppVariant* result); |
| 64 private: | 64 private: |
| 65 DISALLOW_COPY_AND_ASSIGN(WebUIBindings); | 65 DISALLOW_COPY_AND_ASSIGN(WebUIBindings); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 #endif // CHROME_RENDERER_WEB_UI_BINDINGS_H_ | 68 #endif // CONTENT_RENDERER_WEB_UI_BINDINGS_H_ |
| OLD | NEW |