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

Side by Side Diff: ui/views/widget/widget_interactive_uitest.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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/views/widget/tooltip_manager_aura.cc ('k') | ui/views/widget/widget_unittest.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 #include "ui/views/test/widget_test.h" 9 #include "ui/views/test/widget_test.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 #include "ui/views/window/dialog_delegate.h" 11 #include "ui/views/window/dialog_delegate.h"
12 12
13 #if defined(USE_AURA) 13 #if defined(USE_AURA)
14 #include "ui/aura/client/activation_client.h" 14 #include "ui/aura/client/activation_client.h"
15 #include "ui/aura/client/focus_client.h" 15 #include "ui/aura/client/focus_client.h"
16 #include "ui/aura/env.h" 16 #include "ui/aura/env.h"
17 #include "ui/aura/root_window.h"
18 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
18 #include "ui/aura/window_event_dispatcher.h"
19 #endif 19 #endif
20 20
21 #if defined(USE_AURA) && !defined(OS_CHROMEOS) 21 #if defined(USE_AURA) && !defined(OS_CHROMEOS)
22 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" 22 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
23 #endif 23 #endif
24 24
25 #if defined(OS_WIN) 25 #if defined(OS_WIN)
26 #include "ui/views/win/hwnd_util.h" 26 #include "ui/views/win/hwnd_util.h"
27 #endif 27 #endif
28 28
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 ui::EventDispatchDetails details = widget1.GetNativeWindow()-> 780 ui::EventDispatchDetails details = widget1.GetNativeWindow()->
781 GetDispatcher()->OnEventFromSource(&mouse_event); 781 GetDispatcher()->OnEventFromSource(&mouse_event);
782 ASSERT_FALSE(details.dispatcher_destroyed); 782 ASSERT_FALSE(details.dispatcher_destroyed);
783 EXPECT_TRUE(widget1.GetAndClearGotMouseEvent()); 783 EXPECT_TRUE(widget1.GetAndClearGotMouseEvent());
784 EXPECT_FALSE(widget2.GetAndClearGotMouseEvent()); 784 EXPECT_FALSE(widget2.GetAndClearGotMouseEvent());
785 } 785 }
786 #endif 786 #endif
787 787
788 } // namespace test 788 } // namespace test
789 } // namespace views 789 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/tooltip_manager_aura.cc ('k') | ui/views/widget/widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698