Index: Source/modules/screen_orientation/ScreenOrientationDispatcher.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientationDispatcher.h b/Source/modules/screen_orientation/ScreenOrientationDispatcher.h |
deleted file mode 100644 |
index f5ee41c8dfb0dd177a9ff21f6a9d87c36672d0bf..0000000000000000000000000000000000000000 |
--- a/Source/modules/screen_orientation/ScreenOrientationDispatcher.h |
+++ /dev/null |
@@ -1,58 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef ScreenOrientationDispatcher_h |
-#define ScreenOrientationDispatcher_h |
- |
-#include "platform/heap/Handle.h" |
-#include "public/platform/WebScreenOrientationListener.h" |
- |
-#if ENABLE(OILPAN) |
-#include "wtf/HashSet.h" |
-#else |
-#include "wtf/Vector.h" |
-#endif |
- |
-namespace WebCore { |
- |
-class ScreenOrientationController; |
- |
-class ScreenOrientationDispatcher FINAL : public NoBaseWillBeGarbageCollectedFinalized<ScreenOrientationDispatcher>, public blink::WebScreenOrientationListener { |
-public: |
- static ScreenOrientationDispatcher& instance(); |
- |
- void addController(ScreenOrientationController*); |
- |
-#if ENABLE(OILPAN) |
- void trace(Visitor*); |
-#else |
- void removeController(ScreenOrientationController*); |
-#endif |
- |
-private: |
- ScreenOrientationDispatcher(); |
- |
-#if !ENABLE(OILPAN) |
- void purgeControllers(); |
-#endif |
- |
- void startListening(); |
- void stopListening(); |
- |
- // WebScreenOrientationListener API. |
- virtual void didChangeScreenOrientation(blink::WebScreenOrientationType) OVERRIDE; |
- |
-#if ENABLE(OILPAN) |
- HeapHashSet<WeakMember<ScreenOrientationController> > m_controllers; |
-#else |
- Vector<ScreenOrientationController*> m_controllers; |
- bool m_needsPurge; |
- bool m_isDispatching; |
-#endif |
- |
-}; |
- |
-} // namespace WebCore |
- |
-#endif // ScreenOrientationDispatcher_h |