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

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

Issue 12335101: Move some accessibility methods, enums and interfaces into the content/public API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address review comments Created 7 years, 10 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 113477a4a2cf000f57e63292b1ccac7c476dea85..5d960575bda931cd2d7b2e5771778d18f8a64848 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -9,6 +9,7 @@
#include "content/common/content_export.h"
#include "content/public/browser/keyboard_listener.h"
#include "content/public/browser/native_web_keyboard_event.h"
+#include "content/public/common/accessibility_mode.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_sender.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
@@ -200,8 +201,8 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
CGContextRef target) = 0;
#endif
- // Send a command to the renderer to turn on full accessibility.
- virtual void EnableFullAccessibilityMode() = 0;
+ virtual AccessibilityMode GetAccessibilityMode() const = 0;
+ 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