| 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_DOM_AUTOMATION_CONTROLLER_H_ | 5 #ifndef CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ |
| 6 #define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ | 6 #define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_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" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 TEST MASTER RENDERER | 34 TEST MASTER RENDERER |
| 35 (1) (3) | 35 (1) (3) |
| 36 |AProxy| ----->|AProvider|----->|RenderView|------| | 36 |AProxy| ----->|AProvider|----->|RenderView|------| |
| 37 /\ | | | | 37 /\ | | | |
| 38 | | | | | 38 | | | | |
| 39 |(6) |(2) |(0) |(4) | 39 |(6) |(2) |(0) |(4) |
| 40 | | \/ | | 40 | | \/ | |
| 41 | |-------->|DAController|<----| | 41 | |-------->|DAController|<----| |
| 42 | | | 42 | | |
| 43 | |(5) | 43 | |(5) |
| 44 |---------|TabContents|<----------| | 44 |-------|WebContentsImpl|<--------| |
| 45 | 45 |
| 46 | 46 |
| 47 Legends: | 47 Legends: |
| 48 - AProxy = AutomationProxy | 48 - AProxy = AutomationProxy |
| 49 - AProvider = AutomationProvider | 49 - AProvider = AutomationProvider |
| 50 - DAController = DomAutomationController | 50 - DAController = DomAutomationController |
| 51 | 51 |
| 52 (0) Initialization step where DAController is bound to the renderer | 52 (0) Initialization step where DAController is bound to the renderer |
| 53 and the view_id of the renderer is supplied to the DAController for | 53 and the view_id of the renderer is supplied to the DAController for |
| 54 routing message in (5). (routing_id_) | 54 routing message in (5). (routing_id_) |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 private: | 113 private: |
| 114 IPC::Message::Sender* sender_; | 114 IPC::Message::Sender* sender_; |
| 115 | 115 |
| 116 // Refer to the comments at the top of the file for more details. | 116 // Refer to the comments at the top of the file for more details. |
| 117 int routing_id_; // routing id to be used by first channel. | 117 int routing_id_; // routing id to be used by first channel. |
| 118 int automation_id_; // routing id to be used by the next channel. | 118 int automation_id_; // routing id to be used by the next channel. |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ | 121 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ |
| OLD | NEW |