]> khamidou — GitHub mirrors - electron.git/commitdiff
Add dummy implemenation of accelerator_util for Windows.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 5 Jul 2013 02:23:10 +0000 (10:23 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 5 Jul 2013 02:23:10 +0000 (10:23 +0800)
atom.gyp
browser/accelerator_util_win.cc [new file with mode: 0644]

index 5eef6d2924c4b93e4b93bedd67680335a3ab4beb..82446ed48553ba33bfc67bf729127e00bb975c41 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
@@ -35,6 +35,7 @@
       'browser/accelerator_util.cc',
       'browser/accelerator_util.h',
       'browser/accelerator_util_mac.mm',
+      'browser/accelerator_util_win.cc',
       'browser/api/atom_api_app.cc',
       'browser/api/atom_api_app.h',
       'browser/api/atom_api_auto_updater.cc',
diff --git a/browser/accelerator_util_win.cc b/browser/accelerator_util_win.cc
new file mode 100644 (file)
index 0000000..034759b
--- /dev/null
@@ -0,0 +1,14 @@
+// Copyright (c) 2013 GitHub, Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "browser/accelerator_util.h"
+
+#include "ui/base/accelerators/accelerator.h"
+
+namespace accelerator_util {
+
+void SetPlatformAccelerator(ui::Accelerator* accelerator) {
+}
+
+}  // namespace accelerator_util