From: Karim Hamidou Date: Tue, 16 Feb 2016 01:22:49 +0000 (-0800) Subject: moar debug X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=54097491be8c480c554ae215fea1cd1f3f38ce62;p=electron.git moar debug --- diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 87941454..e0d0f52a 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -969,6 +969,10 @@ void NativeWindowViews::OnGestureEvent(ui::GestureEvent* event) { puts("Got gesture event"); } +bool NativeWindowViews::OnKeyPressed(const ui::KeyEvent& event) { + puts("ONKEYPRESSED !"); +} + bool NativeWindowViews::AcceleratorPressed(const ui::Accelerator& accelerator) { return accelerator_util::TriggerAcceleratorTableCommand( &accelerator_table_, accelerator);