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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 2874153004: Revert change to BroserWindowCocoa::PreHandleKeyboardEvent in 2824803004 (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index 1e9353d901fa4e38927ba4ebdc8fa3922d604941..cb61d3af6005e2ad44f892a715b96ef87d1d62c1 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -735,10 +735,10 @@ BrowserWindowCocoa::PreHandleKeyboardEvent(
return [BrowserWindowUtils handleKeyboardEvent:event.os_event
inWindow:window()]
? Result::HANDLED
- : Result::NOT_HANDLED_IS_SHORTCUT;
+ : Result::NOT_HANDLED;
}
- return content::KeyboardEventProcessingResult::NOT_HANDLED;
+ return content::KeyboardEventProcessingResult::NOT_HANDLED_IS_SHORTCUT;
}
void BrowserWindowCocoa::HandleKeyboardEvent(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698