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

Side by Side Diff: ui/aura/root_window_unittest.cc

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/aura/shared/compound_event_filter.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) 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 "ui/aura/root_window.h" 5 #include "ui/aura/root_window.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/aura/client/event_client.h" 10 #include "ui/aura/client/event_client.h"
11 #include "ui/aura/env.h" 11 #include "ui/aura/env.h"
12 #include "ui/aura/event_filter.h" 12 #include "ui/aura/event_filter.h"
13 #include "ui/aura/focus_manager.h" 13 #include "ui/aura/focus_manager.h"
14 #include "ui/aura/test/aura_test_base.h" 14 #include "ui/aura/test/aura_test_base.h"
15 #include "ui/aura/test/event_generator.h" 15 #include "ui/aura/test/event_generator.h"
16 #include "ui/aura/test/test_window_delegate.h" 16 #include "ui/aura/test/test_window_delegate.h"
17 #include "ui/aura/test/test_windows.h" 17 #include "ui/aura/test/test_windows.h"
18 #include "ui/aura/window_tracker.h" 18 #include "ui/aura/window_tracker.h"
19 #include "ui/base/event.h" 19 #include "ui/base/events/event.h"
20 #include "ui/base/gestures/gesture_configuration.h" 20 #include "ui/base/gestures/gesture_configuration.h"
21 #include "ui/base/hit_test.h" 21 #include "ui/base/hit_test.h"
22 #include "ui/base/keycodes/keyboard_codes.h" 22 #include "ui/base/keycodes/keyboard_codes.h"
23 #include "ui/gfx/point.h" 23 #include "ui/gfx/point.h"
24 #include "ui/gfx/rect.h" 24 #include "ui/gfx/rect.h"
25 #include "ui/gfx/screen.h" 25 #include "ui/gfx/screen.h"
26 26
27 #if defined(OS_WIN) 27 #if defined(OS_WIN)
28 // Windows headers define macros for these function names which screw with us. 28 // Windows headers define macros for these function names which screw with us.
29 #if defined(CreateWindow) 29 #if defined(CreateWindow)
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 // handle steps from applying. 735 // handle steps from applying.
736 w11 = CreateWindow(11, w1.get(), d11); 736 w11 = CreateWindow(11, w1.get(), d11);
737 w1_filter->Reset(true); 737 w1_filter->Reset(true);
738 d11->Reset(w11, false); 738 d11->Reset(w11, false);
739 generator.PressLeftButton(); 739 generator.PressLeftButton();
740 EXPECT_FALSE(tracker.Contains(w11)); 740 EXPECT_FALSE(tracker.Contains(w11));
741 EXPECT_FALSE(d11->got_event()); 741 EXPECT_FALSE(d11->got_event());
742 } 742 }
743 743
744 } // namespace aura 744 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/aura/shared/compound_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698