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

Unified Diff: base/message_pump_wayland.h

Issue 10009024: Remove WAYLAND port (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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/wayland/wayland_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_wayland.h
diff --git a/base/message_pump_wayland.h b/base/message_pump_wayland.h
deleted file mode 100644
index 89c9b8f3b5e15b84a5193da414a32e21bace5388..0000000000000000000000000000000000000000
--- a/base/message_pump_wayland.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 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_WAYLAND_H_
-#define BASE_MESSAGE_PUMP_WAYLAND_H_
-#pragma once
-
-#include "base/memory/scoped_ptr.h"
-#include "base/message_pump_glib.h"
-#include "base/message_pump_observer.h"
-
-namespace base {
-
-namespace wayland {
-union WaylandEvent;
-}
-
-// The documentation for this class is in message_pump_glib.h
-//
-// The nested loop is exited by either posting a quit, or returning false
-// from Dispatch.
-class MessagePumpDispatcher {
- public:
- enum DispatchStatus {
- EVENT_IGNORED, // The event was not processed.
- EVENT_PROCESSED, // The event has been processed.
- EVENT_QUIT // The event was processed and the message-loop should
- // terminate.
- };
-
- // Dispatches the event. If true is returned processing continues as
- // normal. If false is returned, the nested loop exits immediately.
- virtual DispatchStatus Dispatch(wayland::WaylandEvent* event) = 0;
-
- protected:
- virtual ~MessagePumpDispatcher() {}
-};
-
-typedef MessagePumpGlib MessagePumpForUI;
-
-} // namespace base
-
-#endif // BASE_MESSAGE_PUMP_WAYLAND_H_
« no previous file with comments | « base/message_loop.h ('k') | base/wayland/wayland_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698