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

Side by Side Diff: public/web/WebInputEvent.h

Issue 151483008: Re-add snap-back behavior (Blink side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/mac/WebScrollbarTheme.mm ('k') | public/web/mac/WebScrollbarTheme.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/mac/WebScrollbarTheme.mm ('k') | public/web/mac/WebScrollbarTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698