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

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

Issue 2430473003: Revert of Create AXAction and AXActionData as a way to simplify accessibility actions (Closed)
Patch Set: 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // IPC::Sender 172 // IPC::Sender
173 bool Send(IPC::Message* msg) override; 173 bool Send(IPC::Message* msg) override;
174 174
175 // IPC::Listener 175 // IPC::Listener
176 bool OnMessageReceived(const IPC::Message& msg) override; 176 bool OnMessageReceived(const IPC::Message& msg) override;
177 void OnAssociatedInterfaceRequest( 177 void OnAssociatedInterfaceRequest(
178 const std::string& interface_name, 178 const std::string& interface_name,
179 mojo::ScopedInterfaceEndpointHandle handle) override; 179 mojo::ScopedInterfaceEndpointHandle handle) override;
180 180
181 // BrowserAccessibilityDelegate 181 // BrowserAccessibilityDelegate
182 void AccessibilityPerformAction(const ui::AXActionData& data) override; 182 void AccessibilitySetFocus(int acc_obj_id) override;
183 void AccessibilityDoDefaultAction(int acc_obj_id) override;
184 void AccessibilityShowContextMenu(int acc_obj_id) override;
185 void AccessibilityScrollToMakeVisible(int acc_obj_id,
186 const gfx::Rect& subfocus) override;
187 void AccessibilityScrollToPoint(int acc_obj_id,
188 const gfx::Point& point) override;
189 void AccessibilitySetScrollOffset(int acc_obj_id,
190 const gfx::Point& offset) override;
191 void AccessibilitySetSelection(int anchor_object_id,
192 int anchor_offset,
193 int focus_object_id,
194 int focus_offset) override;
195 void AccessibilitySetValue(int acc_obj_id, const base::string16& value)
196 override;
183 bool AccessibilityViewHasFocus() const override; 197 bool AccessibilityViewHasFocus() const override;
184 gfx::Rect AccessibilityGetViewBounds() const override; 198 gfx::Rect AccessibilityGetViewBounds() const override;
185 gfx::Point AccessibilityOriginInScreen( 199 gfx::Point AccessibilityOriginInScreen(
186 const gfx::Rect& bounds) const override; 200 const gfx::Rect& bounds) const override;
201 void AccessibilityHitTest(const gfx::Point& point) override;
202 void AccessibilitySetAccessibilityFocus(int acc_obj_id) override;
187 void AccessibilityFatalError() override; 203 void AccessibilityFatalError() override;
188 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 204 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
189 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 205 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
190 206
191 // SiteInstanceImpl::Observer 207 // SiteInstanceImpl::Observer
192 void RenderProcessGone(SiteInstanceImpl* site_instance) override; 208 void RenderProcessGone(SiteInstanceImpl* site_instance) override;
193 209
194 // shell::InterfaceFactory<media::mojom::ServiceFactory> 210 // shell::InterfaceFactory<media::mojom::ServiceFactory>
195 void Create(const shell::Identity& remote_identity, 211 void Create(const shell::Identity& remote_identity,
196 media::mojom::ServiceFactoryRequest request) override; 212 media::mojom::ServiceFactoryRequest request) override;
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 remote_associated_interfaces_; 1056 remote_associated_interfaces_;
1041 // NOTE: This must be the last member. 1057 // NOTE: This must be the last member.
1042 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1058 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1043 1059
1044 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1060 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1045 }; 1061 };
1046 1062
1047 } // namespace content 1063 } // namespace content
1048 1064
1049 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1065 #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