Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Side by Side Diff: content/browser/accessibility/browser_accessibility_manager_gtk.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9
10 struct ViewHostMsg_AccessibilityNotification_Params;
11
12 namespace content {
13 class BrowserAccessibilityGtk;
14
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());
24
25 virtual ~BrowserAccessibilityManagerGtk();
26
27 static ui::AXNodeData GetEmptyDocument();
28
29 // BrowserAccessibilityManager methods
30 virtual void NotifyAccessibilityEvent(
31 ui::AXEvent event_type, BrowserAccessibility* node) OVERRIDE;
32
33 GtkWidget* parent_widget() { return parent_widget_; }
34
35 private:
36 void RecursivelySendChildrenChanged(BrowserAccessibilityGtk* node);
37
38 GtkWidget* parent_widget_;
39
40 // Give BrowserAccessibilityManager::Create access to our constructor.
41 friend class BrowserAccessibilityManager;
42
43 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerGtk);
44 };
45
46 } // namespace content
47
48 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698