]> khamidou — GitHub mirrors - electron.git/commitdiff
moar debug
authorKarim Hamidou <khamidou@gmail.com>
Tue, 16 Feb 2016 01:22:49 +0000 (17:22 -0800)
committerKarim Hamidou <khamidou@gmail.com>
Tue, 16 Feb 2016 01:22:49 +0000 (17:22 -0800)
atom/browser/native_window_views.cc

index 87941454c1ea1624c980d670ee2952c58ab48597..e0d0f52ac0cc156de248dc2976ea3aa755cdc500 100644 (file)
@@ -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);