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

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

Issue 23503086: Move DropTargetEvent back to ui/base for the time being as it depends on OSExchangeData which I don… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows bustage Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/events/event.cc ('k') | ui/ui.gyp » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/memory/scoped_ptr.h"
5 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
6 #include "ui/events/event.h" 7 #include "ui/events/event.h"
7 8
8 #if defined(USE_X11) 9 #if defined(USE_X11)
9 #include <X11/Xlib.h> 10 #include <X11/Xlib.h>
10 #include "ui/base/x/x11_util.h" 11 #include "ui/base/x/x11_util.h"
11 #endif 12 #endif
12 13
13 namespace ui { 14 namespace ui {
14 15
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 } 285 }
285 { 286 {
286 KeyEvent keyev(ET_KEY_RELEASED, VKEY_MENU, EF_ALT_DOWN, false); 287 KeyEvent keyev(ET_KEY_RELEASED, VKEY_MENU, EF_ALT_DOWN, false);
287 EXPECT_EQ(EF_ALT_DOWN, keyev.flags()); 288 EXPECT_EQ(EF_ALT_DOWN, keyev.flags());
288 keyev.NormalizeFlags(); 289 keyev.NormalizeFlags();
289 EXPECT_EQ(EF_NONE, keyev.flags()); 290 EXPECT_EQ(EF_NONE, keyev.flags());
290 } 291 }
291 } 292 }
292 293
293 } // namespace ui 294 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/event.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698