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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 2031004: Revert 46567 - Reimplement accessibility of web content by caching the entire... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 7 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: chrome/browser/renderer_host/render_widget_host_view_win.h
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_win.h (revision 46641)
+++ chrome/browser/renderer_host/render_widget_host_view_win.h (working copy)
@@ -13,10 +13,8 @@
#include "base/scoped_comptr_win.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
-#include "chrome/browser/browser_accessibility_manager.h"
#include "chrome/browser/ime_input.h"
#include "chrome/browser/renderer_host/render_widget_host_view.h"
-#include "chrome/common/notification_registrar.h"
#include "webkit/glue/webcursor.h"
namespace gfx {
@@ -57,8 +55,7 @@
: public CWindowImpl<RenderWidgetHostViewWin,
CWindow,
RenderWidgetHostHWNDTraits>,
- public RenderWidgetHostView,
- public NotificationObserver {
+ public RenderWidgetHostView {
public:
// The view will associate itself with the given widget.
explicit RenderWidgetHostViewWin(RenderWidgetHost* widget);
@@ -144,16 +141,7 @@
virtual void SetBackground(const SkBitmap& background);
virtual bool ContainsNativeView(gfx::NativeView native_view) const;
virtual void SetVisuallyDeemphasized(bool deemphasized);
- virtual void UpdateAccessibilityTree(
- const webkit_glue::WebAccessibility& tree);
- virtual void OnAccessibilityFocusChange(int acc_obj_id);
- virtual void OnAccessibilityObjectStateChange(int acc_obj_id);
- // Implementation of NotificationObserver:
- virtual void Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details);
-
protected:
// Windows Message Handlers
LRESULT OnCreate(CREATESTRUCT* create_struct);
@@ -308,7 +296,7 @@
// Instance of accessibility information for the root of the MSAA
// tree representation of the WebKit render tree.
- scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
+ ScopedComPtr<IAccessible> browser_accessibility_root_;
// The time at which this view started displaying white pixels as a result of
// not having anything to paint (empty backing store from renderer). This
@@ -327,9 +315,6 @@
// whenever we paint.
bool visually_deemphasized_;
- // Registrar so we can listen to RENDERER_PROCESS_TERMINATED events.
- NotificationRegistrar registrar_;
-
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
};
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view.h ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698