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

Unified Diff: chrome/browser/ui/views/frame/desktop_browser_frame_aura.h

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: GetWindowKeyboardShortcutTable is now shared between Cocoa and MacViews. Created 4 years, 1 month 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/desktop_browser_frame_aura.h
diff --git a/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h b/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h
index 3bb7a62daf7647cee0ec140e289df9fb42790288..c657e4c8f5b646d8a18be6f0c090a69b53da3f5c 100644
--- a/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h
+++ b/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h
@@ -50,6 +50,10 @@ class DesktopBrowserFrameAura : public views::DesktopNativeWidgetAura,
bool ShouldSaveWindowPlacement() const override;
void GetWindowPlacement(gfx::Rect* bounds,
ui::WindowShowState* show_state) const override;
+ bool PreHandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) override;
+ bool HandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) override;
private:
// The BrowserView is our ClientView. This is a pointer to it.

Powered by Google App Engine
This is Rietveld 408576698