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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.cc

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.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc
index c5ede6ab791459cdb27d0c4b7d72b6948a6efd68..b7c0c39c4e2bbc0cec3ecc697a1302ea5a14504d 100644
--- a/chrome/browser/ui/views/frame/browser_frame.cc
+++ b/chrome/browser/ui/views/frame/browser_frame.cc
@@ -154,6 +154,16 @@ void BrowserFrame::GetWindowPlacement(gfx::Rect* bounds,
return native_browser_frame_->GetWindowPlacement(bounds, show_state);
}
+bool BrowserFrame::PreHandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) {
+ return native_browser_frame_->PreHandleKeyboardEvent(event);
+}
+
+bool BrowserFrame::HandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) {
+ return native_browser_frame_->HandleKeyboardEvent(event);
+}
+
void BrowserFrame::OnBrowserViewInitViewsComplete() {
browser_frame_view_->OnBrowserViewInitViewsComplete();
}

Powered by Google App Engine
This is Rietveld 408576698