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

Unified Diff: content/public/browser/render_widget_host.h

Issue 9939011: Add an accessibility mode for editable text fields only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index 2a5bf15a1ec0df8ccd7373ae8dd56c41303cebe3..9093e8929b153dd932e756653211b15695062f0c 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -7,6 +7,7 @@
#pragma once
#include "content/common/content_export.h"
+#include "content/common/view_message_enums.h"
#include "content/public/browser/keyboard_listener.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "ipc/ipc_channel.h"
@@ -196,9 +197,8 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Sender {
CGContextRef target) = 0;
#endif
- // Enable renderer accessibility. This should only be called when a
- // screenreader is detected.
- virtual void EnableRendererAccessibility() = 0;
+ // Send a command to the renderer to change the accessibility mode.
+ virtual void SetAccessibilityMode(AccessibilityMode mode) = 0;
// Forwards the given message to the renderer. These are called by
// the view when it has received a message.

Powered by Google App Engine
This is Rietveld 408576698