OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/test/render_view_test.h" | 5 #include "content/test/render_view_test.h" |
6 | 6 |
7 #include "content/common/dom_storage_common.h" | 7 #include "content/common/dom_storage_common.h" |
8 #include "content/common/view_messages.h" | 8 #include "content/common/view_messages.h" |
9 #include "content/public/browser/native_web_keyboard_event.h" | 9 #include "content/public/browser/native_web_keyboard_event.h" |
10 #include "content/public/common/renderer_preferences.h" | 10 #include "content/public/common/renderer_preferences.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/test/mock_render_process.h" | 13 #include "content/test/mock_render_process.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptController.h
" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
21 #include "webkit/glue/webkit_glue.h" | 21 #include "webkit/glue/webkit_glue.h" |
22 | 22 |
23 #if defined(OS_LINUX) && !defined(USE_AURA) | 23 #if defined(OS_LINUX) && !defined(USE_AURA) |
24 #include "ui/base/gtk/event_synthesis_gtk.h" | 24 #include "ui/base/gtk/event_synthesis_gtk.h" |
25 #endif | 25 #endif |
26 | 26 |
27 using WebKit::WebFrame; | 27 using WebKit::WebFrame; |
28 using WebKit::WebInputEvent; | 28 using WebKit::WebInputEvent; |
29 using WebKit::WebMouseEvent; | 29 using WebKit::WebMouseEvent; |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); | 344 RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
345 impl->set_send_content_state_immediately(true); | 345 impl->set_send_content_state_immediately(true); |
346 } | 346 } |
347 | 347 |
348 WebKit::WebWidget* RenderViewTest::GetWebWidget() { | 348 WebKit::WebWidget* RenderViewTest::GetWebWidget() { |
349 RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); | 349 RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
350 return impl->webwidget(); | 350 return impl->webwidget(); |
351 } | 351 } |
352 | 352 |
353 } // namespace content | 353 } // namespace content |
OLD | NEW |