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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win_unittest.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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
6 6
7 #include "ui/aura/root_window.h" 7 #include "ui/aura/window_event_dispatcher.h"
8 #include "ui/views/test/views_test_base.h" 8 #include "ui/views/test/views_test_base.h"
9 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" 9 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 typedef ViewsTestBase DesktopWindowTreeHostWinTest; 14 typedef ViewsTestBase DesktopWindowTreeHostWinTest;
15 15
16 namespace { 16 namespace {
17 17
(...skipping 28 matching lines...) Expand all
46 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; 46 params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
47 DesktopNativeWidgetAura* desktop_native_widget_aura = 47 DesktopNativeWidgetAura* desktop_native_widget_aura =
48 new DesktopNativeWidgetAura(&widget); 48 new DesktopNativeWidgetAura(&widget);
49 params.native_widget = desktop_native_widget_aura; 49 params.native_widget = desktop_native_widget_aura;
50 params.desktop_window_tree_host = new TestDesktopWindowTreeHostWin( 50 params.desktop_window_tree_host = new TestDesktopWindowTreeHostWin(
51 &widget, desktop_native_widget_aura); 51 &widget, desktop_native_widget_aura);
52 widget.Init(params); 52 widget.Init(params);
53 } 53 }
54 54
55 } // namespace views 55 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698