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

Unified Diff: content/renderer/accessibility/render_accessibility_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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/accessibility/render_accessibility_impl.h
diff --git a/content/renderer/accessibility/render_accessibility_impl.h b/content/renderer/accessibility/render_accessibility_impl.h
index fba44c7dfa4fb4c17a6f5ac1d05ca43d8b60d5b0..77e0b1b88bb54ced8a02379a0f0ffdae70ff3598 100644
--- a/content/renderer/accessibility/render_accessibility_impl.h
+++ b/content/renderer/accessibility/render_accessibility_impl.h
@@ -26,10 +26,6 @@
class WebDocument;
class WebNode;
};
-
-namespace ui {
-struct AXActionData;
-}
namespace content {
class RenderFrameImpl;
@@ -119,13 +115,23 @@
void OnDestruct() override;
// Handlers for messages from the browser to the renderer.
- void OnPerformAction(const ui::AXActionData& data);
+ void OnDoDefaultAction(int acc_obj_id);
void OnEventsAck(int ack_token);
void OnFatalError();
+ void OnHitTest(gfx::Point point);
+ void OnSetAccessibilityFocus(int acc_obj_id);
void OnReset(int reset_token);
+ void OnScrollToMakeVisible(int acc_obj_id, gfx::Rect subfocus);
+ void OnScrollToPoint(int acc_obj_id, gfx::Point point);
+ void OnSetScrollOffset(int acc_obj_id, gfx::Point offset);
+ void OnSetFocus(int acc_obj_id);
+ void OnSetSelection(int anchor_acc_obj_id,
+ int anchor_offset,
+ int focus_acc_obj_id,
+ int focus_offset);
+ void OnSetValue(int acc_obj_id, base::string16 value);
+ void OnShowContextMenu(int acc_obj_id);
- void OnHitTest(const gfx::Point& point);
- void OnSetAccessibilityFocus(const blink::WebAXObject& obj);
void AddPluginTreeToUpdate(AXContentTreeUpdate* update);
void ScrollPlugin(int id_to_make_visible);
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/renderer/accessibility/render_accessibility_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698