OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_ | |
6 #define EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/strings/string16.h" | |
11 #include "content/public/renderer/render_view_observer.h" | |
12 | |
13 namespace extensions { | |
14 | |
15 class AutomationApiHelper : public content::RenderViewObserver { | |
Devlin
2014/10/28 21:05:10
document
aboxhall
2014/10/28 23:43:57
Done.
| |
16 public: | |
17 AutomationApiHelper(content::RenderView* render_view); | |
18 virtual ~AutomationApiHelper(); | |
Devlin
2014/10/28 21:05:10
nit: ~AutomationApiHelper() override;
aboxhall
2014/10/28 23:43:57
Similarly, I don't understand why.
| |
19 | |
20 private: | |
21 // RenderViewObserver implementation. | |
22 virtual bool OnMessageReceived(const IPC::Message& message) override; | |
Devlin
2014/10/28 21:05:10
nit: no virtual
aboxhall
2014/10/28 23:43:57
Why?
| |
23 void OnQuerySelector(int acc_obj_id, | |
Devlin
2014/10/28 21:05:10
new line + comments
aboxhall
2014/10/28 23:43:57
Added new line; I don't think I can add any commen
| |
24 int request_id, | |
25 const base::string16& selector); | |
26 }; | |
Devlin
2014/10/28 21:05:10
DISALLOW_COPY_AND_ASSIGN
aboxhall
2014/10/28 23:43:57
Done.
| |
27 | |
28 } | |
29 #endif // EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_ | |
OLD | NEW |