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 "content/common/view_messages.h" | 7 #include "content/common/view_messages.h" |
8 #include "content/public/browser/native_web_keyboard_event.h" | 8 #include "content/public/browser/native_web_keyboard_event.h" |
9 #include "content/public/common/renderer_preferences.h" | 9 #include "content/public/common/renderer_preferences.h" |
10 #include "content/renderer/render_thread_impl.h" | 10 #include "content/renderer/render_thread_impl.h" |
11 #include "content/renderer/render_view_impl.h" | 11 #include "content/renderer/render_view_impl.h" |
12 #include "content/renderer/renderer_main_platform_delegate.h" | 12 #include "content/renderer/renderer_main_platform_delegate.h" |
13 #include "content/renderer/renderer_webkitplatformsupport_impl.h" | 13 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
14 #include "content/test/mock_render_process.h" | 14 #include "content/test/mock_render_process.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" | |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
24 #include "ui/base/resource/resource_bundle.h" | 24 #include "ui/base/resource/resource_bundle.h" |
25 #include "webkit/dom_storage/dom_storage_types.h" | 25 #include "webkit/dom_storage/dom_storage_types.h" |
26 #include "webkit/glue/glue_serialize.h" | 26 #include "webkit/glue/glue_serialize.h" |
27 #include "webkit/glue/webkit_glue.h" | 27 #include "webkit/glue/webkit_glue.h" |
28 | 28 |
29 using WebKit::WebFrame; | 29 using WebKit::WebFrame; |
30 using WebKit::WebInputEvent; | 30 using WebKit::WebInputEvent; |
31 using WebKit::WebMouseEvent; | 31 using WebKit::WebMouseEvent; |
32 using WebKit::WebScriptController; | 32 using WebKit::WebScriptController; |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 355 |
356 ViewMsg_Navigate navigate_message(impl->GetRoutingID(), navigate_params); | 356 ViewMsg_Navigate navigate_message(impl->GetRoutingID(), navigate_params); |
357 OnMessageReceived(navigate_message); | 357 OnMessageReceived(navigate_message); |
358 | 358 |
359 // The load actually happens asynchronously, so we pump messages to process | 359 // The load actually happens asynchronously, so we pump messages to process |
360 // the pending continuation. | 360 // the pending continuation. |
361 ProcessPendingMessages(); | 361 ProcessPendingMessages(); |
362 } | 362 } |
363 | 363 |
364 } // namespace content | 364 } // namespace content |
OLD | NEW |