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

Side by Side Diff: third_party/WebKit/Source/core/dom/Touch.h

Issue 1866663002: Remove unnecessary includes from dom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright 2008, The Android Open Source Project 2 * Copyright 2008, The Android Open Source Project
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "bindings/core/v8/ScriptWrappable.h" 29 #include "bindings/core/v8/ScriptWrappable.h"
30 #include "core/CoreExport.h" 30 #include "core/CoreExport.h"
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/TouchInit.h" 32 #include "core/dom/TouchInit.h"
33 #include "core/events/EventTarget.h" 33 #include "core/events/EventTarget.h"
34 #include "platform/geometry/FloatPoint.h" 34 #include "platform/geometry/FloatPoint.h"
35 #include "platform/geometry/FloatSize.h" 35 #include "platform/geometry/FloatSize.h"
36 #include "platform/geometry/LayoutPoint.h" 36 #include "platform/geometry/LayoutPoint.h"
37 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
38 #include "wtf/PassRefPtr.h"
39 #include "wtf/RefCounted.h"
40 #include "wtf/RefPtr.h"
41 38
42 namespace blink { 39 namespace blink {
43 40
44 class LocalFrame; 41 class LocalFrame;
45 42
46 class CORE_EXPORT Touch final : public GarbageCollectedFinalized<Touch>, public ScriptWrappable { 43 class CORE_EXPORT Touch final : public GarbageCollectedFinalized<Touch>, public ScriptWrappable {
47 DEFINE_WRAPPERTYPEINFO(); 44 DEFINE_WRAPPERTYPEINFO();
48 public: 45 public:
49 static RawPtr<Touch> create(LocalFrame* frame, EventTarget* target, 46 static RawPtr<Touch> create(LocalFrame* frame, EventTarget* target,
50 int identifier, const FloatPoint& screenPos, const FloatPoint& pagePos, 47 int identifier, const FloatPoint& screenPos, const FloatPoint& pagePos,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 String m_region; 103 String m_region;
107 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos 104 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos
108 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser 105 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser
109 // scale applied. 106 // scale applied.
110 LayoutPoint m_absoluteLocation; 107 LayoutPoint m_absoluteLocation;
111 }; 108 };
112 109
113 } // namespace blink 110 } // namespace blink
114 111
115 #endif // Touch_h 112 #endif // Touch_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698