| Index: content/browser/renderer_host/render_widget_host_view_base.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
|
| index e00c9779946bcb76624a076f3917032e4c628acc..ed85fa0925c741d5b2c5c75716474071a4e1b5de 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_base.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_base.h
|
| @@ -49,6 +49,7 @@ struct WebScreenInfo;
|
| }
|
|
|
| namespace content {
|
| +class BrowserAccessibilityDelegate;
|
| class BrowserAccessibilityManager;
|
| class SyntheticGesture;
|
| class SyntheticGestureTarget;
|
| @@ -91,11 +92,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
|
|
|
| blink::WebPopupType GetPopupType();
|
|
|
| - // Get the BrowserAccessibilityManager if it exists, may return NULL.
|
| - BrowserAccessibilityManager* GetBrowserAccessibilityManager() const;
|
| -
|
| - void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
|
| -
|
| // Return a value that is incremented each time the renderer swaps a new frame
|
| // to the view.
|
| uint32 RendererFrameNumber();
|
| @@ -151,13 +147,11 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
|
| // Return true if frame subscription is supported on this platform.
|
| virtual bool CanSubscribeFrame() const;
|
|
|
| - // Create a BrowserAccessibilityManager for this view if it's possible to
|
| - // create one and if one doesn't exist already. Some ports may not create
|
| - // one depending on the current state.
|
| - virtual void CreateBrowserAccessibilityManagerIfNeeded();
|
| + // Create a BrowserAccessibilityManager for this view.
|
| + virtual BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
|
| + BrowserAccessibilityDelegate* delegate);
|
|
|
| - virtual void OnAccessibilitySetFocus(int acc_obj_id);
|
| - virtual void AccessibilityShowMenu(int acc_obj_id);
|
| + virtual void AccessibilityShowMenu(const gfx::Point& point);
|
| virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds);
|
|
|
| virtual SkBitmap::Config PreferredReadbackFormat();
|
| @@ -421,9 +415,6 @@ protected:
|
| private:
|
| void FlushInput();
|
|
|
| - // Manager of the tree representation of the WebKit render tree.
|
| - scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
|
| -
|
| gfx::Rect current_display_area_;
|
|
|
| uint32 renderer_frame_number_;
|
|
|