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

Side by Side Diff: extensions/renderer/api/automation/automation_api_helper.h

Issue 655273005: Implement AutomationNode.querySelector(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address comments Created 6 years, 1 month 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698