summaryrefslogtreecommitdiffstats
path: root/views/controls/native_control_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/native_control_gtk.cc')
-rw-r--r--views/controls/native_control_gtk.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/views/controls/native_control_gtk.cc b/views/controls/native_control_gtk.cc
index 88035c1..a17c4cb 100644
--- a/views/controls/native_control_gtk.cc
+++ b/views/controls/native_control_gtk.cc
@@ -7,9 +7,7 @@
#include <gtk/gtk.h>
#include "base/logging.h"
-#include "ui/base/accessibility/accessibility_types.h"
#include "views/focus/focus_manager.h"
-#include "views/widget/widget.h"
namespace views {
@@ -68,8 +66,8 @@ void NativeControlGtk::VisibilityChanged(View* starting_from, bool is_visible) {
void NativeControlGtk::OnFocus() {
DCHECK(native_view());
gtk_widget_grab_focus(native_view());
- GetWidget()->NotifyAccessibilityEvent(
- parent(), ui::AccessibilityTypes::EVENT_FOCUS, true);
+
+ parent()->NotifyAccessibilityEvent(AccessibilityTypes::EVENT_FOCUS);
}
void NativeControlGtk::NativeControlCreated(GtkWidget* native_control) {