| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |