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

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

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/dom/Text.h ('k') | Source/core/dom/TouchList.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 22 matching lines...) Expand all
33 #include "platform/geometry/LayoutPoint.h" 33 #include "platform/geometry/LayoutPoint.h"
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class LocalFrame; 41 class LocalFrame;
42 42
43 class Touch FINAL : public RefCountedWillBeGarbageCollected<Touch>, public Scrip tWrappable { 43 class Touch final : public RefCountedWillBeGarbageCollected<Touch>, public Scrip tWrappable {
44 DEFINE_WRAPPERTYPEINFO(); 44 DEFINE_WRAPPERTYPEINFO();
45 public: 45 public:
46 static PassRefPtrWillBeRawPtr<Touch> create(LocalFrame* frame, EventTarget* target, 46 static PassRefPtrWillBeRawPtr<Touch> create(LocalFrame* frame, EventTarget* target,
47 unsigned identifier, const FloatPoint& screenPos, const FloatPoint& page Pos, 47 unsigned identifier, const FloatPoint& screenPos, const FloatPoint& page Pos,
48 const FloatSize& radius, float rotationAngle, float force) 48 const FloatSize& radius, float rotationAngle, float force)
49 { 49 {
50 return adoptRefWillBeNoop( 50 return adoptRefWillBeNoop(
51 new Touch(frame, target, identifier, screenPos, pagePos, radius, rot ationAngle, force)); 51 new Touch(frame, target, identifier, screenPos, pagePos, radius, rot ationAngle, force));
52 } 52 }
53 53
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 float m_force; 98 float m_force;
99 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos 99 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos
100 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser 100 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser
101 // scale applied. 101 // scale applied.
102 LayoutPoint m_absoluteLocation; 102 LayoutPoint m_absoluteLocation;
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 #endif // Touch_h 107 #endif // Touch_h
OLDNEW
« no previous file with comments | « Source/core/dom/Text.h ('k') | Source/core/dom/TouchList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698