| 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 "base/debug/leak_annotations.h" | 7 #include "base/debug/leak_annotations.h" |
| 8 #include "chrome/browser/chrome_content_browser_client.h" | 8 #include "chrome/browser/chrome_content_browser_client.h" |
| 9 #include "chrome/common/chrome_content_client.h" | 9 #include "chrome/common/chrome_content_client.h" |
| 10 #include "chrome/common/render_messages.h" | 10 #include "chrome/common/render_messages.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "extensions/common/extension.h" | 26 #include "extensions/common/extension.h" |
| 27 #include "grit/renderer_resources.h" | 27 #include "grit/renderer_resources.h" |
| 28 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 28 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 29 #include "third_party/WebKit/public/web/WebFrame.h" | 29 #include "third_party/WebKit/public/web/WebFrame.h" |
| 30 #include "third_party/WebKit/public/web/WebInputEvent.h" | 30 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 31 #include "third_party/WebKit/public/web/WebKit.h" | 31 #include "third_party/WebKit/public/web/WebKit.h" |
| 32 #include "third_party/WebKit/public/web/WebScriptController.h" | 32 #include "third_party/WebKit/public/web/WebScriptController.h" |
| 33 #include "third_party/WebKit/public/web/WebScriptSource.h" | 33 #include "third_party/WebKit/public/web/WebScriptSource.h" |
| 34 #include "third_party/WebKit/public/web/WebView.h" | 34 #include "third_party/WebKit/public/web/WebView.h" |
| 35 | 35 |
| 36 #if defined(OS_LINUX) && !defined(USE_AURA) | |
| 37 #include "ui/base/gtk/event_synthesis_gtk.h" | |
| 38 #endif | |
| 39 | |
| 40 using blink::WebFrame; | 36 using blink::WebFrame; |
| 41 using blink::WebInputEvent; | 37 using blink::WebInputEvent; |
| 42 using blink::WebMouseEvent; | 38 using blink::WebMouseEvent; |
| 43 using blink::WebScriptController; | 39 using blink::WebScriptController; |
| 44 using blink::WebScriptSource; | 40 using blink::WebScriptSource; |
| 45 using blink::WebString; | 41 using blink::WebString; |
| 46 using blink::WebURLRequest; | 42 using blink::WebURLRequest; |
| 47 using autofill::AutofillAgent; | 43 using autofill::AutofillAgent; |
| 48 using autofill::PasswordAutofillAgent; | 44 using autofill::PasswordAutofillAgent; |
| 49 using autofill::PasswordGenerationAgent; | 45 using autofill::PasswordGenerationAgent; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 93 |
| 98 content::ContentRendererClient* | 94 content::ContentRendererClient* |
| 99 ChromeRenderViewTest::CreateContentRendererClient() { | 95 ChromeRenderViewTest::CreateContentRendererClient() { |
| 100 ChromeContentRendererClient* client = new ChromeContentRendererClient(); | 96 ChromeContentRendererClient* client = new ChromeContentRendererClient(); |
| 101 client->SetExtensionDispatcher(extension_dispatcher_); | 97 client->SetExtensionDispatcher(extension_dispatcher_); |
| 102 #if defined(ENABLE_SPELLCHECK) | 98 #if defined(ENABLE_SPELLCHECK) |
| 103 client->SetSpellcheck(new SpellCheck()); | 99 client->SetSpellcheck(new SpellCheck()); |
| 104 #endif | 100 #endif |
| 105 return client; | 101 return client; |
| 106 } | 102 } |
| OLD | NEW |