| OLD | NEW |
| 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" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "content/common/view_messages.h" | 23 #include "content/common/view_messages.h" |
| 24 #include "content/public/browser/notification_service.h" | 24 #include "content/public/browser/notification_service.h" |
| 25 #include "content/public/browser/notification_types.h" | 25 #include "content/public/browser/notification_types.h" |
| 26 #include "content/public/browser/render_frame_host.h" | 26 #include "content/public/browser/render_frame_host.h" |
| 27 #include "content/public/browser/render_widget_host_view.h" | 27 #include "content/public/browser/render_widget_host_view.h" |
| 28 #include "content/public/browser/web_contents_observer.h" | 28 #include "content/public/browser/web_contents_observer.h" |
| 29 #include "content/public/common/content_switches.h" | 29 #include "content/public/common/content_switches.h" |
| 30 #include "content/public/common/drop_data.h" | 30 #include "content/public/common/drop_data.h" |
| 31 #include "content/public/common/url_constants.h" | 31 #include "content/public/common/url_constants.h" |
| 32 #include "content/public/test/browser_test_utils.h" | 32 #include "content/public/test/browser_test_utils.h" |
| 33 #include "content/public/test/content_browser_test.h" |
| 34 #include "content/public/test/content_browser_test_utils.h" |
| 33 #include "content/public/test/test_utils.h" | 35 #include "content/public/test/test_utils.h" |
| 34 #include "content/shell/browser/shell.h" | 36 #include "content/shell/browser/shell.h" |
| 35 #include "content/test/content_browser_test.h" | |
| 36 #include "content/test/content_browser_test_utils.h" | |
| 37 #include "net/base/net_util.h" | 37 #include "net/base/net_util.h" |
| 38 #include "net/test/embedded_test_server/embedded_test_server.h" | 38 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 39 #include "net/test/embedded_test_server/http_request.h" | 39 #include "net/test/embedded_test_server/http_request.h" |
| 40 #include "net/test/embedded_test_server/http_response.h" | 40 #include "net/test/embedded_test_server/http_response.h" |
| 41 #include "net/test/spawned_test_server/spawned_test_server.h" | 41 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 42 #include "third_party/WebKit/public/web/WebInputEvent.h" | 42 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 43 | 43 |
| 44 using base::ASCIIToUTF16; | 44 using base::ASCIIToUTF16; |
| 45 using blink::WebInputEvent; | 45 using blink::WebInputEvent; |
| 46 using blink::WebMouseEvent; | 46 using blink::WebMouseEvent; |
| (...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1057 scoped_ptr<base::Value> value = | 1057 scoped_ptr<base::Value> value = |
| 1058 content::ExecuteScriptAndGetValue( | 1058 content::ExecuteScriptAndGetValue( |
| 1059 guest_rfh, "document.getElementById('input1').value"); | 1059 guest_rfh, "document.getElementById('input1').value"); |
| 1060 std::string actual_value; | 1060 std::string actual_value; |
| 1061 ASSERT_TRUE(value->GetAsString(&actual_value)); | 1061 ASSERT_TRUE(value->GetAsString(&actual_value)); |
| 1062 EXPECT_EQ(base::UTF16ToUTF8(expected_value), actual_value); | 1062 EXPECT_EQ(base::UTF16ToUTF8(expected_value), actual_value); |
| 1063 } | 1063 } |
| 1064 } | 1064 } |
| 1065 | 1065 |
| 1066 } // namespace content | 1066 } // namespace content |
| OLD | NEW |