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

Unified Diff: third_party/WebKit/Source/core/events/MouseEvent.h

Issue 2678683002: Delay instantiating InputDeviceCapabilities until accessed. (Closed)
Patch Set: rebased Created 3 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
Index: third_party/WebKit/Source/core/events/MouseEvent.h
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.h b/third_party/WebKit/Source/core/events/MouseEvent.h
index 831be6c723f3fa9bcb95a19194255f880e305b90..e77103571fc8aa7f869c3c13098f04c46ad9a689 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.h
+++ b/third_party/WebKit/Source/core/events/MouseEvent.h
@@ -218,20 +218,21 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState {
private:
friend class MouseEventDispatchMediator;
- void initMouseEventInternal(const AtomicString& type,
- bool canBubble,
- bool cancelable,
- AbstractView*,
- int detail,
- int screenX,
- int screenY,
- int clientX,
- int clientY,
- PlatformEvent::Modifiers,
- short button,
- EventTarget* relatedTarget,
- InputDeviceCapabilities* sourceCapabilities,
- unsigned short buttons = 0);
+ void initMouseEventInternal(
+ const AtomicString& type,
+ bool canBubble,
+ bool cancelable,
+ AbstractView*,
+ int detail,
+ int screenX,
+ int screenY,
+ int clientX,
+ int clientY,
+ PlatformEvent::Modifiers,
+ short button,
+ EventTarget* relatedTarget,
+ const InputDeviceCapabilitiesValue& sourceCapabilities,
+ unsigned short buttons = 0);
void initCoordinates(const double clientX, const double clientY);
void initCoordinatesFromRootFrame(int windowX, int windowY);
« no previous file with comments | « third_party/WebKit/Source/core/events/KeyboardEvent.cpp ('k') | third_party/WebKit/Source/core/events/MouseEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698