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

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

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // The value should be properly formed JSON. 100 // The value should be properly formed JSON.
101 bool SendJSON(const std::string& json); 101 bool SendJSON(const std::string& json);
102 102
103 // Sends a string with a provided Automation Id. 103 // Sends a string with a provided Automation Id.
104 bool SendWithId(int automation_id, const std::string& str); 104 bool SendWithId(int automation_id, const std::string& str);
105 105
106 bool SetAutomationId(int automation_id); 106 bool SetAutomationId(int automation_id);
107 107
108 private: 108 private:
109 explicit DomAutomationController(RenderFrame* render_view); 109 explicit DomAutomationController(RenderFrame* render_view);
110 virtual ~DomAutomationController(); 110 ~DomAutomationController() override;
111 111
112 // gin::WrappableBase 112 // gin::WrappableBase
113 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 113 gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
114 v8::Isolate* isolate) override; 114 v8::Isolate* isolate) override;
115 115
116 // RenderViewObserver 116 // RenderViewObserver
117 virtual void OnDestruct() override; 117 void OnDestruct() override;
118 118
119 int automation_id_; // routing id to be used by the next channel. 119 int automation_id_; // routing id to be used by the next channel.
120 120
121 DISALLOW_COPY_AND_ASSIGN(DomAutomationController); 121 DISALLOW_COPY_AND_ASSIGN(DomAutomationController);
122 }; 122 };
123 123
124 } // namespace content 124 } // namespace content
125 125
126 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_ 126 #endif // CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/renderer/devtools/devtools_agent_filter.h ('k') | content/renderer/dom_serializer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698