diff options
Diffstat (limited to 'chrome/browser/browser_accessibility_manager.h')
-rw-r--r-- | chrome/browser/browser_accessibility_manager.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/chrome/browser/browser_accessibility_manager.h b/chrome/browser/browser_accessibility_manager.h index 4d837bf..8356bc4 100644 --- a/chrome/browser/browser_accessibility_manager.h +++ b/chrome/browser/browser_accessibility_manager.h @@ -16,21 +16,6 @@ class BrowserAccessibility; class RenderProcessHost; class RenderWidgetHost; -// Member variable structure, used in instance hashmap. -struct UniqueMembers { - RenderWidgetHost* render_widget_host_; - HWND parent_hwnd_; - - UniqueMembers(HWND parent_hwnd, RenderWidgetHost* render_widget_host) - : parent_hwnd_(parent_hwnd), - render_widget_host_(render_widget_host) { - } -}; - -typedef stdext::hash_map<int, UniqueMembers*> InstanceMap; -typedef stdext::hash_map<RenderProcessHost*, BrowserAccessibility*> - RenderProcessHostMap; - //////////////////////////////////////////////////////////////////////////////// // // BrowserAccessibilityManager @@ -91,6 +76,21 @@ class BrowserAccessibilityManager : public NotificationObserver { ~BrowserAccessibilityManager(); private: + // Member variable structure, used in instance hashmap. + struct UniqueMembers { + RenderWidgetHost* render_widget_host_; + HWND parent_hwnd_; + + UniqueMembers(HWND parent_hwnd, RenderWidgetHost* render_widget_host) + : parent_hwnd_(parent_hwnd), + render_widget_host_(render_widget_host) { + } + }; + + typedef stdext::hash_map<int, UniqueMembers*> InstanceMap; + typedef stdext::hash_map<RenderProcessHost*, BrowserAccessibility*> + RenderProcessHostMap; + // Caching of the unique member variables used to handle browser accessibility // requests from multiple processes. InstanceMap instance_map_; |