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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. 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
« no previous file with comments | « ui/ozone/platform/caca/caca.gypi ('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 daa7fc9dbfd3d89494e39290277cab5244c720e6..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/caca/caca_event_source.h
+++ /dev/null
@@ -1,44 +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/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();
- virtual ~CacaEventSource();
-
- // 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_;
-
- 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/caca.gypi ('k') | ui/ozone/platform/caca/caca_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698