| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 world_id) override; | 121 int world_id) override; |
| 122 | 122 |
| 123 int automation_id_; // routing id to be used by the next channel. | |
| 124 | |
| 125 DISALLOW_COPY_AND_ASSIGN(DomAutomationController); | 123 DISALLOW_COPY_AND_ASSIGN(DomAutomationController); |
| 126 }; | 124 }; |
| 127 | 125 |
| 128 } // namespace content | 126 } // namespace content |
| 129 | 127 |
| 130 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ | 128 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ |
| OLD | NEW |