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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.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: Fix review issues. 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_frame.h
diff --git a/chrome/browser/ui/views/frame/browser_frame.h b/chrome/browser/ui/views/frame/browser_frame.h
index 643043b62f181666da77346b150bd5bf8190e01f..d1cb212524e0089d0584b843d7b15cefa6ef7ae8 100644
--- a/chrome/browser/ui/views/frame/browser_frame.h
+++ b/chrome/browser/ui/views/frame/browser_frame.h
@@ -20,6 +20,10 @@ class NativeBrowserFrame;
class NonClientFrameView;
class SystemMenuModelBuilder;
+namespace content {
+struct NativeWebKeyboardEvent;
+}
+
namespace gfx {
class FontList;
class Rect;
@@ -97,6 +101,12 @@ class BrowserFrame
void GetWindowPlacement(gfx::Rect* bounds,
ui::WindowShowState* show_state) const;
+ // Returns true if the |event| was handled by the platform implementation.
+ bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event);
+
+ // Returns true if the |event| was handled by the platform implementation.
+ bool HandleKeyboardEvent(const content::NativeWebKeyboardEvent& event);
+
// Called when BrowserView creates all it's child views.
void OnBrowserViewInitViewsComplete();

Powered by Google App Engine
This is Rietveld 408576698