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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.h

Issue 10316010: Revert 135020 - Add initial GTK web accessibility framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_gtk.h
===================================================================
--- content/browser/renderer_host/render_widget_host_view_gtk.h (revision 135026)
+++ content/browser/renderer_host/render_widget_host_view_gtk.h (working copy)
@@ -13,7 +13,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/time.h"
-#include "content/browser/accessibility/browser_accessibility_manager.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
#include "content/common/content_export.h"
#include "ui/base/animation/animation_delegate.h"
@@ -43,9 +42,7 @@
// -----------------------------------------------------------------------------
// See comments in render_widget_host_view.h about this class and its members.
// -----------------------------------------------------------------------------
-class CONTENT_EXPORT RenderWidgetHostViewGtk
- : public content::RenderWidgetHostViewBase,
- public BrowserAccessibilityDelegate {
+class RenderWidgetHostViewGtk : public content::RenderWidgetHostViewBase {
public:
virtual ~RenderWidgetHostViewGtk();
@@ -125,9 +122,6 @@
virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
virtual bool LockMouse() OVERRIDE;
virtual void UnlockMouse() OVERRIDE;
- virtual void OnAccessibilityNotifications(
- const std::vector<AccessibilityHostMsg_NotificationParams>& params)
- OVERRIDE;
// If the widget is aligned with an edge of the monitor its on and the user
// attempts to drag past that edge we track the number of times it has
@@ -152,19 +146,6 @@
bool RetrieveSurrounding(std::string* text, size_t* cursor_index);
- // BrowserAccessibilityDelegate implementation.
- virtual void SetAccessibilityFocus(int acc_obj_id) OVERRIDE;
- virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE;
- virtual void AccessibilityScrollToMakeVisible(
- int acc_obj_id, gfx::Rect subfocus) OVERRIDE;
- virtual void AccessibilityScrollToPoint(
- int acc_obj_id, gfx::Point point) OVERRIDE;
- virtual void AccessibilitySetTextSelection(
- int acc_obj_id, int start_offset, int end_offset) OVERRIDE;
-
- // Get the root of the AtkObject* tree for accessibility.
- AtkObject* GetAccessible();
-
protected:
friend class content::RenderWidgetHostView;
@@ -306,10 +287,6 @@
// menus and drags.
GdkEventButton* last_mouse_down_;
- // Instance of accessibility information for the root of the AtkObject
- // tree representation of the WebKit render tree.
- scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
-
ui::GtkSignalRegistrar signals_;
};

Powered by Google App Engine
This is Rietveld 408576698