OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "content/browser/accessibility/browser_accessibility_manager.h" |
| 10 #include "webkit/glue/webaccessibility.h" |
| 11 |
| 12 class BrowserAccessibilityGtk; |
| 13 struct ViewHostMsg_AccessibilityNotification_Params; |
| 14 |
| 15 using webkit_glue::WebAccessibility; |
| 16 |
| 17 // Manages a tree of BrowserAccessibilityGtk objects. |
| 18 class BrowserAccessibilityManagerGtk : public BrowserAccessibilityManager { |
| 19 public: |
| 20 virtual ~BrowserAccessibilityManagerGtk(); |
| 21 |
| 22 // BrowserAccessibilityManager methods |
| 23 virtual void NotifyAccessibilityEvent(int type, BrowserAccessibility* node); |
| 24 |
| 25 private: |
| 26 BrowserAccessibilityManagerGtk( |
| 27 GtkWidget* parent_window, |
| 28 const WebAccessibility& src, |
| 29 BrowserAccessibilityDelegate* delegate, |
| 30 BrowserAccessibilityFactory* factory); |
| 31 |
| 32 void RecursivelySendChildrenChanged(BrowserAccessibilityGtk* node); |
| 33 |
| 34 // Give BrowserAccessibilityManager::Create access to our constructor. |
| 35 friend class BrowserAccessibilityManager; |
| 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerGtk); |
| 38 }; |
| 39 |
| 40 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_ |
OLD | NEW |