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

Unified Diff: chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.h

Issue 1040863002: Revert "Enable chrome.automation.getDesktop on all aura platforms." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/ui/aura/accessibility/ax_root_obj_wrapper.h
diff --git a/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.h b/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.h
deleted file mode 100644
index 57f85dfcea66462d089f4e3f8bb6a27976a68dd0..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.h
+++ /dev/null
@@ -1,43 +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_UI_AURA_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_
-#define CHROME_BROWSER_UI_AURA_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "ui/views/accessibility/ax_aura_obj_wrapper.h"
-
-namespace aura {
-class Window;
-} // namespace aura
-
-class AXRootObjWrapper : public views::AXAuraObjWrapper {
- public:
- explicit AXRootObjWrapper(int32 id);
- ~AXRootObjWrapper() override;
-
- // Returns an AXAuraObjWrapper for an alert window with title set to |text|.
- views::AXAuraObjWrapper* GetAlertForText(const std::string& text);
-
- // Convenience method to check for existence of a child.
- bool HasChild(views::AXAuraObjWrapper* child);
-
- // views::AXAuraObjWrapper overrides.
- views::AXAuraObjWrapper* GetParent() override;
- void GetChildren(
- std::vector<views::AXAuraObjWrapper*>* out_children) override;
- void Serialize(ui::AXNodeData* out_node_data) override;
- int32 GetID() override;
-
- private:
- int32 id_;
-
- aura::Window* alert_window_;
-
- DISALLOW_COPY_AND_ASSIGN(AXRootObjWrapper);
-};
-
-#endif // CHROME_BROWSER_UI_AURA_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_

Powered by Google App Engine
This is Rietveld 408576698