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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 BLINK_EXPORT void setKeyIdentifierFromWindowsKeyCode(); | 290 BLINK_EXPORT void setKeyIdentifierFromWindowsKeyCode(); |
291 | 291 |
292 static int windowsKeyCodeWithoutLocation(int keycode); | 292 static int windowsKeyCodeWithoutLocation(int keycode); |
293 static int locationModifiersFromWindowsKeyCode(int keycode); | 293 static int locationModifiersFromWindowsKeyCode(int keycode); |
294 }; | 294 }; |
295 | 295 |
296 // WebMouseEvent -------------------------------------------------------------- | 296 // WebMouseEvent -------------------------------------------------------------- |
297 | 297 |
298 class WebMouseEvent : public WebInputEvent { | 298 class WebMouseEvent : public WebInputEvent { |
299 public: | 299 public: |
300 // These values defined for WebCore::MouseButton | |
301 enum Button { | 300 enum Button { |
302 ButtonNone = -1, | 301 ButtonNone = -1, |
303 ButtonLeft, | 302 ButtonLeft, |
304 ButtonMiddle, | 303 ButtonMiddle, |
305 ButtonRight | 304 ButtonRight |
306 }; | 305 }; |
307 | 306 |
308 Button button; | 307 Button button; |
309 int x; | 308 int x; |
310 int y; | 309 int y; |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 , targetTouchesLength(0) | 481 , targetTouchesLength(0) |
483 { | 482 { |
484 } | 483 } |
485 }; | 484 }; |
486 | 485 |
487 #pragma pack(pop) | 486 #pragma pack(pop) |
488 | 487 |
489 } // namespace blink | 488 } // namespace blink |
490 | 489 |
491 #endif | 490 #endif |
OLD | NEW |