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

Unified Diff: ui/base/touch/touch_factory.h

Issue 7942004: Consolidate/cleanup event cracking code; single out GdkEvents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge removal of compact nav. Created 9 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/base/touch/OWNERS ('k') | ui/base/touch/touch_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/touch/touch_factory.h
diff --git a/views/touchui/touch_factory.h b/ui/base/touch/touch_factory.h
similarity index 97%
rename from views/touchui/touch_factory.h
rename to ui/base/touch/touch_factory.h
index ca281e420e64d42dc2fbd48e890fe8107358f6ff..a4617384b798811325742e43cc46718860a8f47c 100644
--- a/views/touchui/touch_factory.h
+++ b/ui/base/touch/touch_factory.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 VIEWS_TOUCHUI_TOUCH_FACTORY_H_
-#define VIEWS_TOUCHUI_TOUCH_FACTORY_H_
+#ifndef UI_BASE_TOUCH_TOUCH_FACTORY_H_
+#define UI_BASE_TOUCH_TOUCH_FACTORY_H_
#pragma once
#include <bitset>
@@ -11,17 +11,17 @@
#include "base/memory/singleton.h"
#include "base/timer.h"
-#include "views/views_export.h"
+#include "ui/base/ui_export.h"
typedef unsigned long Cursor;
typedef unsigned long Window;
typedef struct _XDisplay Display;
typedef union _XEvent XEvent;
-namespace views {
+namespace ui {
// Functions related to determining touch devices.
-class VIEWS_EXPORT TouchFactory {
+class UI_EXPORT TouchFactory {
public:
// Define the touch params following the Multi-touch Protocol.
enum TouchParam {
@@ -201,6 +201,6 @@ class VIEWS_EXPORT TouchFactory {
DISALLOW_COPY_AND_ASSIGN(TouchFactory);
};
-} // namespace views
+} // namespace ui
-#endif // VIEWS_TOUCHUI_TOUCH_FACTORY_H_
+#endif // UI_BASE_TOUCH_TOUCH_FACTORY_H_
« no previous file with comments | « ui/base/touch/OWNERS ('k') | ui/base/touch/touch_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698