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

Unified Diff: ui/base/accelerators/accelerator_cocoa.mm

Issue 10446010: wip: Add ui::EventType parameter. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wip - views_unittests Created 8 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 | « ui/base/accelerators/accelerator.cc ('k') | ui/base/accelerators/accelerator_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/accelerators/accelerator_cocoa.mm
diff --git a/ui/base/accelerators/accelerator_cocoa.mm b/ui/base/accelerators/accelerator_cocoa.mm
index f88290c501726218196a656ba23c9d420fb57b51..401e3791ae5b285037be89c57ade3b19073a879d 100644
--- a/ui/base/accelerators/accelerator_cocoa.mm
+++ b/ui/base/accelerators/accelerator_cocoa.mm
@@ -9,7 +9,7 @@ namespace ui {
AcceleratorCocoa::AcceleratorCocoa() : Accelerator() {}
AcceleratorCocoa::AcceleratorCocoa(NSString* key_code, NSUInteger mask)
- : Accelerator(ui::VKEY_UNKNOWN, mask),
+ : Accelerator(ui::VKEY_UNKNOWN, mask, ET_KEY_PRESSED),
characters_([key_code copy]) {
}
« no previous file with comments | « ui/base/accelerators/accelerator.cc ('k') | ui/base/accelerators/accelerator_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698