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

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

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits Created 3 years, 11 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/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 6afdabcb2fc07eec8c9657b1fdb03f16b41e463e..b539d823faf77d8c885b0c829d03746aba06695f 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -698,7 +698,7 @@ bool BrowserWindowCocoa::PreHandleKeyboardEvent(
if (![BrowserWindowUtils shouldHandleKeyboardEvent:event])
return false;
- if (event.type == blink::WebInputEvent::RawKeyDown &&
+ if (event.type() == blink::WebInputEvent::RawKeyDown &&
[controller_
handledByExtensionCommand:event.os_event
priority:ui::AcceleratorManager::kHighPriority])
« no previous file with comments | « chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698