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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.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_gtk.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_gtk.cc b/content/browser/renderer_host/render_widget_host_view_gtk.cc
index babdce254ba5c22ef690f402e37fc766b944b228..c6999c26f79c112fe8d29e036bd98b4c31dcca4c 100644
--- a/content/browser/renderer_host/render_widget_host_view_gtk.cc
+++ b/content/browser/renderer_host/render_widget_host_view_gtk.cc
@@ -46,7 +46,6 @@
#include "ui/base/x/x11_util.h"
#include "ui/gfx/gtk_native_view_id_manager.h"
#include "ui/gfx/gtk_preserve_window.h"
-#include "webkit/glue/webaccessibility.h"
#include "webkit/glue/webcursor_gtk_data.h"
#include "webkit/plugins/npapi/webplugin.h"
@@ -1493,7 +1492,9 @@ void RenderWidgetHostViewGtk::OnAccessibilityNotifications(
GtkWidget* parent = gtk_widget_get_parent(view_.get());
browser_accessibility_manager_.reset(
BrowserAccessibilityManager::CreateEmptyDocument(
- parent, static_cast<WebAccessibility::State>(0), this));
+ parent,
+ static_cast<content::AccessibilityNodeData::State>(0),
+ this));
}
browser_accessibility_manager_->OnAccessibilityNotifications(params);
}
@@ -1506,7 +1507,9 @@ AtkObject* RenderWidgetHostViewGtk::GetAccessible() {
GtkWidget* parent = gtk_widget_get_parent(view_.get());
browser_accessibility_manager_.reset(
BrowserAccessibilityManager::CreateEmptyDocument(
- parent, static_cast<WebAccessibility::State>(0), this));
+ parent,
+ static_cast<content::AccessibilityNodeData::State>(0),
+ this));
}
BrowserAccessibilityGtk* root =
browser_accessibility_manager_->GetRoot()->ToBrowserAccessibilityGtk();
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698