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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura_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 (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 "content/browser/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
(...skipping 14 matching lines...) Expand all
25 #include "content/public/test/mock_render_process_host.h" 25 #include "content/public/test/mock_render_process_host.h"
26 #include "content/public/test/test_browser_context.h" 26 #include "content/public/test/test_browser_context.h"
27 #include "ipc/ipc_test_sink.h" 27 #include "ipc/ipc_test_sink.h"
28 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 #include "ui/aura/client/aura_constants.h" 30 #include "ui/aura/client/aura_constants.h"
31 #include "ui/aura/client/screen_position_client.h" 31 #include "ui/aura/client/screen_position_client.h"
32 #include "ui/aura/client/window_tree_client.h" 32 #include "ui/aura/client/window_tree_client.h"
33 #include "ui/aura/env.h" 33 #include "ui/aura/env.h"
34 #include "ui/aura/layout_manager.h" 34 #include "ui/aura/layout_manager.h"
35 #include "ui/aura/root_window.h"
36 #include "ui/aura/test/aura_test_helper.h" 35 #include "ui/aura/test/aura_test_helper.h"
37 #include "ui/aura/test/event_generator.h" 36 #include "ui/aura/test/event_generator.h"
38 #include "ui/aura/test/test_cursor_client.h" 37 #include "ui/aura/test/test_cursor_client.h"
39 #include "ui/aura/test/test_screen.h" 38 #include "ui/aura/test/test_screen.h"
40 #include "ui/aura/test/test_window_delegate.h" 39 #include "ui/aura/test/test_window_delegate.h"
41 #include "ui/aura/window.h" 40 #include "ui/aura/window.h"
41 #include "ui/aura/window_event_dispatcher.h"
42 #include "ui/aura/window_observer.h" 42 #include "ui/aura/window_observer.h"
43 #include "ui/base/ui_base_types.h" 43 #include "ui/base/ui_base_types.h"
44 #include "ui/compositor/compositor.h" 44 #include "ui/compositor/compositor.h"
45 #include "ui/compositor/test/draw_waiter_for_test.h" 45 #include "ui/compositor/test/draw_waiter_for_test.h"
46 #include "ui/compositor/test/test_context_factory.h" 46 #include "ui/compositor/test/test_context_factory.h"
47 #include "ui/events/event.h" 47 #include "ui/events/event.h"
48 #include "ui/events/event_utils.h" 48 #include "ui/events/event_utils.h"
49 49
50 using testing::_; 50 using testing::_;
51 51
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 1414
1415 // Because the copy request callback may be holding state within it, that 1415 // Because the copy request callback may be holding state within it, that
1416 // state must handle the RWHVA and ImageTransportFactory going away before the 1416 // state must handle the RWHVA and ImageTransportFactory going away before the
1417 // callback is called. This test passes if it does not crash as a result of 1417 // callback is called. This test passes if it does not crash as a result of
1418 // these things being destroyed. 1418 // these things being destroyed.
1419 EXPECT_EQ(2, callback_count_); 1419 EXPECT_EQ(2, callback_count_);
1420 EXPECT_FALSE(result_); 1420 EXPECT_FALSE(result_);
1421 } 1421 }
1422 1422
1423 } // namespace content 1423 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698