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

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

Issue 132313003: Remove Chrome Frame code from BrowserAccessibilityManagerWin. (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_manager_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_manager_win.cc b/content/browser/accessibility/browser_accessibility_manager_win.cc
index aaecafb60e4d3c7c479cfe843475535bf3ae1759..f937ea5de5081a00d5ad947f140f78490c42d888 100644
--- a/content/browser/accessibility/browser_accessibility_manager_win.cc
+++ b/content/browser/accessibility/browser_accessibility_manager_win.cc
@@ -119,8 +119,6 @@ BrowserAccessibilityManagerWin::BrowserAccessibilityManagerWin(
parent_hwnd_(parent_hwnd),
parent_iaccessible_(parent_iaccessible),
tracked_scroll_object_(NULL),
- is_chrome_frame_(
- CommandLine::ForCurrentProcess()->HasSwitch("chrome-frame")),
accessible_hwnd_(NULL) {
}
@@ -156,7 +154,6 @@ void BrowserAccessibilityManagerWin::MaybeCallNotifyWinEvent(DWORD event,
// 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() &&
- !is_chrome_frame_ &&
!accessible_hwnd_) {
accessible_hwnd_ = new AccessibleHWND(parent_hwnd_, this);
parent_hwnd_ = accessible_hwnd_->hwnd();
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698