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

Side by Side Diff: chrome/browser/ui/ash/accessibility/automation_manager_ash.h

Issue 743273002: Various changes required to support ChromeVox Next to read Views and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AUTOMATION_MANAGER_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AUTOMATION_MANAGER_ASH_H_
6 #define CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AUTOMATION_MANAGER_ASH_H_ 6 #define CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AUTOMATION_MANAGER_ASH_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/extensions/api/automation_internal/automation_action_ad apter.h" 10 #include "chrome/browser/extensions/api/automation_internal/automation_action_ad apter.h"
(...skipping 21 matching lines...) Expand all
32 void Enable(content::BrowserContext* context); 32 void Enable(content::BrowserContext* context);
33 33
34 // Disable automation support for views. 34 // Disable automation support for views.
35 void Disable(); 35 void Disable();
36 36
37 // Handle an event fired upon a |View|. 37 // Handle an event fired upon a |View|.
38 void HandleEvent(content::BrowserContext* context, 38 void HandleEvent(content::BrowserContext* context,
39 views::View* view, 39 views::View* view,
40 ui::AXEvent event_type); 40 ui::AXEvent event_type);
41 41
42 void HandleAlert(content::BrowserContext* context, const std::string& text);
43
42 // AutomationActionAdapter implementation. 44 // AutomationActionAdapter implementation.
43 void DoDefault(int32 id) override; 45 void DoDefault(int32 id) override;
44 void Focus(int32 id) override; 46 void Focus(int32 id) override;
45 void MakeVisible(int32 id) override; 47 void MakeVisible(int32 id) override;
46 void SetSelection(int32 id, int32 start, int32 end) override; 48 void SetSelection(int32 id, int32 start, int32 end) override;
47 49
48 protected: 50 protected:
49 virtual ~AutomationManagerAsh(); 51 virtual ~AutomationManagerAsh();
50 52
51 private: 53 private:
(...skipping 18 matching lines...) Expand all
70 72
71 // Serializes incremental updates on the currently active tree 73 // Serializes incremental updates on the currently active tree
72 // |current_tree_|. 74 // |current_tree_|.
73 scoped_ptr<ui::AXTreeSerializer<views::AXAuraObjWrapper*> > 75 scoped_ptr<ui::AXTreeSerializer<views::AXAuraObjWrapper*> >
74 current_tree_serializer_; 76 current_tree_serializer_;
75 77
76 DISALLOW_COPY_AND_ASSIGN(AutomationManagerAsh); 78 DISALLOW_COPY_AND_ASSIGN(AutomationManagerAsh);
77 }; 79 };
78 80
79 #endif // CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AUTOMATION_MANAGER_ASH_H_ 81 #endif // CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AUTOMATION_MANAGER_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698