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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_ash.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: Fix compilation. 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.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_ash.cc b/chrome/browser/ui/views/frame/browser_frame_ash.cc
index 3058fade4c58fbe5052f819cfc6811dcfe8e3647..58ba903a21437fdd05e6bbeb293e43f57604ee7f 100644
--- a/chrome/browser/ui/views/frame/browser_frame_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_ash.cc
@@ -90,6 +90,9 @@ void BrowserFrameAsh::OnWindowTargetVisibilityChanged(bool visible) {
views::NativeWidgetAura::OnWindowTargetVisibilityChanged(visible);
}
+////////////////////////////////////////////////////////////////////////////////
+// BrowserFrameAsh, NativeBrowserFrame implementation:
+
bool BrowserFrameAsh::ShouldSaveWindowPlacement() const {
return nullptr == GetWidget()->GetNativeWindow()->GetProperty(
ash::kRestoreBoundsOverrideKey);
@@ -130,8 +133,15 @@ void BrowserFrameAsh::GetWindowPlacement(
}
}
-////////////////////////////////////////////////////////////////////////////////
-// BrowserFrameAsh, NativeBrowserFrame implementation:
+bool BrowserFrameAsh::PreHandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) {
+ return false;
+}
+
+bool BrowserFrameAsh::HandleKeyboardEvent(
+ const content::NativeWebKeyboardEvent& event) {
+ return false;
+}
views::Widget::InitParams BrowserFrameAsh::GetWidgetParams() {
views::Widget::InitParams params;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_ash.h ('k') | chrome/browser/ui/views/frame/browser_frame_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698