| OLD | NEW |
| 1 // Copyright (c) 2010 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 CHROME_BROWSER_UI_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/singleton.h" | 14 #include "base/singleton.h" |
| 15 #include "chrome/browser/accessibility_events.h" | 15 #include "chrome/browser/accessibility_events.h" |
| 16 #include "gfx/native_widget_types.h" | 16 #include "gfx/native_widget_types.h" |
| 17 | 17 |
| 18 #if defined(OS_LINUX) | 18 #if defined(OS_LINUX) |
| 19 #include "chrome/browser/gtk/accessible_widget_helper_gtk.h" | 19 #include "chrome/browser/ui/gtk/accessible_widget_helper_gtk.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 class AccessibilityEventRouterViews; | 22 class AccessibilityEventRouterViews; |
| 23 class Profile; | 23 class Profile; |
| 24 namespace views { | 24 namespace views { |
| 25 class View; | 25 class View; |
| 26 } | 26 } |
| 27 | 27 |
| 28 // NOTE: This class is part of the Accessibility Extension API, which lets | 28 // NOTE: This class is part of the Accessibility Extension API, which lets |
| 29 // extensions receive accessibility events. It's distinct from code that | 29 // extensions receive accessibility events. It's distinct from code that |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 std::vector<views::View*> managed_views_; | 74 std::vector<views::View*> managed_views_; |
| 75 | 75 |
| 76 #if defined(OS_LINUX) | 76 #if defined(OS_LINUX) |
| 77 scoped_ptr<AccessibleWidgetHelper> widget_helper_; | 77 scoped_ptr<AccessibleWidgetHelper> widget_helper_; |
| 78 #endif | 78 #endif |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(AccessibleViewHelper); | 80 DISALLOW_COPY_AND_ASSIGN(AccessibleViewHelper); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ | 83 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ |
| OLD | NEW |