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

Unified Diff: webkit/common/cursors/webcursor_unittest.cc

Issue 137993009: Remove more non-aura windows code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: renable the disabled tests Created 6 years, 11 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/views/widget/widget_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/cursors/webcursor_unittest.cc
===================================================================
--- webkit/common/cursors/webcursor_unittest.cc (revision 244775)
+++ webkit/common/cursors/webcursor_unittest.cc (working copy)
@@ -134,20 +134,6 @@
EXPECT_FALSE(custom_cursor.Deserialize(&iter));
}
-#if defined(OS_WIN) && !defined(USE_AURA)
-TEST(WebCursorTest, WindowsCursorConversion) {
- WebCursor custom_cursor;
- Pickle win32_custom_pickle;
- WebCursor win32_custom_cursor;
- win32_custom_cursor.InitFromExternalCursor(
- reinterpret_cast<HCURSOR>(1000));
- EXPECT_TRUE(win32_custom_cursor.Serialize(&win32_custom_pickle));
- PickleIterator iter(win32_custom_pickle);
- EXPECT_TRUE(custom_cursor.Deserialize(&iter));
- EXPECT_EQ(reinterpret_cast<HCURSOR>(1000), custom_cursor.GetCursor(NULL));
-}
-#endif // OS_WIN
-
TEST(WebCursorTest, ClampHotspot) {
WebCursor custom_cursor;
// This is a valid custom cursor.
« no previous file with comments | « ui/views/widget/widget_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698