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

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

Issue 1486743002: Clean up some remaining obsolete coordinate-space naming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Mac compile Created 5 years 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
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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 314
315 // Sets keyIdentifier based on the value of windowsKeyCode. This is 315 // Sets keyIdentifier based on the value of windowsKeyCode. This is
316 // handy for generating synthetic keyboard events. 316 // handy for generating synthetic keyboard events.
317 BLINK_EXPORT void setKeyIdentifierFromWindowsKeyCode(); 317 BLINK_EXPORT void setKeyIdentifierFromWindowsKeyCode();
318 }; 318 };
319 319
320 // WebMouseEvent -------------------------------------------------------------- 320 // WebMouseEvent --------------------------------------------------------------
321 321
322 class WebMouseEvent : public WebInputEvent, public WebPointerProperties { 322 class WebMouseEvent : public WebInputEvent, public WebPointerProperties {
323 public: 323 public:
324 // Window coordinate 324 // Renderer coordinates. Similar to viewport coordinates but without
325 // DevTools emulation transform or overscroll applied. i.e. the coordinates
326 // in Chromium's RenderView bounds.
325 int x; 327 int x;
326 int y; 328 int y;
327 329
328 // DEPRECATED (crbug.com/507787) 330 // DEPRECATED (crbug.com/507787)
329 int windowX; 331 int windowX;
330 int windowY; 332 int windowY;
331 333
332 // Screen coordinate 334 // Screen coordinate
333 int globalX; 335 int globalX;
334 int globalY; 336 int globalY;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 , uniqueTouchEventId(0) 590 , uniqueTouchEventId(0)
589 { 591 {
590 } 592 }
591 }; 593 };
592 594
593 #pragma pack(pop) 595 #pragma pack(pop)
594 596
595 } // namespace blink 597 } // namespace blink
596 598
597 #endif 599 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | third_party/WebKit/public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698