| 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 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 explicit DomAutomationController(RenderFrame* render_view); | 111 explicit DomAutomationController(RenderFrame* render_view); |
| 112 ~DomAutomationController() override; | 112 ~DomAutomationController() override; |
| 113 | 113 |
| 114 // gin::WrappableBase | 114 // gin::WrappableBase |
| 115 gin::ObjectTemplateBuilder GetObjectTemplateBuilder( | 115 gin::ObjectTemplateBuilder GetObjectTemplateBuilder( |
| 116 v8::Isolate* isolate) override; | 116 v8::Isolate* isolate) override; |
| 117 | 117 |
| 118 // RenderFrameObserver | 118 // RenderFrameObserver |
| 119 void OnDestruct() override; | 119 void OnDestruct() override; |
| 120 void DidCreateScriptContext(v8::Local<v8::Context> context, | 120 void DidCreateScriptContext(v8::Local<v8::Context> context, |
| 121 int extension_group, | |
| 122 int world_id) override; | 121 int world_id) override; |
| 123 | 122 |
| 124 int automation_id_; // routing id to be used by the next channel. | 123 int automation_id_; // routing id to be used by the next channel. |
| 125 | 124 |
| 126 DISALLOW_COPY_AND_ASSIGN(DomAutomationController); | 125 DISALLOW_COPY_AND_ASSIGN(DomAutomationController); |
| 127 }; | 126 }; |
| 128 | 127 |
| 129 } // namespace content | 128 } // namespace content |
| 130 | 129 |
| 131 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ | 130 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ |
| OLD | NEW |