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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

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: Remove #include which crept back in" 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/common/view_message_enums.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 72d461fa6a3788c518d76b8009ff310822b6c9a8..f3b09f181ad6a54f65eabbc051158289b7cbff95 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -42,6 +42,7 @@
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
#include "content/public/browser/user_metrics.h"
+#include "content/public/common/accessibility_mode.h"
#include "content/public/common/content_constants.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/result_codes.h"
@@ -803,10 +804,6 @@ void RenderWidgetHostImpl::StopHangMonitorTimeout() {
// started again shortly, which happens to be the common use case.
}
-void RenderWidgetHostImpl::EnableFullAccessibilityMode() {
- SetAccessibilityMode(AccessibilityModeComplete);
-}
-
static WebGestureEvent MakeGestureEvent(WebInputEvent::Type type,
double timestamp_seconds,
int x,
@@ -2190,6 +2187,10 @@ void RenderWidgetHostImpl::SetEditCommandsForNextKeyEvent(
Send(new ViewMsg_SetEditCommandsForNextKeyEvent(GetRoutingID(), commands));
}
+AccessibilityMode RenderWidgetHostImpl::GetAccessibilityMode() const {
+ return accessibility_mode_;
+}
+
void RenderWidgetHostImpl::SetAccessibilityMode(AccessibilityMode mode) {
Send(new ViewMsg_SetAccessibilityMode(routing_id_, mode));
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/common/view_message_enums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698