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

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: Split global_keyboard_shortcuts_mac.mm into two platform-specific ones, simplified code. 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 c5a70a2be8ff15569ee741ffa10c47e38c6b859f..3c35edf1ae3a29f83c176e900c2380002a09a03c 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;
@@ -92,6 +96,12 @@ class BrowserFrame
void GetWindowPlacement(gfx::Rect* bounds,
ui::WindowShowState* show_state) const;
+ // Returns true if the |event| was handled by the platform implementation.
tapted 2016/10/31 10:16:57 I think this needs to borrow more words from brows
themblsha 2016/10/31 16:56:29 Done.
+ bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event);
+
+ // Returns true if the |event| was handled by the platform implementation.
tapted 2016/10/31 10:16:57 // Returns true if the |event| was handled by the
themblsha 2016/10/31 16:56:29 Done.
+ 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