Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: chrome/test/base/chrome_render_view_test.cc

Issue 237723004: Move EventBindings to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/extensions/messaging_bindings.cc ('k') | extensions/common/value_counter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "chrome/renderer/chrome_content_renderer_client.h" 11 #include "chrome/renderer/chrome_content_renderer_client.h"
12 #include "chrome/renderer/extensions/chrome_v8_context_set.h" 12 #include "chrome/renderer/extensions/chrome_v8_context_set.h"
13 #include "chrome/renderer/extensions/chrome_v8_extension.h" 13 #include "chrome/renderer/extensions/chrome_v8_extension.h"
14 #include "chrome/renderer/extensions/dispatcher.h" 14 #include "chrome/renderer/extensions/dispatcher.h"
15 #include "chrome/renderer/extensions/event_bindings.h"
16 #include "chrome/renderer/spellchecker/spellcheck.h" 15 #include "chrome/renderer/spellchecker/spellcheck.h"
17 #include "chrome/test/base/chrome_unit_test_suite.h" 16 #include "chrome/test/base/chrome_unit_test_suite.h"
18 #include "components/autofill/content/renderer/autofill_agent.h" 17 #include "components/autofill/content/renderer/autofill_agent.h"
19 #include "components/autofill/content/renderer/password_autofill_agent.h" 18 #include "components/autofill/content/renderer/password_autofill_agent.h"
20 #include "components/autofill/content/renderer/test_password_autofill_agent.h" 19 #include "components/autofill/content/renderer/test_password_autofill_agent.h"
21 #include "components/autofill/content/renderer/test_password_generation_agent.h" 20 #include "components/autofill/content/renderer/test_password_generation_agent.h"
22 #include "content/public/browser/native_web_keyboard_event.h" 21 #include "content/public/browser/native_web_keyboard_event.h"
23 #include "content/public/common/renderer_preferences.h" 22 #include "content/public/common/renderer_preferences.h"
24 #include "content/public/renderer/render_view.h" 23 #include "content/public/renderer/render_view.h"
25 #include "extensions/browser/extension_function_dispatcher.h" 24 #include "extensions/browser/extension_function_dispatcher.h"
26 #include "extensions/common/extension.h" 25 #include "extensions/common/extension.h"
26 #include "extensions/renderer/event_bindings.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 using blink::WebFrame; 36 using blink::WebFrame;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 content::ContentRendererClient* 94 content::ContentRendererClient*
95 ChromeRenderViewTest::CreateContentRendererClient() { 95 ChromeRenderViewTest::CreateContentRendererClient() {
96 ChromeContentRendererClient* client = new ChromeContentRendererClient(); 96 ChromeContentRendererClient* client = new ChromeContentRendererClient();
97 client->SetExtensionDispatcher(extension_dispatcher_); 97 client->SetExtensionDispatcher(extension_dispatcher_);
98 #if defined(ENABLE_SPELLCHECK) 98 #if defined(ENABLE_SPELLCHECK)
99 client->SetSpellcheck(new SpellCheck()); 99 client->SetSpellcheck(new SpellCheck());
100 #endif 100 #endif
101 return client; 101 return client;
102 } 102 }
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/messaging_bindings.cc ('k') | extensions/common/value_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698