Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: content/renderer/dom_automation_controller.h

Issue 1231083007: Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: Move dependencies to correct files Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/public/renderer/render_frame_observer.h" 9 #include "content/public/renderer/render_frame_observer.h"
10 #include "gin/wrappable.h" 10 #include "gin/wrappable.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 private: 108 private:
109 explicit DomAutomationController(RenderFrame* render_view); 109 explicit DomAutomationController(RenderFrame* render_view);
110 ~DomAutomationController() override; 110 ~DomAutomationController() override;
111 111
112 // gin::WrappableBase 112 // gin::WrappableBase
113 gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 113 gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
114 v8::Isolate* isolate) override; 114 v8::Isolate* isolate) override;
115 115
116 // RenderViewObserver 116 // RenderViewObserver
117 void OnDestruct() override; 117 void OnDestruct() override;
118 void DidCreateScriptContext(v8::Local<v8::Context> context,
119 int extension_group,
120 int world_id) override;
118 121
119 int automation_id_; // routing id to be used by the next channel. 122 int automation_id_; // routing id to be used by the next channel.
120 123
121 DISALLOW_COPY_AND_ASSIGN(DomAutomationController); 124 DISALLOW_COPY_AND_ASSIGN(DomAutomationController);
122 }; 125 };
123 126
124 } // namespace content 127 } // namespace content
125 128
126 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ 129 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/renderer/dom_automation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698