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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/PointerEventFactory.h
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.h b/third_party/WebKit/Source/core/events/PointerEventFactory.h
index 26f304298492ef590bd524ddfa0dac03437c94b6..accfd063738f18ac299c1bcf224c766c83a83e0f 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.h
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.h
@@ -29,29 +29,29 @@ public:
PointerEventFactory();
~PointerEventFactory();
- PassRefPtrWillBeRawPtr<PointerEvent> create(
+ RawPtr<PointerEvent> create(
const AtomicString& mouseEventName, const PlatformMouseEvent&,
- PassRefPtrWillBeRawPtr<EventTarget> relatedTarget,
- PassRefPtrWillBeRawPtr<AbstractView>);
+ RawPtr<EventTarget> relatedTarget,
+ RawPtr<AbstractView>);
- PassRefPtrWillBeRawPtr<PointerEvent> create(const AtomicString& type,
+ RawPtr<PointerEvent> create(const AtomicString& type,
const PlatformTouchPoint&, PlatformEvent::Modifiers,
const double width, const double height,
const double clientX, const double clientY);
- PassRefPtrWillBeRawPtr<PointerEvent> createPointerCancelEvent(
+ RawPtr<PointerEvent> createPointerCancelEvent(
const PlatformTouchPoint&);
// For creating capture events (i.e got/lostpointercapture)
- PassRefPtrWillBeRawPtr<PointerEvent> createPointerCaptureEvent(
- PassRefPtrWillBeRawPtr<PointerEvent>,
+ RawPtr<PointerEvent> createPointerCaptureEvent(
+ RawPtr<PointerEvent>,
const AtomicString&);
// For creating transition events (i.e pointerout/leave/over/enter)
- PassRefPtrWillBeRawPtr<PointerEvent> createPointerTransitionEvent(
- PassRefPtrWillBeRawPtr<PointerEvent>,
+ RawPtr<PointerEvent> createPointerTransitionEvent(
+ RawPtr<PointerEvent>,
const AtomicString&,
- PassRefPtrWillBeRawPtr<EventTarget>);
+ RawPtr<EventTarget>);
// Clear all the existing ids.
void clear();
@@ -60,7 +60,7 @@ public:
// particular id is removed that id is considered free even though there
// might have been other PointerEvents that were generated with the same id
// before.
- bool remove(const PassRefPtrWillBeRawPtr<PointerEvent>);
+ bool remove(const RawPtr<PointerEvent>);
// Returns whether a pointer id exists and active
bool isActive(const int);
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEvent.cpp ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698