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

Unified Diff: chrome/common/extensions/api/automation_api_constants.h

Issue 2372253003: Account for device scale factor in automation API bounding boxes. (Closed)
Patch Set: Created 4 years, 3 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/common/extensions/api/automation_api_constants.h
diff --git a/chrome/common/extensions/api/automation_api_constants.h b/chrome/common/extensions/api/automation_api_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..c171202839ddbcd3e2d4d7f164b44ece0eaff258
--- /dev/null
+++ b/chrome/common/extensions/api/automation_api_constants.h
@@ -0,0 +1,20 @@
+// Copyright 2016 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_COMMON_EXTENSIONS_API_AUTOMATION_API_CONSTANTS_H_
+#define CHROME_COMMON_EXTENSIONS_API_AUTOMATION_API_CONSTANTS_H_
+
+namespace extensions {
+namespace api {
+namespace automation {
+
+// The accessibility tree ID of the desktop tree. All other tree IDs are
+// for web content.
+const int kDesktopTreeID = 0;
+
+} // namespace automation
+} // namespace api
+} // namespace extensions
+
+#endif // CHROME_COMMON_EXTENSIONS_API_AUTOMATION_API_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698