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 "chrome/test/base/chrome_render_view_test.h" | 5 #include "chrome/test/base/chrome_render_view_test.h" |
6 | 6 |
7 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 7 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
8 #include "chrome/common/extensions/extension.h" | 8 #include "chrome/common/extensions/extension.h" |
9 #include "chrome/common/render_messages.h" | 9 #include "chrome/common/render_messages.h" |
10 #include "chrome/renderer/extensions/chrome_v8_context_set.h" | 10 #include "chrome/renderer/extensions/chrome_v8_context_set.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "third_party/WebKit/public/web/WebScriptSource.h" | 27 #include "third_party/WebKit/public/web/WebScriptSource.h" |
28 #include "third_party/WebKit/public/web/WebView.h" | 28 #include "third_party/WebKit/public/web/WebView.h" |
29 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 29 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
30 #include "webkit/glue/webkit_glue.h" | 30 #include "webkit/glue/webkit_glue.h" |
31 | 31 |
32 #if defined(OS_LINUX) && !defined(USE_AURA) | 32 #if defined(OS_LINUX) && !defined(USE_AURA) |
33 #include "ui/base/gtk/event_synthesis_gtk.h" | 33 #include "ui/base/gtk/event_synthesis_gtk.h" |
34 #endif | 34 #endif |
35 | 35 |
36 using extensions::ExtensionCustomBindings; | 36 using extensions::ExtensionCustomBindings; |
37 using WebKit::WebFrame; | 37 using blink::WebFrame; |
38 using WebKit::WebInputEvent; | 38 using blink::WebInputEvent; |
39 using WebKit::WebMouseEvent; | 39 using blink::WebMouseEvent; |
40 using WebKit::WebScriptController; | 40 using blink::WebScriptController; |
41 using WebKit::WebScriptSource; | 41 using blink::WebScriptSource; |
42 using WebKit::WebString; | 42 using blink::WebString; |
43 using WebKit::WebURLRequest; | 43 using blink::WebURLRequest; |
44 using autofill::AutofillAgent; | 44 using autofill::AutofillAgent; |
45 using autofill::PasswordAutofillAgent; | 45 using autofill::PasswordAutofillAgent; |
46 | 46 |
47 ChromeRenderViewTest::ChromeRenderViewTest() : extension_dispatcher_(NULL) { | 47 ChromeRenderViewTest::ChromeRenderViewTest() : extension_dispatcher_(NULL) { |
48 } | 48 } |
49 | 49 |
50 ChromeRenderViewTest::~ChromeRenderViewTest() { | 50 ChromeRenderViewTest::~ChromeRenderViewTest() { |
51 } | 51 } |
52 | 52 |
53 void ChromeRenderViewTest::SetUp() { | 53 void ChromeRenderViewTest::SetUp() { |
(...skipping 15 matching lines...) Expand all Loading... |
69 password_autofill_ = new autofill::TestPasswordAutofillAgent(view_); | 69 password_autofill_ = new autofill::TestPasswordAutofillAgent(view_); |
70 autofill_agent_ = new AutofillAgent(view_, password_autofill_); | 70 autofill_agent_ = new AutofillAgent(view_, password_autofill_); |
71 } | 71 } |
72 | 72 |
73 void ChromeRenderViewTest::TearDown() { | 73 void ChromeRenderViewTest::TearDown() { |
74 extension_dispatcher_->OnRenderProcessShutdown(); | 74 extension_dispatcher_->OnRenderProcessShutdown(); |
75 extension_dispatcher_ = NULL; | 75 extension_dispatcher_ = NULL; |
76 | 76 |
77 content::RenderViewTest::TearDown(); | 77 content::RenderViewTest::TearDown(); |
78 } | 78 } |
OLD | NEW |