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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_ash.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/browser_frame_ash.h
diff --git a/chrome/browser/ui/views/frame/browser_frame_ash.h b/chrome/browser/ui/views/frame/browser_frame_ash.h
index 532656e4746d46e15a5aab53c03a4c869ef545df..85a9c9806244f9babfb92fcc1887ff38041ae102 100644
--- a/chrome/browser/ui/views/frame/browser_frame_ash.h
+++ b/chrome/browser/ui/views/frame/browser_frame_ash.h
@@ -41,6 +41,10 @@ class BrowserFrameAsh : public views::NativeWidgetAura,
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;
~BrowserFrameAsh() override;

Powered by Google App Engine
This is Rietveld 408576698