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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/ui_test_utils.cc ('k') | content/browser/appcache/chrome_appcache_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Creates the platform specific BrowserAccessibilityManager. Ownership passes 48 // Creates the platform specific BrowserAccessibilityManager. Ownership passes
49 // to the caller. 49 // to the caller.
50 static BrowserAccessibilityManager* Create( 50 static BrowserAccessibilityManager* Create(
51 gfx::NativeView parent_view, 51 gfx::NativeView parent_view,
52 const WebAccessibility& src, 52 const WebAccessibility& src,
53 BrowserAccessibilityDelegate* delegate, 53 BrowserAccessibilityDelegate* delegate,
54 BrowserAccessibilityFactory* factory = new BrowserAccessibilityFactory()); 54 BrowserAccessibilityFactory* factory = new BrowserAccessibilityFactory());
55 55
56 virtual ~BrowserAccessibilityManager(); 56 virtual ~BrowserAccessibilityManager();
57 57
58 // Type is a ViewHostMsg_AccessibilityNotification_Params::NotificationType. 58 // Type is a ViewHostMsg_AccessibilityNotification_Params::int.
59 // We pass it as int so that we don't include the render message declaration 59 // We pass it as int so that we don't include the render message declaration
60 // header here. 60 // header here.
61 virtual void NotifyAccessibilityEvent( 61 virtual void NotifyAccessibilityEvent(
62 int type, 62 int type,
63 BrowserAccessibility* node) { } 63 BrowserAccessibility* node) { }
64 64
65 // Returns the next unique child id. 65 // Returns the next unique child id.
66 static int32 GetNextChildID(); 66 static int32 GetNextChildID();
67 67
68 // Return a pointer to the root of the tree, does not make a new reference. 68 // Return a pointer to the root of the tree, does not make a new reference.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // we use internally here. 168 // we use internally here.
169 base::hash_map<int32, int32> renderer_id_to_child_id_map_; 169 base::hash_map<int32, int32> renderer_id_to_child_id_map_;
170 170
171 // A mapping from child IDs to BrowserAccessibility objects. 171 // A mapping from child IDs to BrowserAccessibility objects.
172 base::hash_map<int32, BrowserAccessibility*> child_id_map_; 172 base::hash_map<int32, BrowserAccessibility*> child_id_map_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); 174 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager);
175 }; 175 };
176 176
177 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ 177 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/test/ui_test_utils.cc ('k') | content/browser/appcache/chrome_appcache_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698