| OLD | NEW |
| 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 CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 14 #include "base/string16.h" | 14 #include "base/string16.h" |
| 15 #include "base/task.h" | |
| 16 #include "chrome/browser/accessibility/accessibility_events.h" | 15 #include "chrome/browser/accessibility/accessibility_events.h" |
| 17 #include "ui/base/accessibility/accessibility_types.h" | 16 #include "ui/base/accessibility/accessibility_types.h" |
| 18 | 17 |
| 19 class Profile; | 18 class Profile; |
| 20 | 19 |
| 21 namespace views { | 20 namespace views { |
| 22 class View; | 21 class View; |
| 23 } | 22 } |
| 24 | 23 |
| 25 // NOTE: This class is part of the Accessibility Extension API, which lets | 24 // NOTE: This class is part of the Accessibility Extension API, which lets |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // subview with a role of STATIC_TEXT. | 143 // subview with a role of STATIC_TEXT. |
| 145 static std::string RecursiveGetStaticText(views::View* view); | 144 static std::string RecursiveGetStaticText(views::View* view); |
| 146 | 145 |
| 147 // The profile associated with the most recent window event - used to | 146 // The profile associated with the most recent window event - used to |
| 148 // figure out where to route a few events that can't be directly traced | 147 // figure out where to route a few events that can't be directly traced |
| 149 // to a window with a profile (like menu events). | 148 // to a window with a profile (like menu events). |
| 150 Profile* most_recent_profile_; | 149 Profile* most_recent_profile_; |
| 151 }; | 150 }; |
| 152 | 151 |
| 153 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ | 152 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_EVENT_ROUTER_VIEWS_H_ |
| OLD | NEW |