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

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

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 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
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_WIN_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <oleacc.h> 10 #include <oleacc.h>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // position where a non-static text child object appears. 84 // position where a non-static text child object appears.
85 CONTENT_EXPORT static const base::char16 kEmbeddedCharacter; 85 CONTENT_EXPORT static const base::char16 kEmbeddedCharacter;
86 86
87 // Mappings from roles and states to human readable strings. Initialize 87 // Mappings from roles and states to human readable strings. Initialize
88 // with |InitializeStringMaps|. 88 // with |InitializeStringMaps|.
89 static std::map<int32, base::string16> role_string_map; 89 static std::map<int32, base::string16> role_string_map;
90 static std::map<int32, base::string16> state_string_map; 90 static std::map<int32, base::string16> state_string_map;
91 91
92 CONTENT_EXPORT BrowserAccessibilityWin(); 92 CONTENT_EXPORT BrowserAccessibilityWin();
93 93
94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); 94 CONTENT_EXPORT ~BrowserAccessibilityWin() override;
95 95
96 // The Windows-specific unique ID, used as the child ID for MSAA methods 96 // The Windows-specific unique ID, used as the child ID for MSAA methods
97 // like NotifyWinEvent, and as the unique ID for IAccessible2 and ISimpleDOM. 97 // like NotifyWinEvent, and as the unique ID for IAccessible2 and ISimpleDOM.
98 LONG unique_id_win() const { return unique_id_win_; } 98 LONG unique_id_win() const { return unique_id_win_; }
99 99
100 // Called after an atomic tree update completes. See 100 // Called after an atomic tree update completes. See
101 // BrowserAccessibilityManagerWin::OnAtomicUpdateFinished for more 101 // BrowserAccessibilityManagerWin::OnAtomicUpdateFinished for more
102 // details on what these do. 102 // details on what these do.
103 CONTENT_EXPORT void UpdateStep1ComputeWinAttributes(); 103 CONTENT_EXPORT void UpdateStep1ComputeWinAttributes();
104 CONTENT_EXPORT void UpdateStep2ComputeHypertext(); 104 CONTENT_EXPORT void UpdateStep2ComputeHypertext();
105 CONTENT_EXPORT void UpdateStep3FireEvents(bool is_subtree_creation); 105 CONTENT_EXPORT void UpdateStep3FireEvents(bool is_subtree_creation);
106 CONTENT_EXPORT void UpdateStep4DeleteOldWinAttributes(); 106 CONTENT_EXPORT void UpdateStep4DeleteOldWinAttributes();
107 107
108 // 108 //
109 // BrowserAccessibility methods. 109 // BrowserAccessibility methods.
110 // 110 //
111 CONTENT_EXPORT virtual void OnSubtreeWillBeDeleted() override; 111 CONTENT_EXPORT void OnSubtreeWillBeDeleted() override;
112 CONTENT_EXPORT virtual void NativeAddReference() override; 112 CONTENT_EXPORT void NativeAddReference() override;
113 CONTENT_EXPORT virtual void NativeReleaseReference() override; 113 CONTENT_EXPORT void NativeReleaseReference() override;
114 CONTENT_EXPORT virtual bool IsNative() const override; 114 CONTENT_EXPORT bool IsNative() const override;
115 CONTENT_EXPORT virtual void OnLocationChanged() override; 115 CONTENT_EXPORT void OnLocationChanged() override;
116 116
117 // 117 //
118 // IAccessible methods. 118 // IAccessible methods.
119 // 119 //
120 120
121 // Performs the default action on a given object. 121 // Performs the default action on a given object.
122 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id) override; 122 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id) override;
123 123
124 // Retrieves the child element or child object at a given point on the screen. 124 // Retrieves the child element or child object at a given point on the screen.
125 CONTENT_EXPORT STDMETHODIMP 125 CONTENT_EXPORT STDMETHODIMP
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 // Give BrowserAccessibility::Create access to our constructor. 933 // Give BrowserAccessibility::Create access to our constructor.
934 friend class BrowserAccessibility; 934 friend class BrowserAccessibility;
935 friend class BrowserAccessibilityRelation; 935 friend class BrowserAccessibilityRelation;
936 936
937 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); 937 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin);
938 }; 938 };
939 939
940 } // namespace content 940 } // namespace content
941 941
942 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 942 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698