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

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

Issue 10544099: Refactor all accessibility code out of webkit/glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More Mac compile errors Created 8 years, 6 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/accessibility/browser_accessibility_manager.h" 9 #include "content/browser/accessibility/browser_accessibility_manager.h"
10 #include "webkit/glue/webaccessibility.h"
11 10
12 class BrowserAccessibilityGtk; 11 class BrowserAccessibilityGtk;
13 struct ViewHostMsg_AccessibilityNotification_Params; 12 struct ViewHostMsg_AccessibilityNotification_Params;
14 13
15 using webkit_glue::WebAccessibility;
16
17 // Manages a tree of BrowserAccessibilityGtk objects. 14 // Manages a tree of BrowserAccessibilityGtk objects.
18 class BrowserAccessibilityManagerGtk : public BrowserAccessibilityManager { 15 class BrowserAccessibilityManagerGtk : public BrowserAccessibilityManager {
19 public: 16 public:
20 virtual ~BrowserAccessibilityManagerGtk(); 17 virtual ~BrowserAccessibilityManagerGtk();
21 18
22 // BrowserAccessibilityManager methods 19 // BrowserAccessibilityManager methods
23 virtual void NotifyAccessibilityEvent(int type, BrowserAccessibility* node) 20 virtual void NotifyAccessibilityEvent(int type, BrowserAccessibility* node)
24 OVERRIDE; 21 OVERRIDE;
25 22
26 private: 23 private:
27 BrowserAccessibilityManagerGtk( 24 BrowserAccessibilityManagerGtk(
28 GtkWidget* parent_window, 25 GtkWidget* parent_window,
29 const WebAccessibility& src, 26 const content::AccessibilityNodeData& src,
30 BrowserAccessibilityDelegate* delegate, 27 BrowserAccessibilityDelegate* delegate,
31 BrowserAccessibilityFactory* factory); 28 BrowserAccessibilityFactory* factory);
32 29
33 void RecursivelySendChildrenChanged(BrowserAccessibilityGtk* node); 30 void RecursivelySendChildrenChanged(BrowserAccessibilityGtk* node);
34 31
35 // Give BrowserAccessibilityManager::Create access to our constructor. 32 // Give BrowserAccessibilityManager::Create access to our constructor.
36 friend class BrowserAccessibilityManager; 33 friend class BrowserAccessibilityManager;
37 34
38 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerGtk); 35 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerGtk);
39 }; 36 };
40 37
41 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_ 38 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698