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

Unified Diff: ui/events/x/device_list_cache_x.h

Issue 24482004: events: Make platform specific events code into ui/events/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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/x/device_data_manager.cc ('k') | ui/events/x/device_list_cache_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/device_list_cache_x.h
diff --git a/ui/base/x/device_list_cache_x.h b/ui/events/x/device_list_cache_x.h
similarity index 87%
rename from ui/base/x/device_list_cache_x.h
rename to ui/events/x/device_list_cache_x.h
index 2b3cefa2dafe795e28e908707be7f28be73e129b..f68803ae90451343326f8485f04d69a4aeb886fe 100644
--- a/ui/base/x/device_list_cache_x.h
+++ b/ui/events/x/device_list_cache_x.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_BASE_X_DEVICE_LIST_CACHE_X_H_
-#define UI_BASE_X_DEVICE_LIST_CACHE_X_H_
+#ifndef UI_EVENTS_X_DEVICE_LIST_CACHE_X_H_
+#define UI_EVENTS_X_DEVICE_LIST_CACHE_X_H_
#include <X11/extensions/XInput.h>
#include <X11/extensions/XInput2.h>
@@ -11,7 +11,7 @@
#include <map>
#include "base/basictypes.h"
-#include "ui/base/ui_export.h"
+#include "ui/events/events_export.h"
template <typename T> struct DefaultSingletonTraits;
@@ -36,7 +36,7 @@ namespace ui {
// A class to cache the current XInput device list. This minimized the
// round-trip time to the X server whenever such a device list is needed. The
// update function will be called on each incoming XI_HierarchyChanged event.
-class UI_EXPORT DeviceListCacheX {
+class EVENTS_EXPORT DeviceListCacheX {
public:
static DeviceListCacheX* GetInstance();
@@ -59,5 +59,5 @@ class UI_EXPORT DeviceListCacheX {
} // namespace ui
-#endif // UI_BASE_X_DEVICE_LIST_CACHE_X_H_
+#endif // UI_EVENTS_X_DEVICE_LIST_CACHE_X_H_
« no previous file with comments | « ui/events/x/device_data_manager.cc ('k') | ui/events/x/device_list_cache_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698