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

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

Issue 11830028: Update some #includes in chrome/renderer/autofill/ for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 11 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
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 "base/time.h" 5 #include "base/time.h"
6 #include "chrome/common/autofill_messages.h" 6 #include "chrome/common/autofill_messages.h"
7 #include "chrome/common/form_data.h" 7 #include "chrome/common/form_data.h"
8 #include "chrome/test/base/chrome_render_view_test.h" 8 #include "chrome/test/base/chrome_render_view_test.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError. h"
14 #include "webkit/glue/web_io_operators.h" 14 #include "webkit/glue/web_io_operators.h"
15 15
16 using WebKit::WebFrame; 16 using WebKit::WebFrame;
17 using WebKit::WebString; 17 using WebKit::WebString;
18 using WebKit::WebURLError; 18 using WebKit::WebURLError;
19 19
20 typedef ChromeRenderViewTest FormAutocompleteTest; 20 typedef ChromeRenderViewTest FormAutocompleteTest;
21 21
22 // Tests that submitting a form generates a FormSubmitted message 22 // Tests that submitting a form generates a FormSubmitted message
23 // with the form fields. 23 // with the form fields.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 EXPECT_FALSE(form.autoComplete()); 113 EXPECT_FALSE(form.autoComplete());
114 114
115 // Submit the form. 115 // Submit the form.
116 ExecuteJavaScript("document.getElementById('myForm').submit();"); 116 ExecuteJavaScript("document.getElementById('myForm').submit();");
117 ProcessPendingMessages(); 117 ProcessPendingMessages();
118 118
119 // No FormSubmitted message should have been sent. 119 // No FormSubmitted message should have been sent.
120 EXPECT_FALSE(render_thread_->sink().GetFirstMessageMatching( 120 EXPECT_FALSE(render_thread_->sink().GetFirstMessageMatching(
121 AutofillHostMsg_FormSubmitted::ID)); 121 AutofillHostMsg_FormSubmitted::ID));
122 } 122 }
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/autofill_renderer_browsertest.cc ('k') | chrome/renderer/autofill/form_autofill_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698