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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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 2014 The Chromium Authors. All rights reserved. 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 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 EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_ 5 #ifndef EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_
6 #define EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_ 6 #define EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_
7 7
8 #include "base/macros.h"
8 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
9 #include "content/public/renderer/render_view_observer.h" 10 #include "content/public/renderer/render_view_observer.h"
10 11
11 namespace extensions { 12 namespace extensions {
12 13
13 // Renderer-side implementation for chrome.automation API (for the few pieces 14 // Renderer-side implementation for chrome.automation API (for the few pieces
14 // which aren't built in to the existing accessibility system). 15 // which aren't built in to the existing accessibility system).
15 class AutomationApiHelper : public content::RenderViewObserver { 16 class AutomationApiHelper : public content::RenderViewObserver {
16 public: 17 public:
17 explicit AutomationApiHelper(content::RenderView* render_view); 18 explicit AutomationApiHelper(content::RenderView* render_view);
18 ~AutomationApiHelper() override; 19 ~AutomationApiHelper() override;
19 20
20 private: 21 private:
21 // RenderViewObserver implementation. 22 // RenderViewObserver implementation.
22 bool OnMessageReceived(const IPC::Message& message) override; 23 bool OnMessageReceived(const IPC::Message& message) override;
23 24
24 void OnQuerySelector(int acc_obj_id, 25 void OnQuerySelector(int acc_obj_id,
25 int request_id, 26 int request_id,
26 const base::string16& selector); 27 const base::string16& selector);
27 28
28 DISALLOW_COPY_AND_ASSIGN(AutomationApiHelper); 29 DISALLOW_COPY_AND_ASSIGN(AutomationApiHelper);
29 }; 30 };
30 31
31 } // namespace extensions 32 } // namespace extensions
32 33
33 #endif // EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_ 34 #endif // EXTENSIONS_RENDERER_API_AUTOMATION_AUTOMATION_API_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698