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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_host_browsertest.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/memory/singleton.h" 6 #include "base/memory/singleton.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/strings/string_split.h" 8 #include "base/strings/string_split.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/test/test_timeouts.h" 11 #include "base/test/test_timeouts.h"
12 #include "content/browser/browser_plugin/browser_plugin_guest.h" 12 #include "content/browser/browser_plugin/browser_plugin_guest.h"
13 #include "content/browser/browser_plugin/browser_plugin_host_factory.h" 13 #include "content/browser/browser_plugin/browser_plugin_host_factory.h"
14 #include "content/browser/browser_plugin/test_browser_plugin_embedder.h" 14 #include "content/browser/browser_plugin/test_browser_plugin_embedder.h"
15 #include "content/browser/browser_plugin/test_browser_plugin_guest.h" 15 #include "content/browser/browser_plugin/test_browser_plugin_guest.h"
16 #include "content/browser/browser_plugin/test_browser_plugin_guest_manager.h" 16 #include "content/browser/browser_plugin/test_browser_plugin_guest_manager.h"
17 #include "content/browser/child_process_security_policy_impl.h" 17 #include "content/browser/child_process_security_policy_impl.h"
18 #include "content/browser/renderer_host/render_view_host_impl.h" 18 #include "content/browser/renderer_host/render_view_host_impl.h"
19 #include "content/browser/web_contents/web_contents_impl.h" 19 #include "content/browser/web_contents/web_contents_impl.h"
20 #include "content/common/view_messages.h" 20 #include "content/common/view_messages.h"
21 #include "content/public/browser/notification_service.h" 21 #include "content/public/browser/notification_service.h"
22 #include "content/public/browser/notification_types.h" 22 #include "content/public/browser/notification_types.h"
23 #include "content/public/browser/render_view_host_observer.h" 23 #include "content/public/browser/render_view_host_observer.h"
24 #include "content/public/browser/render_widget_host_view.h" 24 #include "content/public/browser/render_widget_host_view.h"
25 #include "content/public/common/content_switches.h" 25 #include "content/public/common/content_switches.h"
26 #include "content/public/common/drop_data.h" 26 #include "content/public/common/drop_data.h"
27 #include "content/public/test/browser_test_utils.h" 27 #include "content/public/test/browser_test_utils.h"
28 #include "content/public/test/test_utils.h" 28 #include "content/public/test/test_utils.h"
29 #include "content/shell/shell.h" 29 #include "content/shell/browser/shell.h"
30 #include "content/test/content_browser_test.h" 30 #include "content/test/content_browser_test.h"
31 #include "content/test/content_browser_test_utils.h" 31 #include "content/test/content_browser_test_utils.h"
32 #include "net/base/net_util.h" 32 #include "net/base/net_util.h"
33 #include "net/test/embedded_test_server/embedded_test_server.h" 33 #include "net/test/embedded_test_server/embedded_test_server.h"
34 #include "net/test/embedded_test_server/http_request.h" 34 #include "net/test/embedded_test_server/http_request.h"
35 #include "net/test/embedded_test_server/http_response.h" 35 #include "net/test/embedded_test_server/http_response.h"
36 #include "net/test/spawned_test_server/spawned_test_server.h" 36 #include "net/test/spawned_test_server/spawned_test_server.h"
37 #include "third_party/WebKit/public/web/WebInputEvent.h" 37 #include "third_party/WebKit/public/web/WebInputEvent.h"
38 38
39 using WebKit::WebInputEvent; 39 using WebKit::WebInputEvent;
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 // in the guest. 805 // in the guest.
806 IN_PROC_BROWSER_TEST_F(BrowserPluginHostTest, VerifyInputMethodActive) { 806 IN_PROC_BROWSER_TEST_F(BrowserPluginHostTest, VerifyInputMethodActive) {
807 const char* kEmbedderURL = "/browser_plugin_embedder.html"; 807 const char* kEmbedderURL = "/browser_plugin_embedder.html";
808 StartBrowserPluginTest(kEmbedderURL, kHTMLForGuest, true, std::string()); 808 StartBrowserPluginTest(kEmbedderURL, kHTMLForGuest, true, std::string());
809 RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>( 809 RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>(
810 test_guest()->web_contents()->GetRenderViewHost()); 810 test_guest()->web_contents()->GetRenderViewHost());
811 EXPECT_TRUE(rvh->input_method_active()); 811 EXPECT_TRUE(rvh->input_method_active());
812 } 812 }
813 813
814 } // namespace content 814 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/bookmarklet_browsertest.cc ('k') | content/browser/child_process_security_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698