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

Unified Diff: chrome/browser/extensions/api/automation_internal/automation_util.h

Issue 1155183006: Reimplement automation API on top of C++-backed AXTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@automation_faster_2
Patch Set: Copy observers Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/automation_internal/automation_util.h
diff --git a/chrome/browser/extensions/api/automation_internal/automation_util.h b/chrome/browser/extensions/api/automation_internal/automation_util.h
deleted file mode 100644
index 218038b47852dafa41dbe389b5188ee24e592aca..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/automation_internal/automation_util.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_UTIL_H_
-#define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_UTIL_H_
-
-#include <vector>
-
-#include "chrome/common/extensions/api/automation_internal.h"
-#include "content/public/browser/ax_event_notification_details.h"
-
-namespace content {
-class BrowserContext;
-} // namespace content
-
-namespace ui {
-struct AXNodeData;
-} // namespace ui
-
-namespace extensions {
-
-// Shared utility functions for the Automation API.
-namespace automation_util {
-
-// Dispatch events through the Automation API making any necessary conversions
-// from accessibility to Automation types.
-void DispatchAccessibilityEventsToAutomation(
- const std::vector<content::AXEventNotificationDetails>& details,
- content::BrowserContext* browser_context,
- const gfx::Vector2d& location_offset);
-
-void DispatchTreeDestroyedEventToAutomation(
- int process_id,
- int routing_id,
- content::BrowserContext* browser_context);
-} // namespace automation_util
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698