| 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 #include "chrome/browser/gtk/accessibility_event_router_gtk.h" | 5 #include "chrome/browser/gtk/accessibility_event_router_gtk.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/stl_util-inl.h" | 10 #include "base/stl_util-inl.h" |
| 11 #include "chrome/browser/extensions/extension_accessibility_api.h" | 11 #include "chrome/browser/extensions/extension_accessibility_api.h" |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 name = gtk_label_get_label(GTK_LABEL(child)); | 649 name = gtk_label_get_label(GTK_LABEL(child)); |
| 650 break; | 650 break; |
| 651 } | 651 } |
| 652 } | 652 } |
| 653 #endif | 653 #endif |
| 654 | 654 |
| 655 // Send the event. | 655 // Send the event. |
| 656 AccessibilityMenuItemInfo info(profile, name, submenu != NULL, index, count); | 656 AccessibilityMenuItemInfo info(profile, name, submenu != NULL, index, count); |
| 657 SendAccessibilityNotification(type, &info); | 657 SendAccessibilityNotification(type, &info); |
| 658 } | 658 } |
| OLD | NEW |