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

Unified Diff: base/message_pump_linux.h

Issue 14624010: Change MessagePumpLinux to MessagePumpOzone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « base/message_loop.h ('k') | base/message_pump_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_linux.h
diff --git a/base/message_pump_linux.h b/base/message_pump_linux.h
deleted file mode 100644
index 222c80f810b42dfa6a3ee019d82049273ce457fe..0000000000000000000000000000000000000000
--- a/base/message_pump_linux.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright (c) 2013 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 BASE_MESSAGE_PUMP_LINUX_H_
-#define BASE_MESSAGE_PUMP_LINUX_H_
-
-
-#include "base/message_pump.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/scoped_vector.h"
-#include "base/message_pump_dispatcher.h"
-#include "base/message_pump_libevent.h"
-#include "base/message_pump_observer.h"
-#include "base/observer_list.h"
-
-namespace base {
-
-// This class implements a message-pump for processing events from input devices
-// Refer to MessagePump for further documentation.
-class BASE_EXPORT MessagePumpLinux : public MessagePumpLibevent,
- public MessagePumpDispatcher {
- public:
- MessagePumpLinux();
-
- // Returns the UI message pump.
- static MessagePumpLinux* Current();
-
- // Add/Remove the root window dispatcher.
- void AddDispatcherForRootWindow(MessagePumpDispatcher* dispatcher);
- void RemoveDispatcherForRootWindow(MessagePumpDispatcher* dispatcher);
-
- void RunWithDispatcher(Delegate* delegate, MessagePumpDispatcher* dispatcher);
-
- // Add / remove an Observer, which will start receiving notifications
- // immediately.
- void AddObserver(MessagePumpObserver* observer);
- void RemoveObserver(MessagePumpObserver* observer);
-
- // Overridden from MessagePumpDispatcher.
- virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
-
- private:
- virtual ~MessagePumpLinux();
- std::vector<MessagePumpDispatcher*> dispatcher_;
-
- DISALLOW_COPY_AND_ASSIGN(MessagePumpLinux);
-};
-
-typedef MessagePumpLinux MessagePumpForUI;
-
-} // namespace base
-
-#endif // BASE_MESSAGE_PUMP_LINUX_H_
« no previous file with comments | « base/message_loop.h ('k') | base/message_pump_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698