Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5925)

Unified Diff: chrome/browser/ui/views/frame/browser_view_platform_common.cc

Issue 2074643003: MacViews: Views accelerators table should match the Cocoa one. (Closed) Base URL: ssh://bitbucket.browser.yandex-team.ru/chromium/src.git@master
Patch Set: Updated accelerator_table.cc, removed non-Cocoa shortcuts, added global_keyboard_shortcuts_mac.mm h… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_view_platform_common.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_platform_common.cc b/chrome/browser/ui/views/frame/browser_view_platform_common.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2def73ce5d200c30b946089c9f09c6e49feb9a98
--- /dev/null
+++ b/chrome/browser/ui/views/frame/browser_view_platform_common.cc
@@ -0,0 +1,23 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/views/frame/browser_view_platform.h"
+
+#include "build/build_config.h"
+
+#if !defined(OS_MACOSX)
+// static
+bool BrowserViewPlatform::PreHandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event,
+ Browser* browser) {
+ return false;
+}
+
+// static
+bool BrowserViewPlatform::HandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event,
+ Browser* browser) {
+ return false;
+}
+#endif // OS_MACOSX

Powered by Google App Engine
This is Rietveld 408576698