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

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

Issue 14691006: Move SpawnedTestServer to its own subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 7 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/test/ppapi/ppapi_test.h ('k') | content/browser/download/download_browsertest.cc » ('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 "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/test/test_timeouts.h" 10 #include "base/test/test_timeouts.h"
(...skipping 10 matching lines...) Expand all
21 #include "content/public/browser/notification_types.h" 21 #include "content/public/browser/notification_types.h"
22 #include "content/public/browser/render_view_host_observer.h" 22 #include "content/public/browser/render_view_host_observer.h"
23 #include "content/public/browser/render_widget_host_view.h" 23 #include "content/public/browser/render_widget_host_view.h"
24 #include "content/public/common/content_switches.h" 24 #include "content/public/common/content_switches.h"
25 #include "content/public/test/browser_test_utils.h" 25 #include "content/public/test/browser_test_utils.h"
26 #include "content/public/test/test_utils.h" 26 #include "content/public/test/test_utils.h"
27 #include "content/shell/shell.h" 27 #include "content/shell/shell.h"
28 #include "content/test/content_browser_test.h" 28 #include "content/test/content_browser_test.h"
29 #include "content/test/content_browser_test_utils.h" 29 #include "content/test/content_browser_test_utils.h"
30 #include "net/base/net_util.h" 30 #include "net/base/net_util.h"
31 #include "net/test/spawned_test_server.h" 31 #include "net/test/spawned_test_server/spawned_test_server.h"
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
33 #include "webkit/glue/webdropdata.h" 33 #include "webkit/glue/webdropdata.h"
34 34
35 using WebKit::WebInputEvent; 35 using WebKit::WebInputEvent;
36 using WebKit::WebMouseEvent; 36 using WebKit::WebMouseEvent;
37 using content::BrowserPluginEmbedder; 37 using content::BrowserPluginEmbedder;
38 using content::BrowserPluginGuest; 38 using content::BrowserPluginGuest;
39 using content::BrowserPluginHostFactory; 39 using content::BrowserPluginHostFactory;
40 using content::WebContentsImpl; 40 using content::WebContentsImpl;
41 41
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 const string16 expected_title = ASCIIToUTF16("AutoSize(640, 480)"); 1402 const string16 expected_title = ASCIIToUTF16("AutoSize(640, 480)");
1403 content::TitleWatcher title_watcher(test_embedder()->web_contents(), 1403 content::TitleWatcher title_watcher(test_embedder()->web_contents(),
1404 expected_title); 1404 expected_title);
1405 RemoveAttributes(rvh, "maxwidth"); 1405 RemoveAttributes(rvh, "maxwidth");
1406 string16 actual_title = title_watcher.WaitAndGetTitle(); 1406 string16 actual_title = title_watcher.WaitAndGetTitle();
1407 EXPECT_EQ(expected_title, actual_title); 1407 EXPECT_EQ(expected_title, actual_title);
1408 } 1408 }
1409 } 1409 }
1410 1410
1411 } // namespace content 1411 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/ppapi/ppapi_test.h ('k') | content/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698