| 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 CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_ACTION_ADAP
TER_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_ACTION_ADAP
TER_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 #include "ui/accessibility/ax_enums.h" | |
| 11 #include "ui/gfx/geometry/point.h" | |
| 12 | |
| 13 namespace ui { | |
| 14 struct AXActionData; | |
| 15 } | |
| 16 | |
| 17 namespace extensions { | |
| 18 | |
| 19 // Adapts an object to receive actions from the Automation extension API. | |
| 20 class AutomationActionAdapter { | |
| 21 public: | |
| 22 // Performs an action on the target node. | |
| 23 virtual void PerformAction(const ui::AXActionData& data) = 0; | |
| 24 }; | |
| 25 | |
| 26 } // namespace extensions | |
| 27 | |
| 28 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_ACTION_A
DAPTER_H_ | |
| OLD | NEW |