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

Side by Side Diff: third_party/WebKit/Source/modules/vibration/VibrationController.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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) 2012 Samsung Electronics 2 * Copyright (C) 2012 Samsung Electronics
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 15 matching lines...) Expand all
26 #include "modules/ModulesExport.h" 26 #include "modules/ModulesExport.h"
27 #include "platform/Timer.h" 27 #include "platform/Timer.h"
28 #include "platform/heap/GarbageCollected.h" 28 #include "platform/heap/GarbageCollected.h"
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 #include "wtf/Noncopyable.h" 30 #include "wtf/Noncopyable.h"
31 #include "wtf/Vector.h" 31 #include "wtf/Vector.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class Document; 35 class Document;
36 class ExecutionContext;
37 class UnsignedLongOrUnsignedLongSequence; 36 class UnsignedLongOrUnsignedLongSequence;
38 37
39 class MODULES_EXPORT VibrationController final 38 class MODULES_EXPORT VibrationController final
40 : public GarbageCollectedFinalized<VibrationController>, 39 : public GarbageCollectedFinalized<VibrationController>,
41 public ContextLifecycleObserver, 40 public ContextLifecycleObserver,
42 public PageVisibilityObserver { 41 public PageVisibilityObserver {
43 USING_GARBAGE_COLLECTED_MIXIN(VibrationController); 42 USING_GARBAGE_COLLECTED_MIXIN(VibrationController);
44 WTF_MAKE_NONCOPYABLE(VibrationController); 43 WTF_MAKE_NONCOPYABLE(VibrationController);
45 44
46 public: 45 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 92
94 // Whether an async mojo call to vibrate is pending. 93 // Whether an async mojo call to vibrate is pending.
95 bool m_isCallingVibrate; 94 bool m_isCallingVibrate;
96 95
97 VibrationPattern m_pattern; 96 VibrationPattern m_pattern;
98 }; 97 };
99 98
100 } // namespace blink 99 } // namespace blink
101 100
102 #endif // VibrationController_h 101 #endif // VibrationController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698