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

Unified Diff: chrome/browser/extensions/key_identifier_conversion_views.cc

Issue 6487002: Add a new constructor to KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | « chrome/browser/extensions/extension_input_api.cc ('k') | chrome/browser/ui/views/dropdown_bar_host_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/key_identifier_conversion_views.cc
===================================================================
--- chrome/browser/extensions/key_identifier_conversion_views.cc (revision 74437)
+++ chrome/browser/extensions/key_identifier_conversion_views.cc (working copy)
@@ -294,7 +294,7 @@
return;
kUnknownKeyEvent = new views::KeyEvent(
- ui::ET_KEY_PRESSED, ui::VKEY_UNKNOWN, 0, 0, 0);
+ ui::ET_KEY_PRESSED, ui::VKEY_UNKNOWN, 0);
for (int i = 0; i < kNumIdentifierTypes; ++i)
identifierMaps[i] = new IdentifierMap;
@@ -303,7 +303,7 @@
const KeyIdentifier& key = kKeyIdentifiers[i];
views::KeyEvent* event = new views::KeyEvent(
- ui::ET_KEY_PRESSED, key.key_code, key.event_flags, 0, 0);
+ ui::ET_KEY_PRESSED, key.key_code, key.event_flags);
for (int j = 0; j < kNumIdentifierTypes; ++j) {
if (key.identifiers[j][0] != '\0') {
« no previous file with comments | « chrome/browser/extensions/extension_input_api.cc ('k') | chrome/browser/ui/views/dropdown_bar_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698