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

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

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webkitclient_impl.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 "chrome/common/content_settings.h" 11 #include "chrome/common/content_settings.h"
11 #include "chrome/common/native_web_keyboard_event.h" 12 #include "chrome/common/native_web_keyboard_event.h"
12 #include "chrome/common/render_messages.h" 13 #include "chrome/common/render_messages.h"
13 #include "chrome/renderer/print_web_view_helper.h" 14 #include "chrome/renderer/print_web_view_helper.h"
14 #include "chrome/test/render_view_test.h" 15 #include "chrome/test/render_view_test.h"
15 #include "gfx/codec/jpeg_codec.h" 16 #include "gfx/codec/jpeg_codec.h"
16 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
17 #include "printing/image.h" 18 #include "printing/image.h"
18 #include "printing/native_metafile.h" 19 #include "printing/native_metafile.h"
19 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 0); 1080 0);
1080 1081
1081 ProcessPendingMessages(); 1082 ProcessPendingMessages();
1082 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching( 1083 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching(
1083 ViewHostMsg_FillAutoFillFormData::ID); 1084 ViewHostMsg_FillAutoFillFormData::ID);
1084 1085
1085 // No message should be sent in this case. |firstname| is filled directly. 1086 // No message should be sent in this case. |firstname| is filled directly.
1086 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2); 1087 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2);
1087 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David")); 1088 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David"));
1088 } 1089 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698