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

Side by Side Diff: ui/views/corewm/desktop_capture_controller_unittest.cc

Issue 196383014: Remove window/host accessors from WED; IWYU for WTH (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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/keyboard/keyboard_util.cc ('k') | ui/views/corewm/tooltip_aura.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 "ui/wm/core/capture_controller.h" 5 #include "ui/wm/core/capture_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "ui/aura/env.h" 9 #include "ui/aura/env.h"
10 #include "ui/aura/test/event_generator.h" 10 #include "ui/aura/test/event_generator.h"
11 #include "ui/aura/test/test_window_delegate.h" 11 #include "ui/aura/test/test_window_delegate.h"
12 #include "ui/aura/window_event_dispatcher.h" 12 #include "ui/aura/window_event_dispatcher.h"
13 #include "ui/aura/window_tree_host.h"
13 #include "ui/base/resource/resource_bundle.h" 14 #include "ui/base/resource/resource_bundle.h"
14 #include "ui/base/ui_base_paths.h" 15 #include "ui/base/ui_base_paths.h"
15 #include "ui/events/event.h" 16 #include "ui/events/event.h"
16 #include "ui/gl/gl_surface.h" 17 #include "ui/gl/gl_surface.h"
17 #include "ui/views/test/views_test_base.h" 18 #include "ui/views/test/views_test_base.h"
18 #include "ui/views/view.h" 19 #include "ui/views/view.h"
19 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" 20 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
20 #include "ui/views/widget/desktop_aura/desktop_screen_position_client.h" 21 #include "ui/views/widget/desktop_aura/desktop_screen_position_client.h"
21 #include "ui/views/widget/root_view.h" 22 #include "ui/views/widget/root_view.h"
22 #include "ui/views/widget/widget.h" 23 #include "ui/views/widget/widget.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 192
192 EXPECT_TRUE(v2->received_gesture_event()); 193 EXPECT_TRUE(v2->received_gesture_event());
193 EXPECT_FALSE(v1->received_gesture_event()); 194 EXPECT_FALSE(v1->received_gesture_event());
194 195
195 widget1->CloseNow(); 196 widget1->CloseNow();
196 widget2->CloseNow(); 197 widget2->CloseNow();
197 RunPendingMessages(); 198 RunPendingMessages();
198 } 199 }
199 200
200 } // namespace views 201 } // namespace views
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard_util.cc ('k') | ui/views/corewm/tooltip_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698