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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.h

Issue 2687903002: Track constant InputDeviceCapabilities objects per-window. (Closed)
Patch Set: 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/frame/DOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.h b/third_party/WebKit/Source/core/frame/DOMWindow.h
index a8b4690a4a17b3bd7337a60ba25a770842f9bf40..514e1ebf93b159e45e9f2f841cce5c9305c9e77d 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.h
@@ -31,6 +31,7 @@ class FrameRequestCallback;
class History;
class IdleRequestCallback;
class IdleRequestOptions;
+class InputDeviceCapabilitiesConstants;
class Location;
class LocalDOMWindow;
class MessageEvent;
@@ -256,6 +257,8 @@ class CORE_EXPORT DOMWindow : public EventTargetWithInlineData,
DEFINE_ATTRIBUTE_EVENT_LISTENER(orientationchange);
+ InputDeviceCapabilitiesConstants* getInputDeviceCapabilities();
+
protected:
explicit DOMWindow(Frame&);
@@ -267,6 +270,7 @@ class CORE_EXPORT DOMWindow : public EventTargetWithInlineData,
private:
Member<Frame> m_frame;
+ Member<InputDeviceCapabilitiesConstants> m_inputCapabilities;
mutable Member<Location> m_location;
Member<External> m_external;
« no previous file with comments | « third_party/WebKit/Source/core/events/UIEvent.cpp ('k') | third_party/WebKit/Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698