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

Side by Side Diff: webkit/glue/autofill_form.cc

Issue 11801: Wrap MSVC-specific pragmas. As -Wunknown-pragmas has been disabled for wtf,... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/common/logging_chrome.cc ('k') | webkit/glue/searchable_form_data.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "config.h" 5 #include "config.h"
6 #include "base/compiler_specific.h"
6 7
7 #pragma warning(push, 0) 8 MSVC_PUSH_WARNING_LEVEL(0);
8 #include "Frame.h" 9 #include "Frame.h"
9 #include "HTMLInputElement.h" 10 #include "HTMLInputElement.h"
10 #include "HTMLNames.h" 11 #include "HTMLNames.h"
11 #pragma warning(pop) 12 MSVC_POP_WARNING();
12 13
13 #undef LOG 14 #undef LOG
14 15
15 #include "base/basictypes.h" 16 #include "base/basictypes.h"
16 #include "base/logging.h" 17 #include "base/logging.h"
17 #include "webkit/glue/autofill_form.h" 18 #include "webkit/glue/autofill_form.h"
18 #include "webkit/glue/glue_util.h" 19 #include "webkit/glue/glue_util.h"
19 20
20 AutofillForm* AutofillForm::CreateAutofillForm( 21 AutofillForm* AutofillForm::CreateAutofillForm(
21 WebCore::HTMLFormElement* form) { 22 WebCore::HTMLFormElement* form) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // For each TEXT input field, store the name and value 59 // For each TEXT input field, store the name and value
59 std::wstring name = webkit_glue::StringToStdWString(input_element->name()); 60 std::wstring name = webkit_glue::StringToStdWString(input_element->name());
60 std::wstring value = webkit_glue::StringToStdWString( 61 std::wstring value = webkit_glue::StringToStdWString(
61 input_element->value()); 62 input_element->value());
62 63
63 result->elements.push_back(AutofillForm::Element(name, value)); 64 result->elements.push_back(AutofillForm::Element(name, value));
64 } 65 }
65 66
66 return result; 67 return result;
67 } 68 }
OLDNEW
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | webkit/glue/searchable_form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698