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

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

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 (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 "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/string_util.h" 8 #include "base/string_util.h"
9 #include "base/strings/string_split.h" 9 #include "base/strings/string_split.h"
10 #include "base/strings/utf_string_conversions.h"
10 #include "base/test/test_timeouts.h" 11 #include "base/test/test_timeouts.h"
11 #include "base/utf_string_conversions.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/test/browser_test_utils.h" 26 #include "content/public/test/browser_test_utils.h"
27 #include "content/public/test/test_utils.h" 27 #include "content/public/test/test_utils.h"
28 #include "content/shell/shell.h" 28 #include "content/shell/shell.h"
29 #include "content/test/content_browser_test.h" 29 #include "content/test/content_browser_test.h"
30 #include "content/test/content_browser_test_utils.h" 30 #include "content/test/content_browser_test_utils.h"
31 #include "net/base/net_util.h" 31 #include "net/base/net_util.h"
32 #include "net/test/embedded_test_server/embedded_test_server.h" 32 #include "net/test/embedded_test_server/embedded_test_server.h"
33 #include "net/test/embedded_test_server/http_request.h"
33 #include "net/test/embedded_test_server/http_response.h" 34 #include "net/test/embedded_test_server/http_response.h"
34 #include "net/test/embedded_test_server/http_request.h"
35 #include "net/test/spawned_test_server/spawned_test_server.h" 35 #include "net/test/spawned_test_server/spawned_test_server.h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
37 #include "webkit/common/webdropdata.h" 37 #include "webkit/common/webdropdata.h"
38 38
39 using WebKit::WebInputEvent; 39 using WebKit::WebInputEvent;
40 using WebKit::WebMouseEvent; 40 using WebKit::WebMouseEvent;
41 using content::BrowserPluginEmbedder; 41 using content::BrowserPluginEmbedder;
42 using content::BrowserPluginGuest; 42 using content::BrowserPluginGuest;
43 using content::BrowserPluginHostFactory; 43 using content::BrowserPluginHostFactory;
44 using content::WebContentsImpl; 44 using content::WebContentsImpl;
(...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 const string16 expected_title = ASCIIToUTF16("AutoSize(640, 480)"); 1458 const string16 expected_title = ASCIIToUTF16("AutoSize(640, 480)");
1459 content::TitleWatcher title_watcher(test_embedder()->web_contents(), 1459 content::TitleWatcher title_watcher(test_embedder()->web_contents(),
1460 expected_title); 1460 expected_title);
1461 RemoveAttributes(rvh, "maxwidth"); 1461 RemoveAttributes(rvh, "maxwidth");
1462 string16 actual_title = title_watcher.WaitAndGetTitle(); 1462 string16 actual_title = title_watcher.WaitAndGetTitle();
1463 EXPECT_EQ(expected_title, actual_title); 1463 EXPECT_EQ(expected_title, actual_title);
1464 } 1464 }
1465 } 1465 }
1466 1466
1467 } // namespace content 1467 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/database_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698