Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 249 | 249 |
| 250 // The actual key code genenerated by the platform. The DOM spec runs | 250 // The actual key code genenerated by the platform. The DOM spec runs |
| 251 // on Windows-equivalent codes (thus |windowsKeyCode| above) but it | 251 // on Windows-equivalent codes (thus |windowsKeyCode| above) but it |
| 252 // doesn't hurt to have this one around. | 252 // doesn't hurt to have this one around. |
| 253 int nativeKeyCode; | 253 int nativeKeyCode; |
| 254 | 254 |
| 255 // The DOM code enum of the key pressed as passed by the embedder. DOM | 255 // The DOM code enum of the key pressed as passed by the embedder. DOM |
| 256 // code enum are defined in ui/events/keycodes/dom4/keycode_converter_data.h . | 256 // code enum are defined in ui/events/keycodes/dom4/keycode_converter_data.h . |
| 257 int domCode; | 257 int domCode; |
| 258 | 258 |
| 259 // The DOM key enum of the key pressed as passed by the embedder. DOM | |
|
Wez
2015/05/06 01:32:13
Suggest "Embedder-specific value identifying the D
| |
| 260 // key enum are defined in ui/events/keycodes/dom3/dom_key_data.h | |
|
Wez
2015/05/06 01:32:13
The path referred to is in Chromium, whereas this
| |
| 261 int domKey; | |
| 262 | |
| 259 // This identifies whether this event was tagged by the system as being | 263 // This identifies whether this event was tagged by the system as being |
| 260 // a "system key" event (see | 264 // a "system key" event (see |
| 261 // http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for | 265 // http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for |
| 262 // details). Other platforms don't have this concept, but it's just | 266 // details). Other platforms don't have this concept, but it's just |
| 263 // easier to leave it always false than ifdef. | 267 // easier to leave it always false than ifdef. |
| 264 bool isSystemKey; | 268 bool isSystemKey; |
| 265 | 269 |
| 266 // |text| is the text generated by this keystroke. |unmodifiedText| is | 270 // |text| is the text generated by this keystroke. |unmodifiedText| is |
| 267 // |text|, but unmodified by an concurrently-held modifiers (except | 271 // |text|, but unmodified by an concurrently-held modifiers (except |
| 268 // shift). This is useful for working out shortcut keys. Linux and | 272 // shift). This is useful for working out shortcut keys. Linux and |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 543 , uniqueTouchEventId(0) | 547 , uniqueTouchEventId(0) |
| 544 { | 548 { |
| 545 } | 549 } |
| 546 }; | 550 }; |
| 547 | 551 |
| 548 #pragma pack(pop) | 552 #pragma pack(pop) |
| 549 | 553 |
| 550 } // namespace blink | 554 } // namespace blink |
| 551 | 555 |
| 552 #endif | 556 #endif |
| OLD | NEW |