| 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_AUTOMATION_DOM_AUTOMATION_CONTROLLER_H__ | 5 #ifndef CHROME_RENDERER_AUTOMATION_DOM_AUTOMATION_CONTROLLER_H__ |
| 6 #define CHROME_RENDERER_AUTOMATION_DOM_AUTOMATION_CONTROLLER_H__ | 6 #define CHROME_RENDERER_AUTOMATION_DOM_AUTOMATION_CONTROLLER_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 /* DomAutomationController class: | 11 /* DomAutomationController class: |
| 12 Bound to Javascript window.domAutomationController object. | 12 Bound to Javascript window.domAutomationController object. |
| 13 At the very basic, this object makes any native value (string, numbers, | 13 At the very basic, this object makes any native value (string, numbers, |
| 14 boolean) from javascript available to the automation host in Cpp. | 14 boolean) from javascript available to the automation host in Cpp. |
| 15 Any renderer implementation that is built with this binding will allow the | 15 Any renderer implementation that is built with this binding will allow the |
| 16 above facility. | 16 above facility. |
| 17 The intended use of this object is to expose the DOM Objects and their | 17 The intended use of this object is to expose the DOM Objects and their |
| 18 attributes to the automation host. | 18 attributes to the automation host. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 private: | 99 private: |
| 100 IPC::Message::Sender* sender_; | 100 IPC::Message::Sender* sender_; |
| 101 | 101 |
| 102 // Refer to the comments at the top of the file for more details. | 102 // Refer to the comments at the top of the file for more details. |
| 103 int routing_id_; // routing id to be used by first channel. | 103 int routing_id_; // routing id to be used by first channel. |
| 104 int automation_id_; // routing id to be used by the next channel. | 104 int automation_id_; // routing id to be used by the next channel. |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 #endif // CHROME_RENDERER_AUTOMATION_DOM_AUTOMATION_CONTROLLER_H__ | 107 #endif // CHROME_RENDERER_AUTOMATION_DOM_AUTOMATION_CONTROLLER_H__ |
| OLD | NEW |