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

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: 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>
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698