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

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

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_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index 8e3d769fee70b42feaaa916dc8d47b6f059526fd..445576f6ed1cb9425a08f5eae1cb9a00a607d1c3 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -59,7 +59,6 @@
#include "ui/gfx/gdi_util.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/screen.h"
-#include "webkit/glue/webaccessibility.h"
#include "webkit/glue/webcursor.h"
#include "webkit/plugins/npapi/plugin_constants_win.h"
#include "webkit/plugins/npapi/webplugin.h"
@@ -718,8 +717,9 @@ RenderWidgetHostViewWin::GetNativeViewAccessible() {
if (!GetBrowserAccessibilityManager()) {
// Return busy document tree while renderer accessibility tree loads.
- WebAccessibility::State busy_state =
- static_cast<WebAccessibility::State>(1 << WebAccessibility::STATE_BUSY);
+ content::AccessibilityNodeData::State busy_state =
+ static_cast<content::AccessibilityNodeData::State>(
+ 1 << content::AccessibilityNodeData::STATE_BUSY);
SetBrowserAccessibilityManager(
BrowserAccessibilityManager::CreateEmptyDocument(
m_hWnd, busy_state, this));
@@ -2336,7 +2336,9 @@ void RenderWidgetHostViewWin::OnAccessibilityNotifications(
if (!GetBrowserAccessibilityManager()) {
SetBrowserAccessibilityManager(
BrowserAccessibilityManager::CreateEmptyDocument(
- m_hWnd, static_cast<WebAccessibility::State>(0), this));
+ m_hWnd,
+ static_cast<content::AccessibilityNodeData::State>(0),
+ this));
}
GetBrowserAccessibilityManager()->OnAccessibilityNotifications(params);
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/common/accessibility_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698