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

Unified Diff: ui/events/platform/platform_event_utils.h

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 years, 9 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/platform/platform_event_builder_x_unittest.cc ('k') | ui/events/test/cocoa_test_event_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/platform/platform_event_utils.h
diff --git a/ui/events/platform/platform_event_utils.h b/ui/events/platform/platform_event_utils.h
index 21a975e1ca445fd8bc40a7eb03a8372d7a050b65..7013991180c1e20c3d9df44f1221dc3bec071567 100644
--- a/ui/events/platform/platform_event_utils.h
+++ b/ui/events/platform/platform_event_utils.h
@@ -15,10 +15,6 @@
#include "ui/gfx/display.h"
#include "ui/gfx/native_widget_types.h"
-#if defined(OS_WIN)
-#include <windows.h>
-#endif
-
namespace gfx {
class Point;
class Vector2d;
@@ -132,18 +128,6 @@ EVENTS_EXPORT bool GetScrollOffsets(const base::NativeEvent& native_event,
float* y_offset_ordinal,
int* finger_count);
-#if defined(OS_WIN)
-// Returns true if |message| identifies a mouse event that was generated as the
-// result of a touch event.
-EVENTS_EXPORT bool IsMouseEventFromTouch(UINT message);
-
-// Converts scan code and lParam each other. The scan code
-// representing an extended key contains 0xE000 bits.
-EVENTS_EXPORT uint16 GetScanCodeFromLParam(LPARAM lParam);
-EVENTS_EXPORT LPARAM GetLParamFromScanCode(uint16 scan_code);
-
-#endif
-
} // namespace ui
#endif // UI_EVENTS_PLATFORM_PLATFORM_EVENT_UTILS_H_
« no previous file with comments | « ui/events/platform/platform_event_builder_x_unittest.cc ('k') | ui/events/test/cocoa_test_event_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698