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

Side by Side Diff: chrome/renderer/autofill/form_autocomplete_browsertest.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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
OLDNEW
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/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/test/base/chrome_render_view_test.h" 10 #include "chrome/test/base/chrome_render_view_test.h"
11 #include "components/autofill/content/renderer/autofill_agent.h" 11 #include "components/autofill/content/renderer/autofill_agent.h"
12 #include "components/autofill/core/common/form_data.h" 12 #include "components/autofill/core/common/form_data.h"
13 #include "content/public/renderer/render_frame.h" 13 #include "content/public/renderer/render_frame.h"
14 #include "content/public/renderer/render_view.h" 14 #include "content/public/renderer/render_view.h"
15 #include "mojo/public/cpp/bindings/binding_set.h" 15 #include "mojo/public/cpp/bindings/binding_set.h"
16 #include "services/shell/public/cpp/interface_provider.h" 16 #include "services/service_manager/public/cpp/interface_provider.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "third_party/WebKit/public/web/WebDocument.h" 18 #include "third_party/WebKit/public/web/WebDocument.h"
19 #include "third_party/WebKit/public/web/WebElement.h" 19 #include "third_party/WebKit/public/web/WebElement.h"
20 #include "third_party/WebKit/public/web/WebFormElement.h" 20 #include "third_party/WebKit/public/web/WebFormElement.h"
21 #include "third_party/WebKit/public/web/WebInputElement.h" 21 #include "third_party/WebKit/public/web/WebInputElement.h"
22 #include "third_party/WebKit/public/web/WebLocalFrame.h" 22 #include "third_party/WebKit/public/web/WebLocalFrame.h"
23 23
24 using blink::WebDocument; 24 using blink::WebDocument;
25 using blink::WebElement; 25 using blink::WebElement;
26 using blink::WebInputElement; 26 using blink::WebInputElement;
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 649
650 // Submit the form. 650 // Submit the form.
651 ExecuteJavaScriptForTests("document.getElementById('myForm').submit();"); 651 ExecuteJavaScriptForTests("document.getElementById('myForm').submit();");
652 ProcessPendingMessages(); 652 ProcessPendingMessages();
653 653
654 VerifyReceivedRendererMessages(fake_driver_, "Rick", "Deckard", 654 VerifyReceivedRendererMessages(fake_driver_, "Rick", "Deckard",
655 true /* expect_submitted_message */); 655 true /* expect_submitted_message */);
656 } 656 }
657 657
658 } // namespace autofill 658 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698