#ifndef UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_
#define UI_VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_H_
#include "ui/accessibility/ax_enums.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/views_export.h"
namespace views {
class View;
class VIEWS_EXPORT NativeViewAccessibility {
public:
static NativeViewAccessibility* Create(View* view);
virtual void NotifyAccessibilityEvent(
ui::AXEvent event_type) {}
virtual gfx::NativeViewAccessible GetNativeObject();
virtual void Destroy();
static void RegisterWebView(View* web_view);
static void UnregisterWebView(View* web_view);
protected:
NativeViewAccessibility();
virtual ~NativeViewAccessibility();
private:
DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibility);
};
}
#endif