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

Unified Diff: ui/base/touchui/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: Fix GdkEvent init, NativeWidgetGtk casting, and Get[Unmodified]Character checks. 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
Index: ui/base/touchui/touch_factory.h
diff --git a/views/touchui/touch_factory.h b/ui/base/touchui/touch_factory.h
similarity index 97%
rename from views/touchui/touch_factory.h
rename to ui/base/touchui/touch_factory.h
index b18d8c38edede77969c88d8c703ddddf2381e6dd..a7a2832c4f13bf4af870ffba3a31ea36933043e1 100644
--- a/views/touchui/touch_factory.h
+++ b/ui/base/touchui/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_TOUCHUI_TOUCH_FACTORY_H_
+#define UI_BASE_TOUCHUI_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 {
@@ -191,6 +191,6 @@ class VIEWS_EXPORT TouchFactory {
DISALLOW_COPY_AND_ASSIGN(TouchFactory);
};
-} // namespace views
+} // namespace ui
-#endif // VIEWS_TOUCHUI_TOUCH_FACTORY_H_
+#endif // UI_BASE_TOUCHUI_TOUCH_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698