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

Side by Side Diff: ui/views/events/event_unittest.cc

Issue 8566052: views: Delete bubble, events, focus, layout directories and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/events/event_gtk.cc ('k') | ui/views/events/event_wayland.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "testing/gtest/include/gtest/gtest.h" 5 #include "testing/gtest/include/gtest/gtest.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "views/events/event.h" 8 #include "ui/views/events/event.h"
9 9
10 // Bug 99129. 10 // Bug 99129.
11 #if defined(USE_AURA) 11 #if defined(USE_AURA)
12 #define MAYBE_KeyEvent FAILS_KeyEvent 12 #define MAYBE_KeyEvent FAILS_KeyEvent
13 #define MAYBE_KeyEventDirectUnicode FAILS_KeyEventDirectUnicode 13 #define MAYBE_KeyEventDirectUnicode FAILS_KeyEventDirectUnicode
14 #else 14 #else
15 #define MAYBE_KeyEvent KeyEvent 15 #define MAYBE_KeyEvent KeyEvent
16 #define MAYBE_KeyEventDirectUnicode KeyEventDirectUnicode 16 #define MAYBE_KeyEventDirectUnicode KeyEventDirectUnicode
17 #endif 17 #endif
18 18
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 EXPECT_EQ(0x1234U, key.GetCharacter()); 119 EXPECT_EQ(0x1234U, key.GetCharacter());
120 EXPECT_EQ(0x4321U, key.GetUnmodifiedCharacter()); 120 EXPECT_EQ(0x4321U, key.GetUnmodifiedCharacter());
121 KeyEvent key2(ui::ET_KEY_RELEASED, ui::VKEY_UNKNOWN, ui::EF_CONTROL_DOWN); 121 KeyEvent key2(ui::ET_KEY_RELEASED, ui::VKEY_UNKNOWN, ui::EF_CONTROL_DOWN);
122 key2.set_character(0x4321U); 122 key2.set_character(0x4321U);
123 key2.set_unmodified_character(0x1234U); 123 key2.set_unmodified_character(0x1234U);
124 EXPECT_EQ(0x4321U, key2.GetCharacter()); 124 EXPECT_EQ(0x4321U, key2.GetCharacter());
125 EXPECT_EQ(0x1234U, key2.GetUnmodifiedCharacter()); 125 EXPECT_EQ(0x1234U, key2.GetUnmodifiedCharacter());
126 } 126 }
127 127
128 } // namespace views 128 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/events/event_gtk.cc ('k') | ui/views/events/event_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698