| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <tuple> | 5 #include <tuple> |
| 6 | 6 |
| 7 #include "base/run_loop.h" |
| 7 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 8 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 9 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 10 #include "chrome/test/base/chrome_render_view_test.h" | 11 #include "chrome/test/base/chrome_render_view_test.h" |
| 11 #include "components/autofill/content/renderer/autofill_agent.h" | 12 #include "components/autofill/content/renderer/autofill_agent.h" |
| 12 #include "components/autofill/core/common/form_data.h" | 13 #include "components/autofill/core/common/form_data.h" |
| 13 #include "content/public/renderer/render_frame.h" | 14 #include "content/public/renderer/render_frame.h" |
| 14 #include "content/public/renderer/render_view.h" | 15 #include "content/public/renderer/render_view.h" |
| 15 #include "mojo/public/cpp/bindings/binding_set.h" | 16 #include "mojo/public/cpp/bindings/binding_set.h" |
| 16 #include "services/service_manager/public/cpp/interface_provider.h" | 17 #include "services/service_manager/public/cpp/interface_provider.h" |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 | 648 |
| 648 // Submit the form. | 649 // Submit the form. |
| 649 ExecuteJavaScriptForTests("document.getElementById('myForm').submit();"); | 650 ExecuteJavaScriptForTests("document.getElementById('myForm').submit();"); |
| 650 ProcessPendingMessages(); | 651 ProcessPendingMessages(); |
| 651 | 652 |
| 652 VerifyReceivedRendererMessages(fake_driver_, "Rick", "Deckard", | 653 VerifyReceivedRendererMessages(fake_driver_, "Rick", "Deckard", |
| 653 true /* expect_submitted_message */); | 654 true /* expect_submitted_message */); |
| 654 } | 655 } |
| 655 | 656 |
| 656 } // namespace autofill | 657 } // namespace autofill |
| OLD | NEW |