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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 246773008: RWHI should implement BrowserAccessibilityDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge error Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual InputEventAckState FilterInputEvent( 59 virtual InputEventAckState FilterInputEvent(
60 const blink::WebInputEvent& input_event) OVERRIDE; 60 const blink::WebInputEvent& input_event) OVERRIDE;
61 virtual void OnSetNeedsFlushInput() OVERRIDE; 61 virtual void OnSetNeedsFlushInput() OVERRIDE;
62 virtual void OnDidFlushInput() OVERRIDE; 62 virtual void OnDidFlushInput() OVERRIDE;
63 virtual void GestureEventAck(const blink::WebGestureEvent& event, 63 virtual void GestureEventAck(const blink::WebGestureEvent& event,
64 InputEventAckState ack_result) OVERRIDE; 64 InputEventAckState ack_result) OVERRIDE;
65 virtual void SetPopupType(blink::WebPopupType popup_type) OVERRIDE; 65 virtual void SetPopupType(blink::WebPopupType popup_type) OVERRIDE;
66 virtual blink::WebPopupType GetPopupType() OVERRIDE; 66 virtual blink::WebPopupType GetPopupType() OVERRIDE;
67 virtual BrowserAccessibilityManager* 67 virtual BrowserAccessibilityManager*
68 GetBrowserAccessibilityManager() const OVERRIDE; 68 GetBrowserAccessibilityManager() const OVERRIDE;
69 virtual void SetBrowserAccessibilityManager(
70 BrowserAccessibilityManager* manager) OVERRIDE;
69 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; 71 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE;
72 virtual void OnAccessibilitySetFocus(int acc_obj_id) OVERRIDE;
73 virtual void AccessibilityShowMenu(int acc_obj_id) OVERRIDE;
74 virtual gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds)
75 OVERRIDE;
70 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 76 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
71 InputEventAckState ack_result) OVERRIDE; 77 InputEventAckState ack_result) OVERRIDE;
72 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 78 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
73 OVERRIDE; 79 OVERRIDE;
74 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; 80 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE;
75 virtual bool CanSubscribeFrame() const OVERRIDE; 81 virtual bool CanSubscribeFrame() const OVERRIDE;
76 virtual void BeginFrameSubscription( 82 virtual void BeginFrameSubscription(
77 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 83 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
78 virtual void EndFrameSubscription() OVERRIDE; 84 virtual void EndFrameSubscription() OVERRIDE;
79 virtual void OnSwapCompositorFrame( 85 virtual void OnSwapCompositorFrame(
80 uint32 output_surface_id, 86 uint32 output_surface_id,
81 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} 87 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {}
82 virtual void DidStopFlinging() OVERRIDE {} 88 virtual void DidStopFlinging() OVERRIDE {}
83 virtual uint32 RendererFrameNumber() OVERRIDE; 89 virtual uint32 RendererFrameNumber() OVERRIDE;
84 virtual void DidReceiveRendererFrame() OVERRIDE; 90 virtual void DidReceiveRendererFrame() OVERRIDE;
85 virtual void LockCompositingSurface() OVERRIDE; 91 virtual void LockCompositingSurface() OVERRIDE;
86 virtual void UnlockCompositingSurface() OVERRIDE; 92 virtual void UnlockCompositingSurface() OVERRIDE;
87 93
88 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 94 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
89 95
90 virtual gfx::Size GetVisibleViewportSize() const OVERRIDE; 96 virtual gfx::Size GetVisibleViewportSize() const OVERRIDE;
91 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; 97 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
92 98
93 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
94
95 // Notification that a resize or move session ended on the native widget. 99 // Notification that a resize or move session ended on the native widget.
96 void UpdateScreenInfo(gfx::NativeView view); 100 void UpdateScreenInfo(gfx::NativeView view);
97 101
98 // Tells if the display property (work area/scale factor) has 102 // Tells if the display property (work area/scale factor) has
99 // changed since the last time. 103 // changed since the last time.
100 bool HasDisplayPropertyChanged(gfx::NativeView view); 104 bool HasDisplayPropertyChanged(gfx::NativeView view);
101 105
102 #if defined(OS_WIN) 106 #if defined(OS_WIN)
103 // The callback that DetachPluginsHelper calls for each child window. Call 107 // The callback that DetachPluginsHelper calls for each child window. Call
104 // this directly if you want to do custom filtering on plugin windows first. 108 // this directly if you want to do custom filtering on plugin windows first.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 uint32 renderer_frame_number_; 175 uint32 renderer_frame_number_;
172 176
173 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 177 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
174 178
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
176 }; 180 };
177 181
178 } // namespace content 182 } // namespace content
179 183
180 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 184 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698