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

Unified Diff: content/browser/accessibility/browser_accessibility_manager_win.cc

Issue 137403005: Remove some code inside USE_AURA and OS_WIN ifdefs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/browser_accessibility_manager_win.cc
===================================================================
--- content/browser/accessibility/browser_accessibility_manager_win.cc (revision 244508)
+++ content/browser/accessibility/browser_accessibility_manager_win.cc (working copy)
@@ -149,17 +149,15 @@
if (!parent_iaccessible())
return;
-#if defined(USE_AURA)
- // If this is an Aura build on Win 7 and complete accessibility is
- // enabled, create a fake child HWND to use as the root of the
- // accessibility tree. See comments above AccessibleHWND for details.
+ // If on Win 7 and complete accessibility is enabled, create a fake child HWND
+ // to use as the root of the accessibility tree. See comments above
+ // AccessibleHWND for details.
if (BrowserAccessibilityStateImpl::GetInstance()->IsAccessibleBrowser() &&
!accessible_hwnd_) {
accessible_hwnd_ = new AccessibleHWND(parent_hwnd_, this);
parent_hwnd_ = accessible_hwnd_->hwnd();
parent_iaccessible_ = accessible_hwnd_->window_accessible();
}
-#endif
::NotifyWinEvent(event, parent_hwnd(), OBJID_CLIENT, child_id);
}

Powered by Google App Engine
This is Rietveld 408576698