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

Side by Side Diff: chrome/renderer/render_view_unittest.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 3 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/basictypes.h" 5 #include "base/basictypes.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/keyboard_codes.h" 8 #include "base/keyboard_codes.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/common/content_settings.h" 11 #include "chrome/common/content_settings.h"
12 #include "chrome/common/native_web_keyboard_event.h" 12 #include "chrome/common/native_web_keyboard_event.h"
13 #include "chrome/common/render_messages.h" 13 #include "chrome/common/render_messages.h"
14 #include "chrome/common/render_messages_params.h"
14 #include "chrome/renderer/print_web_view_helper.h" 15 #include "chrome/renderer/print_web_view_helper.h"
15 #include "chrome/test/render_view_test.h" 16 #include "chrome/test/render_view_test.h"
16 #include "gfx/codec/jpeg_codec.h" 17 #include "gfx/codec/jpeg_codec.h"
17 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
18 #include "printing/image.h" 19 #include "printing/image.h"
19 #include "printing/native_metafile.h" 20 #include "printing/native_metafile.h"
20 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h"
22 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h"
23 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 24 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 0); 1082 0);
1082 1083
1083 ProcessPendingMessages(); 1084 ProcessPendingMessages();
1084 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching( 1085 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching(
1085 ViewHostMsg_FillAutoFillFormData::ID); 1086 ViewHostMsg_FillAutoFillFormData::ID);
1086 1087
1087 // No message should be sent in this case. |firstname| is filled directly. 1088 // No message should be sent in this case. |firstname| is filled directly.
1088 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2); 1089 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2);
1089 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David")); 1090 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David"));
1090 } 1091 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698