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

Side by Side Diff: content/browser/accessibility/browser_accessibility_manager.h

Issue 8402018: Fix build on the "Linux Clang (ChromeOS dbg)" bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 using webkit_glue::WebAccessibility; 23 using webkit_glue::WebAccessibility;
24 24
25 struct ViewHostMsg_AccessibilityNotification_Params; 25 struct ViewHostMsg_AccessibilityNotification_Params;
26 26
27 // Class that can perform actions on behalf of the BrowserAccessibilityManager. 27 // Class that can perform actions on behalf of the BrowserAccessibilityManager.
28 class CONTENT_EXPORT BrowserAccessibilityDelegate { 28 class CONTENT_EXPORT BrowserAccessibilityDelegate {
29 public: 29 public:
30 virtual ~BrowserAccessibilityDelegate() {} 30 virtual ~BrowserAccessibilityDelegate() {}
31 virtual void SetAccessibilityFocus(int acc_obj_id) = 0; 31 virtual void SetAccessibilityFocus(int acc_obj_id) = 0;
32 virtual void AccessibilityDoDefaultAction(int acc_obj_id) = 0; 32 virtual void AccessibilityDoDefaultAction(int acc_obj_id) = 0;
33 virtual bool HasFocus() = 0; 33 virtual bool HasFocus() const = 0;
34 virtual gfx::Rect GetViewBounds() const = 0; 34 virtual gfx::Rect GetViewBounds() const = 0;
35 }; 35 };
36 36
37 class CONTENT_EXPORT BrowserAccessibilityFactory { 37 class CONTENT_EXPORT BrowserAccessibilityFactory {
38 public: 38 public:
39 virtual ~BrowserAccessibilityFactory() {} 39 virtual ~BrowserAccessibilityFactory() {}
40 40
41 // Create an instance of BrowserAccessibility and return a new 41 // Create an instance of BrowserAccessibility and return a new
42 // reference to it. 42 // reference to it.
43 virtual BrowserAccessibility* Create(); 43 virtual BrowserAccessibility* Create();
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // we use internally here. 162 // we use internally here.
163 base::hash_map<int32, int32> renderer_id_to_child_id_map_; 163 base::hash_map<int32, int32> renderer_id_to_child_id_map_;
164 164
165 // A mapping from child IDs to BrowserAccessibility objects. 165 // A mapping from child IDs to BrowserAccessibility objects.
166 base::hash_map<int32, BrowserAccessibility*> child_id_map_; 166 base::hash_map<int32, BrowserAccessibility*> child_id_map_;
167 167
168 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 168 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
169 }; 169 };
170 170
171 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 171 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_views.cc ('k') | content/browser/renderer_host/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698