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

Unified Diff: ui/ozone/platform/caca/caca_event_source.h

Issue 2445323002: Ozone: Remove the caca platform from the tree (Closed)
Patch Set: Created 4 years, 2 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 | « ui/ozone/platform/caca/OWNERS ('k') | ui/ozone/platform/caca/caca_event_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/caca/caca_event_source.h
diff --git a/ui/ozone/platform/caca/caca_event_source.h b/ui/ozone/platform/caca/caca_event_source.h
deleted file mode 100644
index c33884261152553a48b2463762977018d5749e51..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/caca/caca_event_source.h
+++ /dev/null
@@ -1,45 +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 UI_OZONE_PLATFORM_CACA_CACA_EVENT_SOURCE_H_
-#define UI_OZONE_PLATFORM_CACA_CACA_EVENT_SOURCE_H_
-
-#include <caca.h>
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/time/time.h"
-#include "ui/events/platform/platform_event_source.h"
-#include "ui/events/platform/scoped_event_dispatcher.h"
-#include "ui/gfx/geometry/point_f.h"
-
-namespace ui {
-
-class CacaWindow;
-
-class CacaEventSource : public PlatformEventSource {
- public:
- CacaEventSource();
- ~CacaEventSource() override;
-
- // Poll for an event on a particular window. Input events will be
- // dispatched on the given dispatcher.
- void TryProcessingEvent(CacaWindow* window);
-
- // Process an input event on a particular window.
- void OnInputEvent(caca_event_t* event, CacaWindow* window);
-
- private:
- // Keep track of last cursor position to dispatch correct mouse push/release
- // events.
- gfx::PointF last_cursor_location_;
-
- int modifier_flags_ = 0;
-
- DISALLOW_COPY_AND_ASSIGN(CacaEventSource);
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PLATFORM_CACA_CACA_EVENT_SOURCE_H_
« no previous file with comments | « ui/ozone/platform/caca/OWNERS ('k') | ui/ozone/platform/caca/caca_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698