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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_view_mac.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/extensions/extension_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_view_mac.mm b/chrome/browser/ui/cocoa/extensions/extension_view_mac.mm
index 1b8679401dbff2d575cd1f518cf0a8b9f17f1d48..c6624b212d0ac46b0e66f591e5426fc3ecde0851 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_view_mac.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_view_mac.mm
@@ -69,7 +69,7 @@ void ExtensionViewMac::HandleKeyboardEvent(
content::WebContents* source,
const content::NativeWebKeyboardEvent& event) {
if (event.skip_in_browser ||
- event.type == content::NativeWebKeyboardEvent::Char ||
+ event.type() == content::NativeWebKeyboardEvent::Char ||
extension_host_->extension_host_type() !=
extensions::VIEW_TYPE_EXTENSION_POPUP)
return;
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_utils.mm ('k') | chrome/browser/ui/exclusive_access/exclusive_access_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698