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

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

Issue 291473002: ozone: Initialize a subsystem only if necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r270817 Created 6 years, 7 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/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/event_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/event_factory_ozone.h
diff --git a/ui/events/ozone/event_factory_ozone.h b/ui/events/ozone/event_factory_ozone.h
index 888317a986ea3c0aeb605b8b77cdf8aeac141e31..d243761a6fff08d702f66b0316e06f83a380ba19 100644
--- a/ui/events/ozone/event_factory_ozone.h
+++ b/ui/events/ozone/event_factory_ozone.h
@@ -44,12 +44,9 @@ class EVENTS_OZONE_EXPORT EventFactoryOzone {
virtual void WarpCursorTo(gfx::AcceleratedWidget widget,
const gfx::PointF& location);
- // Returns the static instance last set using SetInstance().
+ // Returns the singleton instance.
static EventFactoryOzone* GetInstance();
- // Sets the implementation delegate. Ownership is retained by the caller.
- static void SetInstance(EventFactoryOzone*);
-
private:
static EventFactoryOzone* impl_; // not owned
« no previous file with comments | « ui/events/ozone/evdev/event_factory_evdev.cc ('k') | ui/events/ozone/event_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698