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

Side by Side Diff: chrome/browser/views/accessible_view_helper.h

Issue 3202003: Some minor fixes to remove unnecessary includes and do fwd declaration instea... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ 5 #ifndef CHROME_BROWSER_VIEWS_ACCESSIBLE_VIEW_HELPER_H_
6 #define CHROME_BROWSER_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ 6 #define CHROME_BROWSER_VIEWS_ACCESSIBLE_VIEW_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/singleton.h" 14 #include "base/singleton.h"
15 #include "chrome/browser/accessibility_events.h" 15 #include "chrome/browser/accessibility_events.h"
16 #include "chrome/browser/views/accessibility_event_router_views.h"
17 16
18 #if defined(OS_LINUX) 17 #if defined(OS_LINUX)
19 #include "chrome/browser/gtk/accessible_widget_helper_gtk.h" 18 #include "chrome/browser/gtk/accessible_widget_helper_gtk.h"
20 #endif 19 #endif
21 20
21 class AccessibilityEventRouterViews;
22 class Profile; 22 class Profile;
23 namespace views {
24 class View;
25 }
23 26
24 // NOTE: This class is part of the Accessibility Extension API, which lets 27 // NOTE: This class is part of the Accessibility Extension API, which lets
25 // extensions receive accessibility events. It's distinct from code that 28 // extensions receive accessibility events. It's distinct from code that
26 // implements platform accessibility APIs like MSAA or ATK. 29 // implements platform accessibility APIs like MSAA or ATK.
27 // 30 //
28 // Helper class that helps to manage the accessibility information for a 31 // Helper class that helps to manage the accessibility information for a
29 // view and all of its descendants. Create an instance of this class for 32 // view and all of its descendants. Create an instance of this class for
30 // the root of a tree of views (like a dialog) that should send accessibility 33 // the root of a tree of views (like a dialog) that should send accessibility
31 // events for all of its descendants. 34 // events for all of its descendants.
32 // 35 //
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::vector<views::View*> managed_views_; 73 std::vector<views::View*> managed_views_;
71 74
72 #if defined(OS_LINUX) 75 #if defined(OS_LINUX)
73 scoped_ptr<AccessibleWidgetHelper> widget_helper_; 76 scoped_ptr<AccessibleWidgetHelper> widget_helper_;
74 #endif 77 #endif
75 78
76 DISALLOW_COPY_AND_ASSIGN(AccessibleViewHelper); 79 DISALLOW_COPY_AND_ASSIGN(AccessibleViewHelper);
77 }; 80 };
78 81
79 #endif // CHROME_BROWSER_VIEWS_ACCESSIBLE_VIEW_HELPER_H_ 82 #endif // CHROME_BROWSER_VIEWS_ACCESSIBLE_VIEW_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/accessible_toolbar_view.cc ('k') | chrome/browser/views/accessible_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698