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

Unified Diff: ui/events/ozone/event_factory_ozone.cc

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r278697 Created 6 years, 6 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/events/ozone/event_factory_ozone.h ('k') | ui/events/ozone/events_ozone.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/event_factory_ozone.cc
diff --git a/ui/events/ozone/event_factory_ozone.cc b/ui/events/ozone/event_factory_ozone.cc
deleted file mode 100644
index 79d6ece36d0481118a380ad919ef6a7d2a0a3990..0000000000000000000000000000000000000000
--- a/ui/events/ozone/event_factory_ozone.cc
+++ /dev/null
@@ -1,34 +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.
-
-#include "ui/events/ozone/event_factory_ozone.h"
-
-#include "base/logging.h"
-
-namespace ui {
-
-// static
-EventFactoryOzone* EventFactoryOzone::impl_ = NULL;
-
-EventFactoryOzone::EventFactoryOzone() {
- CHECK(!impl_) << "There should only be a single EventFactoryOzone";
- impl_ = this;
-}
-
-EventFactoryOzone::~EventFactoryOzone() {
- CHECK_EQ(impl_, this);
- impl_ = NULL;
-}
-
-EventFactoryOzone* EventFactoryOzone::GetInstance() {
- CHECK(impl_) << "No EventFactoryOzone implementation set.";
- return impl_;
-}
-
-void EventFactoryOzone::WarpCursorTo(gfx::AcceleratedWidget widget,
- const gfx::PointF& location) {
- NOTIMPLEMENTED();
-}
-
-} // namespace ui
« no previous file with comments | « ui/events/ozone/event_factory_ozone.h ('k') | ui/events/ozone/events_ozone.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698