summaryrefslogtreecommitdiffstats
path: root/views/controls/button/native_button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/native_button.cc')
-rw-r--r--views/controls/button/native_button.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/controls/button/native_button.cc b/views/controls/button/native_button.cc
index 65f6e0b..b822f51 100644
--- a/views/controls/button/native_button.cc
+++ b/views/controls/button/native_button.cc
@@ -116,9 +116,9 @@ void NativeButton::ButtonPressed() {
gfx::Point cursor_point = Screen::GetCursorScreenPoint();
#endif
- views::MouseEvent event(views::Event::ET_MOUSE_RELEASED,
+ views::MouseEvent event(ui::ET_MOUSE_RELEASED,
cursor_point.x(), cursor_point.y(),
- views::Event::EF_LEFT_BUTTON_DOWN);
+ ui::EF_LEFT_BUTTON_DOWN);
NotifyClick(event);
}
@@ -192,9 +192,9 @@ bool NativeButton::AcceleratorPressed(const Accelerator& accelerator) {
#elif defined(OS_LINUX)
gfx::Point cursor_point = Screen::GetCursorScreenPoint();
#endif
- views::MouseEvent event(views::Event::ET_MOUSE_RELEASED,
+ views::MouseEvent event(ui::ET_MOUSE_RELEASED,
cursor_point.x(), cursor_point.y(),
- views::Event::EF_LEFT_BUTTON_DOWN);
+ ui::EF_LEFT_BUTTON_DOWN);
NotifyClick(event);
return true;
}