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

Unified Diff: sky/engine/core/frame/PlatformEventDispatcher.h

Issue 870413002: Remove PlatformEvent (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/frame/PlatformEventDispatcher.h
diff --git a/sky/engine/core/frame/PlatformEventDispatcher.h b/sky/engine/core/frame/PlatformEventDispatcher.h
deleted file mode 100644
index 9d12f90d084f22f927ab1596b765ba4b2c7d4cd0..0000000000000000000000000000000000000000
--- a/sky/engine/core/frame/PlatformEventDispatcher.h
+++ /dev/null
@@ -1,37 +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 SKY_ENGINE_CORE_FRAME_PLATFORMEVENTDISPATCHER_H_
-#define SKY_ENGINE_CORE_FRAME_PLATFORMEVENTDISPATCHER_H_
-
-#include "sky/engine/wtf/Vector.h"
-
-namespace blink {
-class PlatformEventController;
-
-class PlatformEventDispatcher {
-public:
- void addController(PlatformEventController*);
- void removeController(PlatformEventController*);
-
-protected:
- PlatformEventDispatcher();
- virtual ~PlatformEventDispatcher();
-
- void notifyControllers();
-
- virtual void startListening() = 0;
- virtual void stopListening() = 0;
-
-private:
- void purgeControllers();
-
- Vector<PlatformEventController*> m_controllers;
- bool m_needsPurge;
- bool m_isDispatching;
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_CORE_FRAME_PLATFORMEVENTDISPATCHER_H_
« no previous file with comments | « sky/engine/core/frame/PlatformEventController.cpp ('k') | sky/engine/core/frame/PlatformEventDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698