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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2426193003: Re-land: Create AXAction and AXActionData as a way to simplify accessibility actions (Closed)
Patch Set: Rebase Created 4 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // IPC::Sender 176 // IPC::Sender
177 bool Send(IPC::Message* msg) override; 177 bool Send(IPC::Message* msg) override;
178 178
179 // IPC::Listener 179 // IPC::Listener
180 bool OnMessageReceived(const IPC::Message& msg) override; 180 bool OnMessageReceived(const IPC::Message& msg) override;
181 void OnAssociatedInterfaceRequest( 181 void OnAssociatedInterfaceRequest(
182 const std::string& interface_name, 182 const std::string& interface_name,
183 mojo::ScopedInterfaceEndpointHandle handle) override; 183 mojo::ScopedInterfaceEndpointHandle handle) override;
184 184
185 // BrowserAccessibilityDelegate 185 // BrowserAccessibilityDelegate
186 void AccessibilitySetFocus(int acc_obj_id) override; 186 void AccessibilityPerformAction(const ui::AXActionData& data) override;
187 void AccessibilityDoDefaultAction(int acc_obj_id) override;
188 void AccessibilityShowContextMenu(int acc_obj_id) override;
189 void AccessibilityScrollToMakeVisible(int acc_obj_id,
190 const gfx::Rect& subfocus) override;
191 void AccessibilityScrollToPoint(int acc_obj_id,
192 const gfx::Point& point) override;
193 void AccessibilitySetScrollOffset(int acc_obj_id,
194 const gfx::Point& offset) override;
195 void AccessibilitySetSelection(int anchor_object_id,
196 int anchor_offset,
197 int focus_object_id,
198 int focus_offset) override;
199 void AccessibilitySetValue(int acc_obj_id, const base::string16& value)
200 override;
201 bool AccessibilityViewHasFocus() const override; 187 bool AccessibilityViewHasFocus() const override;
202 gfx::Rect AccessibilityGetViewBounds() const override; 188 gfx::Rect AccessibilityGetViewBounds() const override;
203 gfx::Point AccessibilityOriginInScreen( 189 gfx::Point AccessibilityOriginInScreen(
204 const gfx::Rect& bounds) const override; 190 const gfx::Rect& bounds) const override;
205 void AccessibilityHitTest(const gfx::Point& point) override;
206 void AccessibilitySetAccessibilityFocus(int acc_obj_id) override;
207 void AccessibilityFatalError() override; 191 void AccessibilityFatalError() override;
208 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 192 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
209 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 193 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
210 194
211 // SiteInstanceImpl::Observer 195 // SiteInstanceImpl::Observer
212 void RenderProcessGone(SiteInstanceImpl* site_instance) override; 196 void RenderProcessGone(SiteInstanceImpl* site_instance) override;
213 197
214 // service_manager::InterfaceFactory<media::mojom::ServiceFactory> 198 // service_manager::InterfaceFactory<media::mojom::ServiceFactory>
215 void Create(const service_manager::Identity& remote_identity, 199 void Create(const service_manager::Identity& remote_identity,
216 media::mojom::ServiceFactoryRequest request) override; 200 media::mojom::ServiceFactoryRequest request) override;
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 remote_associated_interfaces_; 1050 remote_associated_interfaces_;
1067 // NOTE: This must be the last member. 1051 // NOTE: This must be the last member.
1068 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1052 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1069 1053
1070 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1054 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1071 }; 1055 };
1072 1056
1073 } // namespace content 1057 } // namespace content
1074 1058
1075 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1059 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/hit_testing_browsertest.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698