| Index: chrome/browser/ui/cocoa/browser_window_utils.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_utils.mm b/chrome/browser/ui/cocoa/browser_window_utils.mm
|
| index 6a9e97fa65f30a5f390137d2613b7c2d308d45fd..6389acfb6085f8fbc6521f3bdfcd06160aa5b2fa 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_utils.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_utils.mm
|
| @@ -28,14 +28,14 @@ CGFloat GetPatternVerticalOffsetWithTabStrip(bool tabStripVisible) {
|
|
|
| @implementation BrowserWindowUtils
|
| + (BOOL)shouldHandleKeyboardEvent:(const NativeWebKeyboardEvent&)event {
|
| - if (event.skip_in_browser || event.type == NativeWebKeyboardEvent::Char)
|
| + if (event.skip_in_browser || event.type() == NativeWebKeyboardEvent::Char)
|
| return NO;
|
| DCHECK(event.os_event != NULL);
|
| return YES;
|
| }
|
|
|
| + (BOOL)isTextEditingEvent:(const content::NativeWebKeyboardEvent&)event {
|
| - return (event.modifiers & blink::WebInputEvent::MetaKey) &&
|
| + return (event.modifiers() & blink::WebInputEvent::MetaKey) &&
|
| (event.windowsKeyCode == ui::VKEY_A ||
|
| event.windowsKeyCode == ui::VKEY_V ||
|
| event.windowsKeyCode == ui::VKEY_C ||
|
|
|