Remove PlatformFile from profile_browsertest
[chromium-blink-merge.git] / content / browser / accessibility / browser_accessibility_manager_gtk.h
blob6349a81a01962a3092863ae64ba7cf26f69574be
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.
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
8 #include "content/browser/accessibility/browser_accessibility_manager.h"
10 struct ViewHostMsg_AccessibilityNotification_Params;
12 namespace content {
13 class BrowserAccessibilityGtk;
15 // Manages a tree of BrowserAccessibilityGtk objects.
16 class CONTENT_EXPORT BrowserAccessibilityManagerGtk
17 : public BrowserAccessibilityManager {
18 public:
19 BrowserAccessibilityManagerGtk(
20 GtkWidget* parent_widget,
21 const ui::AXNodeData& src,
22 BrowserAccessibilityDelegate* delegate,
23 BrowserAccessibilityFactory* factory = new BrowserAccessibilityFactory());
25 virtual ~BrowserAccessibilityManagerGtk();
27 static ui::AXNodeData GetEmptyDocument();
29 // BrowserAccessibilityManager methods
30 virtual void NotifyAccessibilityEvent(
31 ui::AXEvent event_type, BrowserAccessibility* node) OVERRIDE;
33 GtkWidget* parent_widget() { return parent_widget_; }
35 private:
36 void RecursivelySendChildrenChanged(BrowserAccessibilityGtk* node);
38 GtkWidget* parent_widget_;
40 // Give BrowserAccessibilityManager::Create access to our constructor.
41 friend class BrowserAccessibilityManager;
43 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerGtk);
46 } // namespace content
48 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_