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

Side by Side Diff: Source/modules/device_orientation/DeviceOrientationData.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
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 14 matching lines...) Expand all
25 25
26 #ifndef DeviceOrientationData_h 26 #ifndef DeviceOrientationData_h
27 #define DeviceOrientationData_h 27 #define DeviceOrientationData_h
28 28
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class WebDeviceOrientationData; 33 class WebDeviceOrientationData;
34 34
35 class DeviceOrientationData FINAL : public GarbageCollected<DeviceOrientationDat a> { 35 class DeviceOrientationData final : public GarbageCollected<DeviceOrientationDat a> {
36 public: 36 public:
37 static DeviceOrientationData* create(); 37 static DeviceOrientationData* create();
38 static DeviceOrientationData* create(bool canProvideAlpha, double alpha, boo l canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvi deAbsolute = false, bool absolute = false); 38 static DeviceOrientationData* create(bool canProvideAlpha, double alpha, boo l canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvi deAbsolute = false, bool absolute = false);
39 static DeviceOrientationData* create(const WebDeviceOrientationData&); 39 static DeviceOrientationData* create(const WebDeviceOrientationData&);
40 void trace(Visitor*) { } 40 void trace(Visitor*) { }
41 41
42 double alpha() const; 42 double alpha() const;
43 double beta() const; 43 double beta() const;
44 double gamma() const; 44 double gamma() const;
45 bool absolute() const; 45 bool absolute() const;
(...skipping 14 matching lines...) Expand all
60 bool m_canProvideAbsolute; 60 bool m_canProvideAbsolute;
61 double m_alpha; 61 double m_alpha;
62 double m_beta; 62 double m_beta;
63 double m_gamma; 63 double m_gamma;
64 bool m_absolute; 64 bool m_absolute;
65 }; 65 };
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // DeviceOrientationData_h 69 #endif // DeviceOrientationData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698