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> | |
Devlin
2014/10/29 21:23:44
don't need this.
aboxhall
2014/10/30 18:34:18
Done.
| |
9 | |
10 #include "base/strings/string16.h" | |
11 #include "content/public/renderer/render_view_observer.h" | |
12 | |
13 namespace extensions { | |
14 | |
15 // Renderer-side implementation for chrome.automation API (for the few pieces | |
16 // which aren't built in to the existing accessibility system). | |
17 class AutomationApiHelper : public content::RenderViewObserver { | |
18 public: | |
19 AutomationApiHelper(content::RenderView* render_view); | |
Devlin
2014/10/29 21:23:44
explicit
aboxhall
2014/10/30 18:34:18
Done.
| |
20 virtual ~AutomationApiHelper(); | |
Devlin
2014/10/29 21:23:44
Same virtual/override comments
aboxhall
2014/10/30 18:34:18
Done.
| |
21 | |
22 private: | |
23 // RenderViewObserver implementation. | |
24 virtual bool OnMessageReceived(const IPC::Message& message) override; | |
25 | |
26 void OnQuerySelector(int acc_obj_id, | |
27 int request_id, | |
28 const base::string16& selector); | |
29 | |
30 DISALLOW_COPY_AND_ASSIGN(AutomationApiHelper); | |
31 }; | |
32 | |
33 } | |
Devlin
2014/10/29 21:23:44
nit: newline
Devlin
2014/10/29 21:23:44
nit: // namespace extensions
aboxhall
2014/10/30 18:34:18
Done.
aboxhall
2014/10/30 18:34:18
Done.
| |
34 #endif // EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_ | |
OLD | NEW |