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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_mac.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_mac.h
diff --git a/chrome/browser/ui/views/frame/browser_frame_mac.h b/chrome/browser/ui/views/frame/browser_frame_mac.h
index 78ffcd7c138e89dc3d4c974fc69694da01fbe0a2..eefb271cf3f7ffceb8bf4fa629c9d63789a5730e 100644
--- a/chrome/browser/ui/views/frame/browser_frame_mac.h
+++ b/chrome/browser/ui/views/frame/browser_frame_mac.h
@@ -35,6 +35,10 @@ class BrowserFrameMac : public views::NativeWidgetMac,
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;
protected:
~BrowserFrameMac() override;

Powered by Google App Engine
This is Rietveld 408576698