OLD | NEW |
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/public/test/render_view_test.h" | 5 #include "content/public/test/render_view_test.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <cctype> | 9 #include <cctype> |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "content/renderer/render_thread_impl.h" | 34 #include "content/renderer/render_thread_impl.h" |
35 #include "content/renderer/render_view_impl.h" | 35 #include "content/renderer/render_view_impl.h" |
36 #include "content/renderer/renderer_blink_platform_impl.h" | 36 #include "content/renderer/renderer_blink_platform_impl.h" |
37 #include "content/renderer/renderer_main_platform_delegate.h" | 37 #include "content/renderer/renderer_main_platform_delegate.h" |
38 #include "content/test/fake_compositor_dependencies.h" | 38 #include "content/test/fake_compositor_dependencies.h" |
39 #include "content/test/mock_render_process.h" | 39 #include "content/test/mock_render_process.h" |
40 #include "content/test/test_content_client.h" | 40 #include "content/test/test_content_client.h" |
41 #include "content/test/test_render_frame.h" | 41 #include "content/test/test_render_frame.h" |
42 #include "third_party/WebKit/public/platform/WebGestureEvent.h" | 42 #include "third_party/WebKit/public/platform/WebGestureEvent.h" |
43 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 43 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 44 #include "third_party/WebKit/public/platform/WebMouseEvent.h" |
44 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 45 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
45 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 46 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
46 #include "third_party/WebKit/public/web/WebDocument.h" | 47 #include "third_party/WebKit/public/web/WebDocument.h" |
47 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 48 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
48 #include "third_party/WebKit/public/web/WebInputElement.h" | 49 #include "third_party/WebKit/public/web/WebInputElement.h" |
49 #include "third_party/WebKit/public/web/WebKit.h" | 50 #include "third_party/WebKit/public/web/WebKit.h" |
50 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 51 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
51 #include "third_party/WebKit/public/web/WebScriptSource.h" | 52 #include "third_party/WebKit/public/web/WebScriptSource.h" |
52 #include "third_party/WebKit/public/web/WebView.h" | 53 #include "third_party/WebKit/public/web/WebView.h" |
53 #include "ui/base/resource/resource_bundle.h" | 54 #include "ui/base/resource/resource_bundle.h" |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 static_cast<TestRenderFrame*>(impl->GetMainRenderFrame()); | 671 static_cast<TestRenderFrame*>(impl->GetMainRenderFrame()); |
671 frame->Navigate(common_params, StartNavigationParams(), request_params); | 672 frame->Navigate(common_params, StartNavigationParams(), request_params); |
672 | 673 |
673 // The load actually happens asynchronously, so we pump messages to process | 674 // The load actually happens asynchronously, so we pump messages to process |
674 // the pending continuation. | 675 // the pending continuation. |
675 FrameLoadWaiter(frame).Wait(); | 676 FrameLoadWaiter(frame).Wait(); |
676 view_->GetWebView()->updateAllLifecyclePhases(); | 677 view_->GetWebView()->updateAllLifecyclePhases(); |
677 } | 678 } |
678 | 679 |
679 } // namespace content | 680 } // namespace content |
OLD | NEW |