summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-19 15:13:38 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-19 15:13:38 +0000
commitad2dba347d7bbc29177da53dba52d08fadd1e9e0 (patch)
treed7a90bc109da62bb3cc501b627809cb3c9bdaa7b /chrome/browser/views/frame
parenta89a55dd2a5fc953a936dbbbf0e5f00db0adf550 (diff)
downloadchromium_src-ad2dba347d7bbc29177da53dba52d08fadd1e9e0.zip
chromium_src-ad2dba347d7bbc29177da53dba52d08fadd1e9e0.tar.gz
chromium_src-ad2dba347d7bbc29177da53dba52d08fadd1e9e0.tar.bz2
Revert 44907 - Add infrastructure for supporting Views to the accessibility extension api.
Only a few controls actually generate accessibility events to make sure it works, this is mostly to get the infrastructure in place. Note that the new files are analogous to: chrome/browser/gtk/accessibility_event_router_gtk.cc chrome/browser/gtk/accessibility_event_router_gtk.h chrome/browser/gtk/accessibile_widget_helper_gtk.cc chrome/browser/gtk/accessibile_widget_helper_gtk.h Any design changes should be made to both sets of classes. BUG=none TEST=Added new unit test. TBR=thomasvl Review URL: http://codereview.chromium.org/1518029 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/1664004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame')
-rw-r--r--chrome/browser/views/frame/browser_view.cc4
-rw-r--r--chrome/browser/views/frame/browser_view.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index f96964a..dba7844 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -27,7 +27,6 @@
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/browser/tab_contents/tab_contents_view.h"
#include "chrome/browser/view_ids.h"
-#include "chrome/browser/views/accessible_view_helper.h"
#include "chrome/browser/views/bookmark_bar_view.h"
#include "chrome/browser/views/browser_dialogs.h"
#include "chrome/browser/views/download_shelf_view.h"
@@ -641,9 +640,6 @@ bool BrowserView::IsPositionInWindowCaption(const gfx::Point& point) {
// BrowserView, BrowserWindow implementation:
void BrowserView::Show() {
- accessible_view_helper_.reset(new AccessibleViewHelper(
- this, browser_->profile()));
-
#if defined(OS_LINUX)
if (!accessible_widget_helper_.get()) {
accessible_widget_helper_.reset(new AccessibleWidgetHelper(
diff --git a/chrome/browser/views/frame/browser_view.h b/chrome/browser/views/frame/browser_view.h
index 1e5b361..8b6c120 100644
--- a/chrome/browser/views/frame/browser_view.h
+++ b/chrome/browser/views/frame/browser_view.h
@@ -35,7 +35,6 @@
// NOTE: For more information about the objects and files in this directory,
// view: http://dev.chromium.org/developers/design-documents/browser-window
-class AccessibleViewHelper;
class BookmarkBarView;
class Browser;
class BrowserBubble;
@@ -574,7 +573,6 @@ class BrowserView : public BrowserBubbleHost,
UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
- scoped_ptr<AccessibleViewHelper> accessible_view_helper_;
#if defined(OS_LINUX)
scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_;
#endif