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 "base/run_loop.h" | 7 #include "base/run_loop.h" |
8 #include "content/common/dom_storage/dom_storage_types.h" | 8 #include "content/common/dom_storage/dom_storage_types.h" |
9 #include "content/common/input_messages.h" | 9 #include "content/common/input_messages.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
11 #include "content/public/browser/native_web_keyboard_event.h" | 11 #include "content/public/browser/native_web_keyboard_event.h" |
12 #include "content/public/common/renderer_preferences.h" | 12 #include "content/public/common/renderer_preferences.h" |
13 #include "content/public/renderer/history_item_serialization.h" | 13 #include "content/public/renderer/history_item_serialization.h" |
14 #include "content/renderer/render_thread_impl.h" | 14 #include "content/renderer/render_thread_impl.h" |
15 #include "content/renderer/render_view_impl.h" | 15 #include "content/renderer/render_view_impl.h" |
16 #include "content/renderer/renderer_main_platform_delegate.h" | 16 #include "content/renderer/renderer_main_platform_delegate.h" |
17 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 17 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
18 #include "content/test/mock_render_process.h" | 18 #include "content/test/mock_render_process.h" |
| 19 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
19 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 20 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
20 #include "third_party/WebKit/public/web/WebFrame.h" | 21 #include "third_party/WebKit/public/web/WebFrame.h" |
21 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 22 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
22 #include "third_party/WebKit/public/web/WebInputEvent.h" | 23 #include "third_party/WebKit/public/web/WebInputEvent.h" |
23 #include "third_party/WebKit/public/web/WebKit.h" | 24 #include "third_party/WebKit/public/web/WebKit.h" |
24 #include "third_party/WebKit/public/web/WebScreenInfo.h" | |
25 #include "third_party/WebKit/public/web/WebScriptController.h" | 25 #include "third_party/WebKit/public/web/WebScriptController.h" |
26 #include "third_party/WebKit/public/web/WebScriptSource.h" | 26 #include "third_party/WebKit/public/web/WebScriptSource.h" |
27 #include "third_party/WebKit/public/web/WebView.h" | 27 #include "third_party/WebKit/public/web/WebView.h" |
28 #include "ui/base/resource/resource_bundle.h" | 28 #include "ui/base/resource/resource_bundle.h" |
29 #include "webkit/glue/webkit_glue.h" | 29 #include "webkit/glue/webkit_glue.h" |
30 | 30 |
31 using blink::WebFrame; | 31 using blink::WebFrame; |
32 using blink::WebInputEvent; | 32 using blink::WebInputEvent; |
33 using blink::WebMouseEvent; | 33 using blink::WebMouseEvent; |
34 using blink::WebScriptController; | 34 using blink::WebScriptController; |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 | 376 |
377 ViewMsg_Navigate navigate_message(impl->GetRoutingID(), navigate_params); | 377 ViewMsg_Navigate navigate_message(impl->GetRoutingID(), navigate_params); |
378 OnMessageReceived(navigate_message); | 378 OnMessageReceived(navigate_message); |
379 | 379 |
380 // The load actually happens asynchronously, so we pump messages to process | 380 // The load actually happens asynchronously, so we pump messages to process |
381 // the pending continuation. | 381 // the pending continuation. |
382 ProcessPendingMessages(); | 382 ProcessPendingMessages(); |
383 } | 383 } |
384 | 384 |
385 } // namespace content | 385 } // namespace content |
OLD | NEW |