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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 10544099: Refactor all accessibility code out of webkit/glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More Mac compile errors Created 8 years, 6 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/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index aeaba7fabde3c16eab630e1811f276ac17f4d01a..449dbd44804c235350984ec16730f860c955a39a 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -51,7 +51,6 @@
#include "ui/gfx/point.h"
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
#include "ui/surface/io_surface_support_mac.h"
-#include "webkit/glue/webaccessibility.h"
#include "webkit/plugins/npapi/webplugin.h"
using content::BrowserThread;
@@ -1270,7 +1269,9 @@ void RenderWidgetHostViewMac::OnAccessibilityNotifications(
if (!GetBrowserAccessibilityManager()) {
SetBrowserAccessibilityManager(
BrowserAccessibilityManager::CreateEmptyDocument(
- cocoa_view_, static_cast<WebAccessibility::State>(0), NULL));
+ cocoa_view_,
+ static_cast<content::AccessibilityNodeData::State>(0),
+ NULL));
}
GetBrowserAccessibilityManager()->OnAccessibilityNotifications(params);
}

Powered by Google App Engine
This is Rietveld 408576698