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

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

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
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 "chrome/browser/extensions/extension_function_dispatcher.h" 7 #include "chrome/browser/extensions/extension_function_dispatcher.h"
8 #include "chrome/common/extensions/extension.h"
9 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
10 #include "chrome/renderer/extensions/chrome_v8_context_set.h" 9 #include "chrome/renderer/extensions/chrome_v8_context_set.h"
11 #include "chrome/renderer/extensions/chrome_v8_extension.h" 10 #include "chrome/renderer/extensions/chrome_v8_extension.h"
12 #include "chrome/renderer/extensions/dispatcher.h" 11 #include "chrome/renderer/extensions/dispatcher.h"
13 #include "chrome/renderer/extensions/event_bindings.h" 12 #include "chrome/renderer/extensions/event_bindings.h"
14 #include "chrome/renderer/spellchecker/spellcheck.h" 13 #include "chrome/renderer/spellchecker/spellcheck.h"
15 #include "components/autofill/content/renderer/autofill_agent.h" 14 #include "components/autofill/content/renderer/autofill_agent.h"
16 #include "components/autofill/content/renderer/password_autofill_agent.h" 15 #include "components/autofill/content/renderer/password_autofill_agent.h"
17 #include "components/autofill/content/renderer/test_password_autofill_agent.h" 16 #include "components/autofill/content/renderer/test_password_autofill_agent.h"
18 #include "content/public/browser/native_web_keyboard_event.h" 17 #include "content/public/browser/native_web_keyboard_event.h"
19 #include "content/public/common/renderer_preferences.h" 18 #include "content/public/common/renderer_preferences.h"
20 #include "content/public/renderer/render_view.h" 19 #include "content/public/renderer/render_view.h"
20 #include "extensions/common/extension.h"
21 #include "grit/renderer_resources.h" 21 #include "grit/renderer_resources.h"
22 #include "third_party/WebKit/public/platform/WebURLRequest.h"
22 #include "third_party/WebKit/public/web/WebFrame.h" 23 #include "third_party/WebKit/public/web/WebFrame.h"
23 #include "third_party/WebKit/public/web/WebInputEvent.h" 24 #include "third_party/WebKit/public/web/WebInputEvent.h"
24 #include "third_party/WebKit/public/web/WebKit.h" 25 #include "third_party/WebKit/public/web/WebKit.h"
25 #include "third_party/WebKit/public/web/WebScriptController.h" 26 #include "third_party/WebKit/public/web/WebScriptController.h"
26 #include "third_party/WebKit/public/web/WebScriptSource.h" 27 #include "third_party/WebKit/public/web/WebScriptSource.h"
27 #include "third_party/WebKit/public/web/WebView.h" 28 #include "third_party/WebKit/public/web/WebView.h"
28 #include "third_party/WebKit/public/platform/WebURLRequest.h"
29 29
30 #if defined(OS_LINUX) && !defined(USE_AURA) 30 #if defined(OS_LINUX) && !defined(USE_AURA)
31 #include "ui/base/gtk/event_synthesis_gtk.h" 31 #include "ui/base/gtk/event_synthesis_gtk.h"
32 #endif 32 #endif
33 33
34 using blink::WebFrame; 34 using blink::WebFrame;
35 using blink::WebInputEvent; 35 using blink::WebInputEvent;
36 using blink::WebMouseEvent; 36 using blink::WebMouseEvent;
37 using blink::WebScriptController; 37 using blink::WebScriptController;
38 using blink::WebScriptSource; 38 using blink::WebScriptSource;
(...skipping 27 matching lines...) Expand all
66 password_autofill_ = new autofill::TestPasswordAutofillAgent(view_); 66 password_autofill_ = new autofill::TestPasswordAutofillAgent(view_);
67 autofill_agent_ = new AutofillAgent(view_, password_autofill_); 67 autofill_agent_ = new AutofillAgent(view_, password_autofill_);
68 } 68 }
69 69
70 void ChromeRenderViewTest::TearDown() { 70 void ChromeRenderViewTest::TearDown() {
71 extension_dispatcher_->OnRenderProcessShutdown(); 71 extension_dispatcher_->OnRenderProcessShutdown();
72 extension_dispatcher_ = NULL; 72 extension_dispatcher_ = NULL;
73 73
74 content::RenderViewTest::TearDown(); 74 content::RenderViewTest::TearDown();
75 } 75 }
OLDNEW
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | chrome/test/perf/perf_ui_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698