Commit 47129346 authored by grt@chromium.org's avatar grt@chromium.org

Remove Chrome Frame code from BrowserAccessibilityManagerWin.

BUG=316496
R=dmazzoni@chromium.org

Review URL: https://codereview.chromium.org/132313003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244167 0039d316-1c4b-4281-b951-d872f2087c98
parent a748df2c
......@@ -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();
......
......@@ -80,8 +80,6 @@ class CONTENT_EXPORT BrowserAccessibilityManagerWin
// browser process) to renderer ids within this page.
base::hash_map<long, int32> unique_id_to_renderer_id_map_;
bool is_chrome_frame_;
// Owned by its parent; OnAccessibleHwndDeleted gets called upon deletion.
AccessibleHWND* accessible_hwnd_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment